r35678 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35677‎ | r35678 | r35679 >
Date:16:00, 1 June 2008
Author:minuteelectron
Status:old
Tags:
Comment:
* (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.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialListgrouprights.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialListgrouprights.php
@@ -50,7 +50,7 @@
5151
5252 $msg = wfMsgForContent( 'grouppage-' . $groupname );
5353 if ( wfEmptyMsg( 'grouppage-' . $groupname, $msg ) || $msg == '' ) {
54 - $grouppageLocalized = $groupname;
 54+ $grouppageLocalized = MWNamespace::getCanonicalName( NS_PROJECT ) . ':' . $groupname;
5555 } else {
5656 $grouppageLocalized = $msg;
5757 }
Index: trunk/phase3/RELEASE-NOTES
@@ -315,6 +315,9 @@
316316 set to true
317317 * (bug 13034) Interwiki pages can now be reached using Go search button
318318 * (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias
 319+* (bug 14370) When a grouppage-x message does not exist the entry on the
 320+ ListGroupRights special page links to the main namespace page not the project
 321+ namespace page.
319322
320323 === API changes in 1.13 ===
321324

Status & tagging log