r68626 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68625‎ | r68626 | r68627 >
Date:13:12, 27 June 2010
Author:avar
Status:ok
Tags:
Comment:
Change requestaccount-bio from a wfMsgHtml to a wfMsgWikiHtml message

It's nice to be able to use wikitext in the "enter your bio" message,
e.g. for an itemized list of things that should be covered in it.
Modified paths:
  • /trunk/extensions/ConfirmAccount/RequestAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/RequestAccount_body.php
@@ -162,7 +162,7 @@
163163 $form .= "<td>" . Xml::input( 'wpRealName', 35, $this->mRealName, array( 'id' => 'wpRealName' ) ) . "</td></tr>\n";
164164 $form .= '</table>';
165165 }
166 - $form .= "<p>" . wfMsgHtml( 'requestaccount-bio' ) . "\n";
 166+ $form .= "<p>" . wfMsgWikiHtml( 'requestaccount-bio' ) . "\n";
167167 $form .= "<textarea tabindex='1' name='wpBio' id='wpBio' rows='12' cols='80' style='width:100%; background-color:#f9f9f9;'>" .
168168 htmlspecialchars( $this->mBio ) . "</textarea></p>\n";
169169 $form .= '</fieldset>';

Status & tagging log