r51862 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51861‎ | r51862 | r51863 >
Date:06:46, 15 June 2009
Author:ialex
Status:ok
Tags:
Comment:
we have SpecialPage::getTitleFor() for that
Modified paths:
  • /trunk/phase3/skins/Standard.php (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/Standard.php
@@ -161,7 +161,7 @@
162162 if( $wgUser->isLoggedIn() ) {
163163 $s.= $this->specialLink( 'watchlist' ) ;
164164 $s .= $sep . $this->linkKnown(
165 - Title::newFromText( $wgContLang->specialPage( 'Contributions' ) ),
 165+ SpecialPage::getTitleFor( 'Contributions' ),
166166 wfMsg( 'mycontris' ),
167167 array(),
168168 array( 'target' => $wgUser->getName() )

Status & tagging log