From: Aryeh Gregor Date: Mon, 16 Oct 2006 00:37:18 +0000 (+0000) Subject: (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup X-Git-Tag: 1.31.0-rc.0~55478 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=6996b6c2ee160dc244478fc887b185c0e13fb835;p=lhc%2Fweb%2Fwiklou.git (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 59ba43d24e..6cf4b7d667 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -51,6 +51,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN PHP 4 and 5 installations to interfere on the command-line. * Fix regression in autoconfirm permission check * (bug 3015) Add CSS ids to subcategory and page sections on category pages +* (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup == Languages updated == diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 4ae54d96c7..c7947eddef 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -739,7 +739,7 @@ class SkinTemplate extends Skin { } else { /* show special page tab */ - $content_actions['article'] = array( + $content_actions[$this->mTitle->getNamespaceKey()] = array( 'class' => 'selected', 'text' => wfMsg('specialpage'), 'href' => $wgRequest->getRequestURL(), // @bug 2457, 2510