r86277 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86276‎ | r86277 | r86278 >
Date:20:11, 17 April 2011
Author:ialex
Status:deferred
Tags:
Comment:
Use OutputPage::addWikiMsgArray() instead of wfMsgWikiHtml()
Modified paths:
  • /trunk/extensions/ConfigureWMF/ConfigureWMF.page.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfigureWMF/ConfigureWMF.page.php
@@ -141,7 +141,7 @@
142142 $this->addNav( 2, $wiki, $config );
143143 $wgOut->addHTML( "<fieldset><legend>{$legend}</legend>" );
144144 $wgOut->addWikiMsg( "configurewmf-help-{$config}" );
145 - $wgOut->addHTML( wfMsgWikiHtml( 'configurewmf-seealso', $vars ) );
 145+ $wgOut->addWikiMsgArray( 'configurewmf-seealso', array( $vars ), array( 'replaceafter' ) );
146146 $wgOut->addHTML( "<hr/>" );
147147 $wgOut->addHTML( "<form action='{$wgScript}' method='post'><p>" );
148148 $wgOut->addHTML( Xml::hidden( 'title', $this->getTitle()->getFullText() ) );

Status & tagging log