From 6996b6c2ee160dc244478fc887b185c0e13fb835 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 16 Oct 2006 00:37:18 +0000 Subject: [PATCH] (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup --- RELEASE-NOTES | 1 + includes/SkinTemplate.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1