matej_suchanek created this task. matej_suchanek added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Article Limpopo <https://cs.wikipedia.org/w/index.php?title=Limpopo&diff=19902922&oldid=19823482&diffmode=source> is apparently an exception to `CosmeticChangesToolkit.standardizePageFooter`'s definition of a category main article. There should be a way to prevent the bot applying cosmetic changes on a page, but still allow editing it. **Proposal:** Reuse {{bots}}/{{nobots}} for this. Where `{{Bots|denyscript=cosmetic_changes}}` would be matched, cosmetic changes would be skipped. **Solution:** After https://gerrit.wikimedia.org/r/c/pywikibot/core/+/697138 is merged, add `module` argument to `BasePage._check_bot_may_edit`. It would default to `pywikibot.calledModuleName()`. Then, cache `self._check_bot_may_edit('cosmetic_changes')` separately. TASK DETAIL https://phabricator.wikimedia.org/T283989 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matej_suchanek Cc: Aklapper, matej_suchanek, pywikibot-bugs-list, Shalomori123, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
