From: Brion Vibber Date: Thu, 29 May 2008 16:17:08 +0000 (+0000) Subject: Clear $wgForeignFileRepos on parser test run. Otherwise some of our test images that... X-Git-Tag: 1.31.0-rc.0~47303 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=d51fc0d0c3485a13ee146a54ea734d19a25641fa;p=lhc%2Fweb%2Fwiklou.git Clear $wgForeignFileRepos on parser test run. Otherwise some of our test images that are supposed to be missing show up as existing if you have Wikipedia or Commons set up as a foreign repo. :) --- diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index a00581355f..1e1c483a0b 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -412,6 +412,7 @@ class ParserTest { 'createtalk' => true, ) ), 'wgDefaultExternalStore' => array(), + 'wgForeignFileRepos' => array(), ); $this->savedGlobals = array(); foreach( $settings as $var => $val ) {