r7791 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r7790‎ | r7791 | r7792 >
Date:01:51, 21 March 2005
Author:vibber
Status:old
Tags:
Comment:
Don't run the template initialiser automatically on update. This was for a bad usage of MediaWiki: pages on some 1.2 wikis, which hopefully is no longer widespread. Since the automatic move ends up breaking other things sometimes, it's safer to leave it out.
Modified paths:
  • /branches/REL1_4/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: branches/REL1_4/phase3/maintenance/updaters.inc
@@ -8,7 +8,6 @@
99
1010 require_once 'convertLinks.inc';
1111 require_once 'InitialiseMessages.inc';
12 -require_once 'archives/moveCustomMessages.inc';
1312
1413 $wgNewTables = array(
1514 # table patch file (in maintenance/archives)
@@ -202,14 +201,6 @@
203202
204203 do_logging_encoding(); flush();
205204
206 - if ( isTemplateInitialised() ) {
207 - print "Template namespace already initialised\n";
208 - } else {
209 - moveCustomMessages( 1 ); flush();
210 - moveCustomMessages( 2 ); flush();
211 - moveCustomMessages( 3 ); flush();
212 - }
213 -
214205 initialiseMessages(); flush();
215206 }
216207

Status & tagging log