Page MenuHomePhabricator

pagegenerators options may be restricted
Closed, ResolvedPublicFeature

Description

pagegenerators.GeneratorFactory() gives a lot of options via its handleArg() method. Not all of them are applicable for each script. Provide the ability to restrict them.

Event Timeline

Xqt triaged this task as Low priority.Jan 6 2021, 2:31 PM
Xqt changed the subtype of this task from "Task" to "Feature Request".

Change 655199 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] Add enabled_options, disabled_options to GeneratorFactory

https://gerrit.wikimedia.org/r/655199

Change 655199 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] Add enabled_options, disabled_options to GeneratorFactory

https://gerrit.wikimedia.org/r/655199

Xqt claimed this task.
Xqt removed a project: Patch-For-Review.