Index: branches/REL1_17/phase3/includes/upload/UploadBase.php |
— | — | @@ -627,7 +627,7 @@ |
628 | 628 | * @return File: stashed file |
629 | 629 | */ |
630 | 630 | public function stashSessionFile( $key = null ) { |
631 | | - $stash = RepoGroup::singleton()->getLocalRepo()->getUploadStash();; |
| 631 | + $stash = RepoGroup::singleton()->getLocalRepo()->getUploadStash(); |
632 | 632 | $data = array( |
633 | 633 | 'mFileProps' => $this->mFileProps |
634 | 634 | ); |
Index: branches/REL1_17/phase3/includes/api/ApiParse.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | |
67 | 67 | // The parser needs $wgTitle to be set, apparently the |
68 | 68 | // $title parameter in Parser::parse isn't enough *sigh* |
69 | | - global $wgParser, $wgUser, $wgTitle, $wgEnableParserCache, $wgLang; |
| 69 | + global $wgParser, $wgUser, $wgTitle, $wgLang; |
70 | 70 | |
71 | 71 | // Currently unnecessary, code to act as a safeguard against any change in current behaviour of uselang breaks |
72 | 72 | $oldLang = null; |
Index: branches/REL1_17/phase3/includes/specials/SpecialImport.php |
— | — | @@ -57,7 +57,6 @@ |
58 | 58 | $this->outputHeader(); |
59 | 59 | |
60 | 60 | if ( wfReadOnly() ) { |
61 | | - global $wgOut; |
62 | 61 | $wgOut->readOnlyPage(); |
63 | 62 | return; |
64 | 63 | } |
Index: branches/REL1_17/phase3/includes/specials/SpecialUploadStash.php |
— | — | @@ -56,7 +56,7 @@ |
57 | 57 | * @return Boolean: success |
58 | 58 | */ |
59 | 59 | public function execute( $subPage ) { |
60 | | - global $wgOut, $wgUser; |
| 60 | + global $wgUser; |
61 | 61 | |
62 | 62 | if ( !$this->userCanExecute( $wgUser ) ) { |
63 | 63 | $this->displayRestrictionError(); |
Index: branches/REL1_17/phase3/includes/Skin.php |
— | — | @@ -422,7 +422,7 @@ |
423 | 423 | * You will only be adding bloat to the page and causing page caches to have to be purged on configuration changes. |
424 | 424 | */ |
425 | 425 | static function makeGlobalVariablesScript( $skinName ) { |
426 | | - global $wgTitle, $wgUser, $wgRequest, $wgArticle, $wgOut, $wgRestrictionTypes, $wgUseAjax, $wgEnableMWSuggest; |
| 426 | + global $wgTitle, $wgUser, $wgRequest, $wgArticle, $wgOut, $wgUseAjax, $wgEnableMWSuggest; |
427 | 427 | |
428 | 428 | $ns = $wgTitle->getNamespace(); |
429 | 429 | $nsname = MWNamespace::exists( $ns ) ? MWNamespace::getCanonicalName( $ns ) : $wgTitle->getNsText(); |