Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -143,7 +143,7 @@ |
144 | 144 | * @return string HTML output |
145 | 145 | */ |
146 | 146 | public function getHTML() { |
147 | | - global $wgOut, $wgCategoryMagicGallery, $wgContLang; |
| 147 | + global $wgOut, $wgCategoryMagicGallery; |
148 | 148 | wfProfileIn( __METHOD__ ); |
149 | 149 | |
150 | 150 | $this->showGallery = $wgCategoryMagicGallery && !$wgOut->mNoGallery; |
Index: trunk/phase3/includes/cache/HTMLCacheUpdate.php |
— | — | @@ -213,7 +213,7 @@ |
214 | 214 | * Invalidate an array of distant pages, given the wiki ID and page ID of those pages |
215 | 215 | */ |
216 | 216 | protected function invalidateDistantTitles( $distantPageArray ) { |
217 | | - global $wgUseFileCache, $wgUseSquid, $wgLocalInterwiki; |
| 217 | + global $wgUseSquid; |
218 | 218 | |
219 | 219 | $pagesByWiki = array(); |
220 | 220 | $titleArray = array(); |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -849,8 +849,6 @@ |
850 | 850 | * @return String the URL |
851 | 851 | */ |
852 | 852 | public function getFullURL( $query = '', $variant = false ) { |
853 | | - global $wgServer, $wgRequest; |
854 | | - |
855 | 853 | # Hand off all the decisions on urls to getLocalURL |
856 | 854 | $url = $this->getLocalURL( $query, $variant ); |
857 | 855 | |
— | — | @@ -3162,7 +3160,7 @@ |
3163 | 3161 | * @return Mixed true on success, getUserPermissionsErrors()-like array on failure |
3164 | 3162 | */ |
3165 | 3163 | public function moveTo( &$nt, $auth = true, $reason = '', $createRedirect = true ) { |
3166 | | - global $wgContLang, $wgEnableInterwikiTemplatesTracking, $wgGlobalDatabase; |
| 3164 | + global $wgEnableInterwikiTemplatesTracking, $wgGlobalDatabase; |
3167 | 3165 | |
3168 | 3166 | $err = $this->isValidMoveOperation( $nt, $auth, $reason ); |
3169 | 3167 | if ( is_array( $err ) ) { |
— | — | @@ -3323,7 +3321,7 @@ |
3324 | 3322 | * if the user doesn't have the suppressredirect right |
3325 | 3323 | */ |
3326 | 3324 | private function moveOverExistingRedirect( &$nt, $reason = '', $createRedirect = true ) { |
3327 | | - global $wgUseSquid, $wgUser, $wgContLang, $wgEnableInterwikiTemplatesTracking, $wgGlobalDatabase; |
| 3325 | + global $wgUser, $wgContLang, $wgEnableInterwikiTemplatesTracking, $wgGlobalDatabase; |
3328 | 3326 | |
3329 | 3327 | $moveOverRedirect = $nt->exists(); |
3330 | 3328 | |
— | — | @@ -4369,4 +4367,4 @@ |
4370 | 4368 | wfRunHooks( 'PageContentLanguage', array( $this, &$pageLang, $wgLang ) ); |
4371 | 4369 | return wfGetLangObj( $pageLang ); |
4372 | 4370 | } |
4373 | | -} |
\ No newline at end of file |
| 4371 | +} |