r78087 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78086‎ | r78087 | r78088 >
Date:19:17, 8 December 2010
Author:mah
Status:ok
Tags:
Comment:
Revert r78005, verified that r78009 seems to have fixed the problem.
Modified paths:
  • /trunk/phase3/maintenance/tests/parser/parserTest.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/parser/parserTest.inc
@@ -149,9 +149,9 @@
150150
151151 $wgEnableParserCache = false;
152152 $wgDeferredUpdateList = array();
153 - $wgMemc = wfGetMainCache();
154 - $messageMemc = wfGetMessageCacheStorage();
155 - $parserMemc = wfGetParserCacheStorage();
 153+ $wgMemc = &wfGetMainCache();
 154+ $messageMemc = &wfGetMessageCacheStorage();
 155+ $parserMemc = &wfGetParserCacheStorage();
156156
157157 // $wgContLang = new StubContLang;
158158 $wgUser = new User;
@@ -343,7 +343,7 @@
344344 try {
345345 $this->setupDatabase();
346346 $ok = true;
347 -
 347+
348348 foreach ( $filenames as $filename ) {
349349 $tests = new TestFileIterator( $filename, $this );
350350 $ok = $this->runTests( $tests ) && $ok;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78005References causing Bug #26244? This should find a way to just use...mah20:00, 7 December 2010
r78009Remove the $wgCaches[CACHE_DB] = false; line added in r74552....platonides20:40, 7 December 2010

Status & tagging log