const RUN_MAINTENANCE_IF_MAIN
dropMysqlTextIndex()
(MySQL only) Drops fulltext index before populating the table.
fatalError( $msg, $exitCode=1)
Output a message and terminate the current script.
addDescription( $text)
Set the description text.
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
Maintenance script that rebuilds search index table from scratch.
createMysqlTextIndex()
(MySQL only) Adds back fulltext index after populating the table.
Exception representing a failure to serialize or unserialize a content object.
static makeTitle( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
getDbType()
Does the script need different DB access? By default, we give Maintenance scripts normal rights to th...
getDB( $db, $groups=[], $dbDomain=false)
Returns a database to be used by current maintenance script.
clearSearchIndex()
Deletes everything from search index.
populateSearchIndex()
Populates the search index with content from all pages.
output( $out, $channel=null)
Throw some output to the user.