r48742 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48741‎ | r48742 | r48743 >
Date:14:38, 24 March 2009
Author:raymond
Status:ok
Tags:
Comment:
Wrap message into a div and add a class
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -1163,7 +1163,7 @@
11641164 $wgOut->setArticleRelated( true );
11651165
11661166 if ( $this->isConflict ) {
1167 - $wgOut->addWikiMsg( 'explainconflict' );
 1167+ $wgOut->wrapWikiMsg( "<div class='mw-explainconflict'>\n$1</div>", 'explainconflict' );
11681168
11691169 $this->textbox2 = $this->textbox1;
11701170 $this->textbox1 = $this->getContent();

Status & tagging log