r35969 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35968‎ | r35969 | r35970 >
Date:15:45, 6 June 2008
Author:ialex
Status:old
Tags:
Comment:
* Use $wgOut->addWikiMsg() instead of $wgOut->addHtml( wfMsgWikiHtml() ) as brion pointed out
* Remove parsermag option to wfMsgExt(), parseinline override it
Modified paths:
  • /trunk/extensions/Gadgets/Gadgets.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Gadgets/Gadgets.php
@@ -152,9 +152,9 @@
153153
154154 $out->addHtml( "\n<fieldset>\n<legend>" . wfMsgHtml( 'gadgets-prefs' ) . "</legend>\n" );
155155
156 - $out->addHtml( wfMsgWikiHtml( 'gadgets-prefstext' ) . "\n" );
 156+ $out->addWikiMsg( 'gadgets-prefstext' );
157157
158 - $msgOpt = array( 'parseinline', 'parsemag' );
 158+ $msgOpt = array( 'parseinline' );
159159
160160 foreach ( $gadgets as $section => $entries ) {
161161 if ( $section !== false && $section !== '' ) {

Status & tagging log