Pathoschild added a comment.

@jayvdb This patch addressed an issue which affects crosswiki bots like 
Synchbot <https://meta.wikimedia.org/wiki/Synchbot>. Since the family files 
aren't always up to date, the bot would sometimes add user pages to the main 
namespace (because pywikibot replaced "User:" with an outdated namespace 
translation not recognised by MediaWiki). This didn't happen often, but it was 
difficult to notice because the bot edits so many wikis. The patch let you 
optionally use the canonical namespace which MediaWiki automatically 
translates, eliminating the possibility of outdated translations.

I previously used pywikibot for Synchbot 
<https://meta.wikimedia.org/wiki/Synchbot>, but I needed to maintain a custom 
version adapted for crosswiki work (to update outdated family files, fix this 
namespace issue, suppress is-sysop checks, and a few other changes). I also ran 
into some significant stability issues when I switched from compat to core 
(though it may have improved since then). Eventually I moved to the low-level 
mwclient <https://github.com/mwclient/mwclient> with some code to fetch wikis 
from the API sitematrix 
<http://meta.wikimedia.org/w/api.php?action=help&modules=sitematrix>, which 
eliminated manual maintenance.


TASK DETAIL
  https://phabricator.wikimedia.org/T57014

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Pathoschild
Cc: Aklapper, Legoktm, He7d3r, Pathoschild, jayvdb, Ricordisamoa, Anshoe, 
pywikipedia-bugs



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to