Don't run moveCustomMessages() on upgrade; this causes trouble and isn't really needed.
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 13 Mar 2005 10:59:37 +0000 (10:59 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 13 Mar 2005 10:59:37 +0000 (10:59 +0000)
(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.)

maintenance/updaters.inc

index 0cab338..1e6319e 100644 (file)
@@ -8,7 +8,6 @@
 
 require_once 'convertLinks.inc';
 require_once 'InitialiseMessages.inc';
-require_once 'archives/moveCustomMessages.inc';
 
 $wgNewTables = array(
 #            table          patch file (in maintenance/archives)
@@ -439,14 +438,6 @@ function do_all_updates() {
        
        do_schema_restructuring(); flush();
 
-       if ( isTemplateInitialised() ) {
-               print "Template namespace already initialised\n";
-       } else {
-               moveCustomMessages( 1 ); flush();
-               moveCustomMessages( 2 ); flush();
-               moveCustomMessages( 3 ); flush();
-       }
-
        initialiseMessages(); flush();
 }