Index: trunk/phase3/includes/diff/DifferenceEngine.php |
— | — | @@ -175,7 +175,7 @@ |
176 | 176 | } |
177 | 177 | |
178 | 178 | function showDiffPage( $diffOnly = false ) { |
179 | | - global $wgUser, $wgOut, $wgRequest, $wgUseExternalEditor, $wgUseRCPatrol; |
| 179 | + global $wgUser, $wgOut, $wgRequest, $wgUseExternalEditor; |
180 | 180 | wfProfileIn( __METHOD__ ); |
181 | 181 | |
182 | 182 | # Allow frames except in certain special cases |
— | — | @@ -509,7 +509,7 @@ |
510 | 510 | * Show the new revision of the page. |
511 | 511 | */ |
512 | 512 | function renderNewRevision() { |
513 | | - global $wgOut, $wgUser; |
| 513 | + global $wgOut; |
514 | 514 | wfProfileIn( __METHOD__ ); |
515 | 515 | $revHeader = $this->getRevisionHeader( $this->mNewRev ); |
516 | 516 | # Add "current version as of X" title |
— | — | @@ -1023,8 +1023,6 @@ |
1024 | 1024 | * @return bool |
1025 | 1025 | */ |
1026 | 1026 | function loadRevisionData() { |
1027 | | - global $wgUser; |
1028 | | - |
1029 | 1027 | if ( $this->mRevisionsLoaded ) { |
1030 | 1028 | return true; |
1031 | 1029 | } |
Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -3021,7 +3021,7 @@ |
3022 | 3022 | * @private |
3023 | 3023 | */ |
3024 | 3024 | function braceSubstitution( $piece, $frame ) { |
3025 | | - global $wgContLang, $wgNonincludableNamespaces; |
| 3025 | + global $wgNonincludableNamespaces; |
3026 | 3026 | wfProfileIn( __METHOD__ ); |
3027 | 3027 | wfProfileIn( __METHOD__.'-setup' ); |
3028 | 3028 | |
Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -710,7 +710,7 @@ |
711 | 711 | * @return MediaTransformOutput | false |
712 | 712 | */ |
713 | 713 | function transform( $params, $flags = 0 ) { |
714 | | - global $wgUseSquid, $wgServer; |
| 714 | + global $wgUseSquid; |
715 | 715 | |
716 | 716 | wfProfileIn( __METHOD__ ); |
717 | 717 | do { |
Index: trunk/phase3/includes/logging/LogEntry.php |
— | — | @@ -362,8 +362,6 @@ |
363 | 363 | * @return int If of the log entry |
364 | 364 | */ |
365 | 365 | public function insert() { |
366 | | - global $wgLogRestrictions; |
367 | | - |
368 | 366 | $dbw = wfGetDB( DB_MASTER ); |
369 | 367 | $id = $dbw->nextSequenceValue( 'logging_log_id_seq' ); |
370 | 368 | |
— | — | @@ -464,4 +462,4 @@ |
465 | 463 | return (int) $this->deleted; |
466 | 464 | } |
467 | 465 | |
468 | | -} |
\ No newline at end of file |
| 466 | +} |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -843,8 +843,6 @@ |
844 | 844 | * @return String the URL |
845 | 845 | */ |
846 | 846 | public function getFullURL( $query = '', $variant = false ) { |
847 | | - global $wgServer, $wgRequest; |
848 | | - |
849 | 847 | # Hand off all the decisions on urls to getLocalURL |
850 | 848 | $url = $this->getLocalURL( $query, $variant ); |
851 | 849 | |
Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -786,7 +786,6 @@ |
787 | 787 | * @return array |
788 | 788 | */ |
789 | 789 | protected function buildContentNavigationUrls() { |
790 | | - global $wgContLang; |
791 | 790 | global $wgDisableLangConversion; |
792 | 791 | |
793 | 792 | wfProfileIn( __METHOD__ ); |