MarcoAurelio created this task. MarcoAurelio added projects: Pywikibot, Pywikibot-archivebot.py, Regression. Restricted Application added subscribers: pywikibot-bugs-list, Liuxinyu970226, Aklapper.
TASK DESCRIPTION I had my archival template configured like this: = Solicitudes actuales = {{Usuario:MABot/config |archiveheader = {{Archivo}} |minthreadsleft = 0 |minthreadstoarchive = 1 |algo = old(15d) |archive = Wikilibros:Tablón de anuncios a los bibliotecarios/%(year)d }} This setup worked in the past ( ref. <https://es.wikibooks.org/w/index.php?title=Wikilibros:Tabl%C3%B3n_de_anuncios_a_los_bibliotecarios&diff=354304&oldid=353839>) however since an undetermined point in the past (that es.wikibooks page doesn't have much traffic so this was the last revision I could find the bot worked fine) archivebot fails with `ERROR: Missing or malformed template in page [[es:Wikilibros:Tablón de anuncios a los bibliotecarios]]: Couldn't find the template in the header`. This was resolved by removing the header <https://es.wikibooks.org/w/index.php?title=Wikilibros:Tabl%C3%B3n_de_anuncios_a_los_bibliotecarios&diff=364264&oldid=364142>. After that, the bot ran again <https://es.wikibooks.org/w/index.php?title=Wikilibros:Tabl%C3%B3n_de_anuncios_a_los_bibliotecarios&diff=prev&oldid=364266> (although shuffled the template parameters). Perhaps if the template is found under a level 1 heading the bot shouldn't fail, as it happened in the past? TASK DETAIL https://phabricator.wikimedia.org/T219147 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: MarcoAurelio Cc: Aklapper, Liuxinyu970226, pywikibot-bugs-list, MarcoAurelio, MattLongCT, Wenyi, Jayprakash12345, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Wong128hk, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs