r53038 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53037‎ | r53038 | r53039 >
Date:04:35, 10 July 2009
Author:catrope
Status:deferred
Tags:
Comment:
OptIn: Fix up r52987: use wrapWikiMsg() per Nikerabbit's suggestion
Modified paths:
  • /trunk/extensions/UsabilityInitiative/OptIn/SpecialOptIn.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/OptIn/SpecialOptIn.php
@@ -118,12 +118,9 @@
119119 }
120120 else
121121 {
122 - $wgOut->addHTML(
123 - Xml::tags(
124 - 'div',
125 - array( 'class' => 'optin-intro' ),
126 - wfMsg( 'optin-intro' )
127 - )
 122+ $wgOut->wrapWikiMsg(
 123+ "<div class='optin-intro'>\n$1\n</div>",
 124+ array( 'optin-intro' )
128125 );
129126 $this->showOptInButtons();
130127 $wgOut->addWikiMsg( 'optin-improvements' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r52987OptIn: Add a class to the intro messagecatrope17:17, 9 July 2009

Status & tagging log