From: Raimond Spekking Date: Sun, 14 Feb 2010 11:36:40 +0000 (+0000) Subject: Follow-up r62358: Wrap warning message into a div with the generic "error" and a... X-Git-Tag: 1.31.0-rc.0~37773 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=f3c5572c26cae4846f68aaee7dc890d579797412;p=lhc%2Fweb%2Fwiklou.git Follow-up r62358: Wrap warning message into a div with the generic "error" and a specific "mw-moveuserpage-warning" class --- diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index eb8f50f981..02197b199c 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -132,7 +132,7 @@ class MovePageForm { $err = ''; } else { if ($this->oldTitle->getNamespace() == NS_USER && !$this->oldTitle->isSubpage() ) { - $wgOut->addWikiMsg( 'moveuserpage-warning' ); + $wgOut->wrapWikiMsg( "
\n$1\n
", 'moveuserpage-warning' ); } $wgOut->addWikiMsg( 'movepagetext' ); $movepagebtn = wfMsg( 'movepagebtn' );