(Meant to deal with custom templates on 1.2 wikis stored in the MediaWiki: namespace, but today it mostly just screws up custom messages that really do belong there.)
require_once 'convertLinks.inc';
require_once 'InitialiseMessages.inc';
-require_once 'archives/moveCustomMessages.inc';
$wgNewTables = array(
# table patch file (in maintenance/archives)
do_schema_restructuring(); flush();
- if ( isTemplateInitialised() ) {
- print "Template namespace already initialised\n";
- } else {
- moveCustomMessages( 1 ); flush();
- moveCustomMessages( 2 ); flush();
- moveCustomMessages( 3 ); flush();
- }
-
initialiseMessages(); flush();
}