Index: trunk/phase3/skins/Modern.php |
— | — | @@ -46,7 +46,6 @@ |
47 | 47 | * @access private |
48 | 48 | */ |
49 | 49 | function execute() { |
50 | | - global $wgRequest; |
51 | 50 | $this->skin = $skin = $this->data['skin']; |
52 | 51 | |
53 | 52 | // Suppress warnings to prevent notices about missing indexes in $this->data |
Index: trunk/phase3/tests/phpunit/includes/parser/MediaWikiParserTest.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | class MediaWikiParserTest { |
17 | 17 | |
18 | 18 | public static function suite() { |
19 | | - global $IP, $wgParserTestFiles; |
| 19 | + global $wgParserTestFiles; |
20 | 20 | |
21 | 21 | $suite = new PHPUnit_Framework_TestSuite; |
22 | 22 | |
Index: trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php |
— | — | @@ -592,7 +592,7 @@ |
593 | 593 | * Get a Parser object |
594 | 594 | */ |
595 | 595 | function getParser( $preprocessor = null ) { |
596 | | - global $wgParserConf, $wgHooks; |
| 596 | + global $wgParserConf; |
597 | 597 | |
598 | 598 | $class = $wgParserConf['class']; |
599 | 599 | $parser = new $class( array( 'preprocessorClass' => $preprocessor ) + $wgParserConf ); |