r62457 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62456‎ | r62457 | r62458 >
Date:11:36, 14 February 2010
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r62358: Wrap warning message into a div with the generic "error" and a specific "mw-moveuserpage-warning" class
Modified paths:
  • /trunk/phase3/includes/specials/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialMovepage.php
@@ -132,7 +132,7 @@
133133 $err = '';
134134 } else {
135135 if ($this->oldTitle->getNamespace() == NS_USER && !$this->oldTitle->isSubpage() ) {
136 - $wgOut->addWikiMsg( 'moveuserpage-warning' );
 136+ $wgOut->wrapWikiMsg( "<div class=\"error mw-moveuserpage-warning\">\n$1\n</div>", 'moveuserpage-warning' );
137137 }
138138 $wgOut->addWikiMsg( 'movepagetext' );
139139 $movepagebtn = wfMsg( 'movepagebtn' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62358sort of fixing bug 14592: show warning when moving a user page that the user ...churchofemacs11:40, 12 February 2010

Status & tagging log