User:😂/maintenance-work

Bug 19133 is a tracking bug to clean up the maintenance scripts (which are currently a gigantic mess). The maintenance-work branch was created to fix this.

Bugzilla
The following bugs will be marked FIXED when the maintenance-work branch is integrated to trunk:


 * 19133 - Maintenance script cleanup


 * 16322 - Allow maint scripts to accept DB user/pass over input or params if no AdminSettings.php
 * 18768 - Remove AdminSettings.php from MediaWiki core
 * 19157 - createAndPromote error on bad password

Todo/Fixme

 * Handle param validation at Maintenance level, rather than making subclasses control this
 * Split WMF-specific scripts to an extension?
 * Make help work for -help, not just --help and help as an arg.

Scripts
The following scripts have been checked and sorted into the following lists. If a maintenance script is not here, it has not been reviewed.

WMF-specific

 * addwiki.php

Fully ported

 * benchmarkPurge.php

Fully ported && tested

 * changePassword.php
 * checkAutoLoader.php
 * createAndPromote.php
 * clear_stats.php
 * getSlaveServer.php

To be deprecated

 * attribute.php (in favor of reassignEdits.php)