From ebc0dbdeb149770387adda95b1edbd9c110b8cd6 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Tue, 11 Aug 2009 17:50:03 +0000 Subject: [PATCH] (bug 20176) Fix login/logout links in skin CologneBlue. Linker::linkKnown should be passed a title, not a string. --- RELEASE-NOTES | 1 + skins/CologneBlue.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 ) ) { -- 2.20.1