Revert global removals in test/ from r77393
authorSam Reed <reedy@users.mediawiki.org>
Mon, 29 Nov 2010 00:26:40 +0000 (00:26 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 29 Nov 2010 00:26:40 +0000 (00:26 +0000)
maintenance/tests/parser/parserTest.inc
maintenance/tests/phpunit/suites/UploadFromUrlTestSuite.php

index 3ce0f5a..0d0a891 100644 (file)
@@ -120,9 +120,9 @@ class ParserTest {
        }
 
        static function setUp() {
-               global $wgParser,  $wgParserConf, $IP, $wgDeferredUpdateList,
+               global $wgParser, $wgParserConf, $IP, $messageMemc, $wgMemc, $wgDeferredUpdateList,
                        $wgUser, $wgLang, $wgOut, $wgRequest, $wgStyleDirectory, $wgEnableParserCache,
-                       $wgMessageCache, $wgUseDatabaseMessages, $wgMsgCacheExpiry,
+                       $wgMessageCache, $wgUseDatabaseMessages, $wgMsgCacheExpiry, $parserMemc,
                        $wgNamespaceAliases, $wgNamespaceProtection, $wgLocalFileRepo,
                        $wgThumbnailScriptPath, $wgScriptPath,
                        $wgArticlePath, $wgStyleSheetPath, $wgScript, $wgStylePath;
index b3063a1..6629369 100644 (file)
@@ -14,9 +14,9 @@ class UploadFromUrlTestSuite extends PHPUnit_Framework_TestSuite {
        }
 
        function setUp() {
-               global $wgParser, $wgParserConf, $IP, $wgDeferredUpdateList,
+               global $wgParser, $wgParserConf, $IP, $messageMemc, $wgMemc, $wgDeferredUpdateList,
                                  $wgUser, $wgLang, $wgOut, $wgRequest, $wgStyleDirectory, $wgEnableParserCache,
-                                 $wgMessageCache, $wgUseDatabaseMessages, $wgMsgCacheExpiry,
+                                 $wgMessageCache, $wgUseDatabaseMessages, $wgMsgCacheExpiry, $parserMemc,
                                  $wgNamespaceAliases, $wgNamespaceProtection, $wgLocalFileRepo,
                                  $wgThumbnailScriptPath, $wgScriptPath,
                                  $wgArticlePath, $wgStyleSheetPath, $wgScript, $wgStylePath;