Page MenuHomePhabricator

Allow passing of extra arguments and options when using runChild
Open, LowPublicFeature

Description

After https://static-codereview.wikimedia.org/MediaWiki/101449.html , it'd be nice if there was a sane and simple way to pass in any extra arguments and options to the child maintenance class being run.

By default, only the ones that were passed to the parent are passed on, but this is annoying if you want to enhance the run, setting other variables.

https://static-codereview.wikimedia.org/MediaWiki/101454.html removed the global abuse I set to work around it, but even then, this shouldn't be needed.

Might be as simple as 2 extra parameters to runChild(), which then get merged into the resultant arguments and options that will be executed when the script is run


Version: 1.20.x
Severity: enhancement

Details

Reference
bz32133

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:06 AM
bzimport set Reference to bz32133.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:00 AM
Aklapper removed a subscriber: wikibugs-l-list.