add $wgSitename global for testing magic variables
authorWil Mahan <wmahan@users.mediawiki.org>
Thu, 23 Sep 2004 06:43:43 +0000 (06:43 +0000)
committerWil Mahan <wmahan@users.mediawiki.org>
Thu, 23 Sep 2004 06:43:43 +0000 (06:43 +0000)
maintenance/parserTests.php

index 20d666c..323b931 100644 (file)
@@ -157,6 +157,7 @@ class ParserTest {
                        'wgScript' => '/index.php',
                        'wgScriptPath' => '/',
                        'wgArticlePath' => '/wiki/$1',
+                       'wgSitename' => 'MediaWiki',
                        );
                $this->savedGlobals = array();
                foreach( $settings as $var => $val ) {