r52987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52986‎ | r52987 | r52988 >
Date:17:17, 9 July 2009
Author:catrope
Status:deferred
Tags:
Comment:
OptIn: Add a class to the intro message
Modified paths:
  • /trunk/extensions/UsabilityInitiative/OptIn/SpecialOptIn.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/OptIn/SpecialOptIn.php
@@ -49,7 +49,8 @@
5050 $this->showSurvey();
5151 }
5252 else
53 - $wgOut->addWikiMsg( 'optin-intro' );
 53+ $wgOut->addHTML( Xml::tags( 'div', array( 'class' => 'optin-intro' ),
 54+ wfMsg( 'optin-intro' ) ) );
5455 $wgOut->addHTML( Xml::hidden( 'opt', $opt ) );
5556 // Uses the optin-submit-in or optin-submit-out message
5657 if ( $opt == 'in' )

Follow-up revisions

RevisionCommit summaryAuthorDate
r53038OptIn: Fix up r52987: use wrapWikiMsg() per Nikerabbit's suggestioncatrope04:35, 10 July 2009

Status & tagging log