Hello,
For manual running it may work, but for automated running such as MiszaBot... will it work? - At Meta, the archiving system is automated and I'm not the owner of MiszaBot :-)
Regards, M.
----- Mensaje original ----- De: info@gno.de Enviado: 28-10-12 11:44 Para: pywikipedia-l@lists.wikimedia.org Asunto: Re: [Pywikipedia-l] archivebot.py issues
update the bot to release r10622 or higher and try again with option --page="m::Wikimedia Forum" double colon or preleading colon now implies main namespace as exprected and was intended for page titles long time ago Regards xqt ----- Original Nachricht ---- Von: legoktm legoktm.wikipedia@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 28.10.2012 03:10 Betreff: Re: [Pywikipedia-l] archivebot.py issues > If you modify line 293 and remove the "defaultNamespace=3" it should work. > Looks like that was introduced in > pyrev:10149https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10149. > Not sure if it was intentional or not. > -- Legoktm > > > > On Sat, Oct 27, 2012 at 3:19 PM, Marco Aurelio maurelio@gmx.es wrote: > > > Hi, > > > > At Meta-Wiki we've > detected<https://meta.wikimedia.org/w/index.php?title=Meta:Babel&oldid=43415 > 73#MiszaBot_has_stopped_archiving_main_ns_pages>that the bot that used to > archive pages (MiszaBot) has suddenly stopped > > from doing so on main namespace pages. I did tryed with my bot using the > > archivebot.py script on a backlogged page, being [[m:Wikimedia Forum]] > and > > the result is: > > > > *Processing [[meta:Wikimedia Forum]] > > Looking for: {{User:MiszaBot/config}} in [[meta:User talk:Wikimedia > Forum]] > > Error occured while processing page [[meta:Wikimedia Forum]] > > Traceback (most recent call last): > > File "C:\Python\pywikibot\archivebot.py", line 601, in main > > Archiver = PageArchiver(pg, a, salt, force) > > File "C:\Python\pywikibot\archivebot.py", line 376, in __init__ > > self.loadConfig() > > File "C:\Python\pywikibot\archivebot.py", line 418, in loadConfig > > raise MissingConfigError(u'Missing or malformed template') > > MissingConfigError: Missing or malformed template > > > > C:\Python\pywikibot>* > > > > Something seems to have changed in the script's code, that now just looks > > for Talk and User talk: namespaces. > > > > Can the script please be fixed so it works on all namespaces again? - A > > fix would be deeply appreciated. > > > > Best regards, M. > > > > -- > > - Marco Aurelio > > _______________________________________________ > > Pywikipedia-l mailing list > > Pywikipedia-l@lists.wikimedia.org > > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l > > > > > > > -------------------------------- > > _______________________________________________ > Pywikipedia-l mailing list > Pywikipedia-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l > _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-- - Marco Aurelio