From: Robert Leverington Date: Sun, 1 Jun 2008 16:00:02 +0000 (+0000) Subject: * (bug 14370) When a grouppage-x message does not exist the entry on the ListGroupRig... X-Git-Tag: 1.31.0-rc.0~47256 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=4a2a1664828cfca38e3112397a66c484c973078f;p=lhc%2Fweb%2Fwiklou.git * (bug 14370) When a grouppage-x message does not exist the entry on the ListGroupRights special page links to the main namespace page not the project namespace page. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3950f1da20..298ece05ae 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -315,6 +315,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN set to true * (bug 13034) Interwiki pages can now be reached using Go search button * (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias +* (bug 14370) When a grouppage-x message does not exist the entry on the + ListGroupRights special page links to the main namespace page not the project + namespace page. === API changes in 1.13 === diff --git a/includes/SpecialListgrouprights.php b/includes/SpecialListgrouprights.php index 1482708545..131c06061a 100644 --- a/includes/SpecialListgrouprights.php +++ b/includes/SpecialListgrouprights.php @@ -50,7 +50,7 @@ class SpecialListGroupRights extends SpecialPage { $msg = wfMsgForContent( 'grouppage-' . $groupname ); if ( wfEmptyMsg( 'grouppage-' . $groupname, $msg ) || $msg == '' ) { - $grouppageLocalized = $groupname; + $grouppageLocalized = MWNamespace::getCanonicalName( NS_PROJECT ) . ':' . $groupname; } else { $grouppageLocalized = $msg; }