So we can use shizz in the constructor
Version: unspecified
Severity: enhancement
So we can use shizz in the constructor
Version: unspecified
Severity: enhancement
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | Feature | None | T28144 Do bulkStatusUpdate constructor more programmatically (revert r77362 when not blocked) | ||
Open | Feature | None | T28143 Run AutoLoader and also LocalSettings before instantiating the maintenance classes | ||
Resolved | None | T28140 Remove Wikimedia specific stuff from Maintenance/doMaintenance |
By the looks of it loadSettings and loadWikimediaSettings can probably be made static... (Though WMF stuff really wants factoring out, bug 26140)
And then just a little bit of organisation
This prevents usage of traits in maintenance scripts, some (like @Legoktm's) PatchFileLocation trait.
A workaround is to manually require_once the necessary traits, but that's ugly, and in my opinion unnecessary.