* Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when
editing to allow CSS styling.
* Parser now returns list of sections
-* Add userrights-text message to display at all times on Special:Userrights.
=== Bug fixes in 1.12 ===
*/
function switchForm() {
global $wgOut, $wgRequest;
- $wgOut->addWikiText( wfMsg( 'userrights-text' ) );
-
$username = $wgRequest->getText( 'user-editname' );
$form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->action, 'name' => 'uluser' ) );
$form .= '<fieldset><legend>' . wfMsgHtml( 'userrights-lookup-user' ) . '</legend>';
'userrights-nodatabase' => 'Database $1 does not exist or is not local.',
'userrights-nologin' => 'You must [[Special:Userlogin|log in]] with an administrator account to assign user rights.',
'userrights-notallowed' => 'Your account does not have permission to assign user rights.',
-'userrights-text' => '', # don't translate or duplicate this message to other languages
# Groups
'group' => 'Group:',