From: Siebrand Mazeland Date: Wed, 7 Sep 2011 13:52:43 +0000 (+0000) Subject: Follow-up r96429: use wfMessage() to make it work properly. Previously $userToolLinks... X-Git-Tag: 1.31.0-rc.0~27836 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=d4e4791a6f84f0dd92f5c9398555835ebbba02b4;p=lhc%2Fweb%2Fwiklou.git Follow-up r96429: use wfMessage() to make it work properly. Previously $userToolLinks was escaped. --- diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index 853a9d7ef6..bbfe1ed0e4 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -447,7 +447,7 @@ class UserrightsPage extends SpecialPage { Html::hidden( 'wpEditToken', $this->getUser()->editToken( $this->mTarget ) ) . Xml::openElement( 'fieldset' ) . Xml::element( 'legend', array(), wfMsg( 'userrights-editusergroup' ) ) . - wfMsgExt( 'editinguser', array( 'parse' ), wfEscapeWikiText( $user->getName() ), $userToolLinks ) . + wfMessage( 'editinguser' )->params( wfEscapeWikiText( $user->getName() ) )->rawParams( $userToolLinks ) . wfMsgExt( 'userrights-groups-help', array( 'parse' ) ) . $grouplist . Xml::tags( 'p', null, $this->groupCheckboxes( $groups ) ) .