* Quick hack for extension testing: parser test doesn't create new message
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 10 Jul 2006 18:06:34 +0000 (18:06 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 10 Jul 2006 18:06:34 +0000 (18:06 +0000)
  cache object.

RELEASE-NOTES
maintenance/parserTests.inc

index e486ab4..a7278fb 100644 (file)
@@ -43,6 +43,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   indexed pager.
 * (bug 6448) Allow filtering of Special:Newpages according to username
 * (bug 6618) Improve permissions/error detection in Special:Lockdb
+* Quick hack for extension testing: parser test doesn't create new message
+  cache object.
+
 
 == Languages updated ==
 
index 9f93c4a..30cba31 100644 (file)
@@ -360,7 +360,7 @@ class ParserTest {
                $GLOBALS['wgContLang'] = $langObj;
 
                $GLOBALS['wgLoadBalancer']->loadMasterPos();
-               $GLOBALS['wgMessageCache'] = new MessageCache( new BagOStuff(), false, 0, $GLOBALS['wgDBname'] );
+               //$GLOBALS['wgMessageCache'] = new MessageCache( new BagOStuff(), false, 0, $GLOBALS['wgDBname'] );
                $this->setupDatabase();
 
                global $wgUser;