From: Brion Vibber Date: Sun, 13 Mar 2005 10:59:37 +0000 (+0000) Subject: Don't run moveCustomMessages() on upgrade; this causes trouble and isn't really needed. X-Git-Tag: 1.5.0alpha1~628 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=15ef75e3682f1167e51f3f207a72f71bf3f9fc10;p=lhc%2Fweb%2Fwiklou.git Don't run moveCustomMessages() on upgrade; this causes trouble and isn't really needed. (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.) --- diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index 0cab33851e..1e6319e9e6 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -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(); }