From: Bryan Tong Minh Date: Tue, 11 Aug 2009 17:50:03 +0000 (+0000) Subject: (bug 20176) Fix login/logout links in skin CologneBlue. Linker::linkKnown should... X-Git-Tag: 1.31.0-rc.0~40356 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=ebc0dbdeb149770387adda95b1edbd9c110b8cd6;p=lhc%2Fweb%2Fwiklou.git (bug 20176) Fix login/logout links in skin CologneBlue. Linker::linkKnown should be passed a title, not a string. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2e5a17b869..c397571002 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -404,6 +404,7 @@ this. Was used when mwEmbed was going to be an extension. Special:RecentChangesLinked * Do not transform EXIF fields with pure text to avoid results like foo,bar@example,com +* (bug 20176) Fix login/logout links in skin CologneBlue == API changes in 1.16 == diff --git a/skins/CologneBlue.php b/skins/CologneBlue.php index 64a18f4fea..8082e88746 100644 --- a/skins/CologneBlue.php +++ b/skins/CologneBlue.php @@ -130,8 +130,8 @@ class SkinCologneBlue extends Skin { function sysLinks() { global $wgUser, $wgLang, $wgContLang; - $li = $wgContLang->specialPage( 'Userlogin' ); - $lo = $wgContLang->specialPage( 'Userlogout' ); + $li = SpecialPage::getTitleFor( 'Userlogin' ); + $lo = SpecialPage::getTitleFor( 'Userlogout' ); $rt = $this->mTitle->getPrefixedURL(); if ( 0 == strcasecmp( urlencode( $lo ), $rt ) ) {