jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: pywikibot-core. jayvdb changed Security from none to none.
TASK DESCRIPTION pagegenerators RegexFilter supports three mode of regex matching: 'all', 'any' or 'none' , available when performing filtering based on page title or page content.
'all' - yields page if title/content is matched by all regexes 'any' - yields page if title/content is matched by any regexes 'none' - yields page if title/content is NOT matched by any regexes
However on the command line, -titleregex and -grep arguments are combined using 'any' mode.
It would be very useful to provide command line support for 'none' mode, as this allows pages to be excluded if they match.
That would provide a partial solution to T71286 , as it wouldnt process pages containing placeholders, and could therefore be run in a more autonomous mode.
Another example usage is ... we had a IRC support request recently where someone wanted to use cosmetic changes on all pages in a namespace, except when the page was in a category / transcluded a template. A regex could exclude the pages which shouldnt be touched.
TASK DETAIL https://phabricator.wikimedia.org/T76431
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb Cc: pywikipedia-bugs, jayvdb
jayvdb added a project: Pywikibot-pagegenerators.
TASK DETAIL https://phabricator.wikimedia.org/T76431
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb Cc: pywikipedia-bugs, jayvdb
jayvdb moved this task to New generators on the Pywikibot-pagegenerators workboard.
TASK DETAIL https://phabricator.wikimedia.org/T76431
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb Cc: pywikipedia-bugs, jayvdb
jayvdb moved this task to Ready to go on the pywikibot-core workboard.
TASK DETAIL https://phabricator.wikimedia.org/T76431
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb Cc: pywikipedia-bugs, jayvdb
pywikipedia-bugs@lists.wikimedia.org