Fix a bunch of notices. Error was "Notice: Found alias defined for (some uppercased...
[lhc/web/wiklou.git] / skins / Nostalgia.php
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();