XZise added a comment.
My current implementation of https://phabricator.wikimedia.org/T76429 is reading all parameters (including) at once and it usually handles also the pagegenerators automatically. But it doesn't prevent this:
genFactory = pagegenerators.GeneratorFactory() genFactory.handleArg('-file:' + filename): ... pywikibot.handleArgs()
But using handleArg isn't recommended with my patch anymore and I'm not sure about that usage.
TASK DETAIL https://phabricator.wikimedia.org/T74120
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, XZise, jayvdb, Ricordisamoa
pywikipedia-bugs@lists.wikimedia.org