r11566 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r11565‎ | r11566 | r11567 >
Date:06:29, 29 October 2005
Author:avar
Status:old
Tags:
Comment:
* Last commmit fixed, done properly now
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -481,7 +481,7 @@
482482 $personal_urls['logout'] = array(
483483 'text' => wfMsg('userlogout'),
484484 'href' => $this->makeSpecialUrl( 'Userlogout',
485 - $this->thisurl === $wgContLang->getNsText( NS_SPECIAL ) . ':' . 'Preferences' ? '' : "returnto={$this->thisurl}"
 485+ $wgTitle->getNamespace() === NS_SPECIAL && $wgTitle->getText() === 'Preferences' ? '' : "returnto={$this->thisurl}"
486486 )
487487 );
488488 } else {

Status & tagging log