r61599 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61598‎ | r61599 | r61600 >
Date:20:29, 27 January 2010
Author:ialex
Status:ok
Tags:
Comment:
* (bug 22253) Right descriptions on Special:GlobalGroupPermissions now accept wikitext (same as Special:ListGroupRights)
Modified paths:
  • /trunk/extensions/CentralAuth/SpecialGlobalGroupPermissions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/SpecialGlobalGroupPermissions.php
@@ -172,7 +172,7 @@
173173
174174 function buildCheckboxes( $group ) {
175175
176 - global $wgUser;
 176+ global $wgUser, $wgOut;
177177 $editable = $this->userCanEdit( $wgUser );
178178
179179 $rights = User::getAllRights();
@@ -190,7 +190,7 @@
191191 # Build a checkbox.
192192 $checked = in_array( $right, $assignedRights );
193193
194 - $desc = htmlspecialchars( User::getRightDescription( $right ) ) . ' ' .
 194+ $desc = $wgOut->parseInline( User::getRightDescription( $right ) ) . ' ' .
195195 Xml::element( 'tt', null, wfMsg( 'parentheses', $right ) );
196196
197197 $checkbox = Xml::check( "wpRightAssigned-$right", $checked, $attribs );

Follow-up revisions

RevisionCommit summaryAuthorDate
r63354Reverted r63349; not needed due to r61599aaron01:54, 7 March 2010

Status & tagging log