$cl->execute();
$this->output( "done.\n" );
}
+
+ protected function doRebuildLocalisationCache() {
+ global $wgLocalisationCacheConf;
+ $wgLocalisationCacheConf['forceRecache'] = true;
+ $cl = $this->maintenance->runChild( 'RebuildLocalisationCache', 'rebuildLocalisationCache.php' );
+ $this->output( "Rebuilding Localisation Cache... " );
+ $cl->execute();
+ $this->output( "done.\n" );
+ }
}
array( 'modifyField', 'user_properties', 'up_property', 'patch-up_property.sql' ),
array( 'addTable', 'uploadstash', 'patch-uploadstash.sql' ),
array( 'addTable', 'user_former_groups', 'patch-user_former_groups.sql'),
+ array( 'doRebuildLocalisationCache' ),
// 1.19
array( 'addTable', 'config', 'patch-config.sql' ),
array( 'addIndex', 'user', 'i02', 'patch-user_email_index.sql' ),
array( 'modifyField', 'user_properties', 'up_property', 'patch-up_property.sql' ),
array( 'addTable', 'uploadstash', 'patch-uploadstash.sql' ),
+ array( 'doRebuildLocalisationCache' ),
//1.19
array( 'addTable', 'config', 'patch-config.sql' ),
array( 'addTable', 'globaltemplatelinks', 'patch-globaltemplatelinks.sql' ),
array( 'addTable', 'globalnamespaces', 'patch-globalnamespaces.sql' ),
array( 'addTable', 'globalinterwiki', 'patch-globalinterwiki.sql' ),
-
+
// till 2.0 i guess
array( 'doRebuildDuplicateFunction' ),
array( 'addIndex', 'user', 'user_email', 'patch-user_email_index.sql' ),
array( 'addTable', 'uploadstash', 'patch-uploadstash.sql' ),
array( 'addTable', 'user_former_groups', 'patch-user_former_groups.sql'),
+ array( 'doRebuildLocalisationCache' ),
// 1.19
array( 'addTable', 'config', 'patch-config.sql' ),