Fix a bunch of notices. Error was "Notice: Found alias defined for (some uppercased...
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 16 Sep 2010 23:26:20 +0000 (23:26 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 16 Sep 2010 23:26:20 +0000 (23:26 +0000)
includes/Skin.php
skins/CologneBlue.php
skins/Nostalgia.php
skins/Standard.php

index d729152..27746df 100644 (file)
@@ -1160,7 +1160,7 @@ class Skin extends Linker {
                                        SpecialPage::getTitleFor( 'Userlogout' ), wfMsg( 'logout' ),
                                        array(), array( 'returnto' => $returnTo )
                                ),
-                               $this->specialLink( 'preferences' ),
+                               $this->specialLink( 'Preferences' ),
                        ) );
                }
 
@@ -1214,7 +1214,7 @@ class Skin extends Linker {
 
                $s = array(
                        $this->mainPageLink(),
-                       $this->specialLink( 'recentchanges' )
+                       $this->specialLink( 'Recentchanges' )
                );
 
                if ( $wgOut->isArticleRelated() ) {
index a600a91..7aed2bb 100644 (file)
@@ -156,7 +156,7 @@ class SkinCologneBlue extends Skin {
                                Title::newFromText( wfMsgForContent( 'faqpage' ) ),
                                wfMsg( 'faq' )
                        ),
-                       $this->specialLink( 'specialpages' )
+                       $this->specialLink( 'Specialpages' )
                );
 
                /* show links to different language variants */
@@ -288,7 +288,7 @@ class SkinCologneBlue extends Skin {
                                        array(),
                                        array(),
                                        array( 'known', 'noclasses' )
-                               ) . $sep . $tl . $sep . $this->specialLink( 'watchlist' )
+                               ) . $sep . $tl . $sep . $this->specialLink( 'Watchlist' )
                                        . $sep .
                                $this->link(
                                        SpecialPage::getSafeTitleFor( 'Contributions', $wgUser->getName() ),
@@ -296,16 +296,16 @@ class SkinCologneBlue extends Skin {
                                        array(),
                                        array(),
                                        array( 'known', 'noclasses' )
-                               ) . $sep . $this->specialLink( 'preferences' )
-                               . $sep . $this->specialLink( 'userlogout' );
+                               ) . $sep . $this->specialLink( 'Preferences' )
+                               . $sep . $this->specialLink( 'Userlogout' );
                } else {
-                       $s .= $this->specialLink( 'userlogin' );
+                       $s .= $this->specialLink( 'Userlogin' );
                }
 
                $s .= $this->menuHead( 'qbspecialpages' )
-                       . $this->specialLink( 'newpages' )
-                       . $sep . $this->specialLink( 'listfiles' )
-                       . $sep . $this->specialLink( 'statistics' );
+                       . $this->specialLink( 'Newpages' )
+                       . $sep . $this->specialLink( 'Listfiles' )
+                       . $sep . $this->specialLink( 'Statistics' );
                if( UploadBase::isEnabled() && UploadBase::isAllowed( $wgUser ) === true ) {
                        $s .= $sep . $this->getUploadLink();
                }
index 5bada29..d19968a 100644 (file)
@@ -61,7 +61,7 @@ class SkinNostalgia extends Skin {
                $sep = " |\n";
 
                $s = $this->mainPageLink() . $sep
-                 . $this->specialLink( 'recentchanges' );
+                 . $this->specialLink( 'Recentchanges' );
 
                if ( $wgOut->isArticle() ) {
                        $s .= $sep . '<strong>' . $this->editThisPage() . '</strong>' . $sep . $this->historyLink();
@@ -71,7 +71,7 @@ class SkinNostalgia extends Skin {
                $s .= $this->variantLinks();
                $s .= $this->extensionTabLinks();
                if ( $wgUser->isAnon() ) {
-                       $s .= $sep . $this->specialLink( 'userlogin' );
+                       $s .= $sep . $this->specialLink( 'Watchlist' );
                } else {
                        /* show user page and user talk links */
                        $s .= $sep . $this->link( $wgUser->getUserPage(), wfMsgHtml( 'mypage' ) );
@@ -80,20 +80,20 @@ class SkinNostalgia extends Skin {
                                $s .= ' *';
                        }
                        /* show watchlist link */
-                       $s .= $sep . $this->specialLink( 'watchlist' );
+                       $s .= $sep . $this->specialLink( 'Watchlist' );
                        /* show my contributions link */
                        $s .= $sep . $this->link(
                                SpecialPage::getSafeTitleFor( 'Contributions', $wgUser->getName() ),
                                wfMsgHtml( 'mycontris' ) );
                        /* show my preferences link */
-                       $s .= $sep . $this->specialLink( 'preferences' );
+                       $s .= $sep . $this->specialLink( 'Preferences' );
                        /* show upload file link */
                        if( UploadBase::isEnabled() && UploadBase::isAllowed( $wgUser ) === true ) {
                                $s .= $sep . $this->getUploadLink();
                        }
 
                        /* show log out link */
-                       $s .= $sep . $this->specialLink( 'userlogout' );
+                       $s .= $sep . $this->specialLink( 'Userlogout' );
                }
 
                $s .= $sep . $this->specialPagesList();
index 8bd1f8f..f9309fa 100644 (file)
@@ -81,7 +81,7 @@ class SkinStandard extends Skin {
                $s .= "\n<br />" . $wgLang->pipeList( array(
                        $this->mainPageLink(),
                        $this->aboutLink(),
-                       $this->specialLink( 'recentchanges' ),
+                       $this->specialLink( 'Recentchanges' ),
                        $this->searchForm() ) )
                        . '<br /><span id="pagestats">' . $this->pageStats() . '</span>';
 
@@ -130,7 +130,7 @@ class SkinStandard extends Skin {
                }
 
                if( $wgUser->isLoggedIn() ) {
-                       $s.= $this->specialLink( 'watchlist' ) ;
+                       $s.= $this->specialLink( 'Watchlist' ) ;
                        $s .= $sep . $this->linkKnown(
                                SpecialPage::getTitleFor( 'Contributions' ),
                                wfMsg( 'mycontris' ),
@@ -267,7 +267,7 @@ class SkinStandard extends Skin {
                        $s .= $this->getUploadLink() . $sep;
                }
 
-               $s .= $this->specialLink( 'specialpages' );
+               $s .= $this->specialLink( 'Specialpages' );
 
                global $wgSiteSupportPage;
                if( $wgSiteSupportPage ) {