Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
error( $err, $die=0)
Throw an error to the user.
output( $out, $channel=null)
Throw some output to the user.
hasOption( $name)
Checks to see if a particular option was set.
addOption( $name, $description, $required=false, $withArg=false, $shortName=false, $multiOccurrence=false)
Add a parameter to the script.
getOption( $name, $default=null)
Get an option, or return the default.
fatalError( $msg, $exitCode=1)
Output a message and terminate the current script.
This is a class for doing query pages; since they're almost all the same, we factor out some of the f...
static getDisabledQueryPages(Config $config)
Get a list of query pages disabled and with it's run mode.
static getPages()
Get a list of query page classes and their associated special pages, for periodic updates.
Maintenance script to update cached special pages.
doSpecialPageCacheUpdates( $dbw)