Hi,
I wrote a module which handles Flagged Revisions in huwiki.
https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/huwiki/flaggedrevs.py
It has a function called cosmeticable(page) to tell if a page is eligible
for cosmetic changes according to huwiki rules.

It also has a CosmeticableFilterPageGenerator which yields only
cosmeticable pages. But it may not have a command-line argument as it
is not in the framework.

Now, what is the way to tell Pywikibot that cosmetic changes should be done
only on pages where the function returns True or which are from this
pagegenerator?
I don't want to modify the core system on my device, because it will be
disrupted when refreshing and is not distributable to other users.

In eneral, is there a way to use own _global_ command-line arguments?
-- 
Bináris
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/XXEP5USF2XA5O4WUM2LULZMQZTBWYSHJ/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

Reply via email to