Index: trunk/phase3/skins/CologneBlue.php |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | } |
125 | 125 | |
126 | 126 | function sysLinks() { |
127 | | - global $wgUser, $wgLang, $wgContLang, $wgOut; |
| 127 | + global $wgUser, $wgLang, $wgContLang; |
128 | 128 | $li = $wgContLang->specialPage( 'Userlogin' ); |
129 | 129 | $lo = $wgContLang->specialPage( 'Userlogout' ); |
130 | 130 | |
Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -517,7 +517,8 @@ |
518 | 518 | * @param bool $linestart |
519 | 519 | */ |
520 | 520 | public function addWikiText( $text, $linestart = true ) { |
521 | | - $this->addWikiTextTitle( $text, $this->getTitle(), $linestart ); |
| 521 | + $title = $this->getTitle(); // Work arround E_STRICT |
| 522 | + $this->addWikiTextTitle( $text, $title, $linestart ); |
522 | 523 | } |
523 | 524 | |
524 | 525 | public function addWikiTextWithTitle($text, &$title, $linestart = true) { |
— | — | @@ -625,7 +626,7 @@ |
626 | 627 | * @deprecated Use Article::outputWikitext |
627 | 628 | */ |
628 | 629 | public function addPrimaryWikiText( $text, $article, $cache = true ) { |
629 | | - global $wgParser, $wgUser; |
| 630 | + global $wgParser; |
630 | 631 | |
631 | 632 | wfDeprecated( __METHOD__ ); |
632 | 633 | |
— | — | @@ -1032,7 +1033,7 @@ |
1033 | 1034 | */ |
1034 | 1035 | public static function setEncodings() { |
1035 | 1036 | global $wgInputEncoding, $wgOutputEncoding; |
1036 | | - global $wgUser, $wgContLang; |
| 1037 | + global $wgContLang; |
1037 | 1038 | |
1038 | 1039 | $wgInputEncoding = strtolower( $wgInputEncoding ); |
1039 | 1040 | |
— | — | @@ -1190,7 +1191,7 @@ |
1191 | 1192 | * @param string $permission key required |
1192 | 1193 | */ |
1193 | 1194 | public function permissionRequired( $permission ) { |
1194 | | - global $wgUser, $wgLang; |
| 1195 | + global $wgLang; |
1195 | 1196 | |
1196 | 1197 | $this->setPageTitle( wfMsg( 'badaccess' ) ); |
1197 | 1198 | $this->setHTMLTitle( wfMsg( 'errorpagetitle' ) ); |
— | — | @@ -1505,7 +1506,7 @@ |
1506 | 1507 | public function headElement( Skin $sk ) { |
1507 | 1508 | global $wgDocType, $wgDTD, $wgContLanguageCode, $wgOutputEncoding, $wgMimeType; |
1508 | 1509 | global $wgXhtmlDefaultNamespace, $wgXhtmlNamespaces; |
1509 | | - global $wgUser, $wgContLang, $wgUseTrackbacks, $wgStyleVersion; |
| 1510 | + global $wgContLang, $wgUseTrackbacks, $wgStyleVersion; |
1510 | 1511 | |
1511 | 1512 | $this->addMeta( "http:Content-type", "$wgMimeType; charset={$wgOutputEncoding}" ); |
1512 | 1513 | $this->addStyle( 'common/wikiprintable.css', 'print' ); |