r73121 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73120‎ | r73121 | r73122 >
Date:16:13, 16 September 2010
Author:catrope
Status:deferred
Tags:
Comment:
SimpleSurvey: Escape message per r73116 CR
Modified paths:
  • /trunk/extensions/SimpleSurvey/SpecialSimpleSurvey.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SimpleSurvey/SpecialSimpleSurvey.php
@@ -55,7 +55,7 @@
5656 if ( $wgRequest->wasPosted() ) {
5757 if ( $surveyName && in_array( $surveyName, $wgValidSurveys ) && $this->checkToken() ) {
5858 SimpleSurvey::save( $surveyName, $wgPrefSwitchSurveys[$surveyName] );
59 - $wgOut->addHtml( '<strong class="simplesurvey-success">' . wfMsg( 'simple-survey-confirm' ) . '</strong>' );
 59+ $wgOut->addHtml( '<strong class="simplesurvey-success">' . wfMsgHtml( 'simple-survey-confirm' ) . '</strong>' );
6060 }
6161 // forward to new page
6262 if ( $wgSimpleSurveyRedirectURL ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r73116SimpleSurvey: Put the success message in <strong class="simplesurvey-success"...catrope15:47, 16 September 2010

Status & tagging log