Index: trunk/phase3/maintenance/protect.php |
— | — | @@ -35,8 +35,6 @@ |
36 | 36 | } |
37 | 37 | |
38 | 38 | public function execute() { |
39 | | - global $wgUser; |
40 | | - |
41 | 39 | $userName = $this->getOption( 'u', 'Maintenance script' ); |
42 | 40 | $reason = $this->getOption( 'r', '' ); |
43 | 41 | |
Index: trunk/phase3/tests/phpunit/includes/HtmlTest.php |
— | — | @@ -214,8 +214,6 @@ |
215 | 215 | } |
216 | 216 | |
217 | 217 | function testNamespaceSelector() { |
218 | | - global $wgContLang; |
219 | | - |
220 | 218 | $this->assertEquals( |
221 | 219 | '<select id="namespace" name="namespace">' . "\n" . |
222 | 220 | '<option value="0">(Main)</option>' . "\n" . |
Index: trunk/phase3/includes/filerepo/backend/FileBackend.php |
— | — | @@ -1127,7 +1127,7 @@ |
1128 | 1128 | |
1129 | 1129 | /** |
1130 | 1130 | * @see FileBackend::getFileStat() |
1131 | | - * @return bool|void |
| 1131 | + * @return bool |
1132 | 1132 | */ |
1133 | 1133 | final public function getFileStat( array $params ) { |
1134 | 1134 | wfProfileIn( __METHOD__ ); |
Index: trunk/phase3/includes/specials/SpecialListusers.php |
— | — | @@ -157,7 +157,6 @@ |
158 | 158 | $edits = ''; |
159 | 159 | } |
160 | 160 | |
161 | | - global $wgLang; |
162 | 161 | $userTalkPage = $userPage->getTalkPage(); |
163 | 162 | $talk = ' (' . Linker::link( $userTalkPage, wfMessage( 'talkpagelinktext' )->escaped() ) . ')'; |
164 | 163 | |
Index: trunk/phase3/includes/specials/SpecialMovepage.php |
— | — | @@ -383,7 +383,7 @@ |
384 | 384 | } |
385 | 385 | |
386 | 386 | function doSubmit() { |
387 | | - global $wgMaximumMovedPages, $wgFixDoubleRedirects, $wgDeleteRevisionsLimit; |
| 387 | + global $wgMaximumMovedPages, $wgFixDoubleRedirects; |
388 | 388 | |
389 | 389 | $user = $this->getUser(); |
390 | 390 | |
Index: trunk/phase3/img_auth.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | wfLogProfilingData(); |
45 | 45 | |
46 | 46 | function wfImageAuthMain() { |
47 | | - global $wgImgAuthPublicTest, $wgRequest, $wgUploadDirectory; |
| 47 | + global $wgImgAuthPublicTest, $wgRequest; |
48 | 48 | |
49 | 49 | // See if this is a public Wiki (no protections). |
50 | 50 | if ( $wgImgAuthPublicTest |