* (bug 14370) When a grouppage-x message does not exist the entry on the ListGroupRig...
authorRobert Leverington <roberthl@users.mediawiki.org>
Sun, 1 Jun 2008 16:00:02 +0000 (16:00 +0000)
committerRobert Leverington <roberthl@users.mediawiki.org>
Sun, 1 Jun 2008 16:00:02 +0000 (16:00 +0000)
RELEASE-NOTES
includes/SpecialListgrouprights.php

index 3950f1d..298ece0 100644 (file)
@@ -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 ===
 
index 1482708..131c060 100644 (file)
@@ -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;
                        }