Go to the source code of this file.
Variables | |
$dbclass = 'Database' . ucfirst( $wgDBtype ) | |
$database = new $dbclass( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname ) | |
if($wgDBtype== 'mysql') print n n **Rebuilding recentchanges | table |
print n n **Rebuilding links tables this can take a long time It should be safe to abort via ctrl C if you get bored | n |
This takes several hours, depending on the database size and server configuration.
Definition in file rebuildall.php.
$database = new $dbclass( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname ) |
Definition at line 20 of file rebuildall.php.
Referenced by UserRightsProxy::__construct(), createTextIndex(), dropTextIndex(), UserrightsPage::fetchUser(), UserRightsProxy::getDB(), UserRightsProxy::newFromId(), UserRightsProxy::newFromLookup(), UserRightsProxy::newFromName(), rebuildTextIndex(), ResultWrapper::ResultWrapper(), Database::tableName(), UserDupes::UserDupes(), UserRightsProxy::validDatabase(), and UserRightsProxy::whoIs().
$dbclass = 'Database' . ucfirst( $wgDBtype ) |
Definition at line 19 of file rebuildall.php.
Definition at line 36 of file rebuildall.php.
Definition at line 22 of file rebuildall.php.
Referenced by HashtableReplacer::__construct(), HTMLCacheUpdateJob::__construct(), SqlBagOStuff::__construct(), ApiQueryLinks::__construct(), convertLinks(), Parser::doTableStuff(), UsercreateTemplate::execute(), UserloginTemplate::execute(), MediaWikiBagOStuff::getTableName(), SqlBagOStuff::getTableName(), ImageBuilder::init(), TableCleanup::init(), TgConverter::loadDefaultTables(), ImageBuilder::progress(), TableCleanup::progress(), HashtableReplacer::replace(), HTMLCacheUpdateJob::run(), ApiQueryLinks::run(), DatabaseMssql::setup_database(), DBUnlockForm::showForm(), DBLockForm::showForm(), IPBlockForm::showForm(), and Database::tableName().