Wrap message into a div and add a class
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 24 Mar 2009 14:38:13 +0000 (14:38 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 24 Mar 2009 14:38:13 +0000 (14:38 +0000)
includes/EditPage.php

index b50055a..2fedb42 100644 (file)
@@ -1163,7 +1163,7 @@ class EditPage {
                $wgOut->setArticleRelated( true );
 
                if ( $this->isConflict ) {
-                       $wgOut->addWikiMsg( 'explainconflict' );
+                       $wgOut->wrapWikiMsg( "<div class='mw-explainconflict'>\n$1</div>", 'explainconflict' );
 
                        $this->textbox2 = $this->textbox1;
                        $this->textbox1 = $this->getContent();