From: Alexandre Emsenhuber Date: Fri, 27 Mar 2009 20:45:53 +0000 (+0000) Subject: Per raymond, tweak for r48930: add "mw-talkpageheader" arround the newly added message X-Git-Tag: 1.31.0-rc.0~42318 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=c148b2dbf0e52babb1e364d63b732e625dc81922;p=lhc%2Fweb%2Fwiklou.git Per raymond, tweak for r48930: add "mw-talkpageheader" arround the newly added message --- diff --git a/includes/Article.php b/includes/Article.php index 9f39d377a8..1cc12f1489 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -868,7 +868,7 @@ class Article { # Allow a specific header on talk pages, like [[MediaWiki:Talkpagetext]] if( $this->mTitle->isTalkPage() ) { if ( wfMsgForContent( 'talkpageheader' ) != '-' ) { - $wgOut->addWikiMsgArray( 'talkpageheader', array(), array( 'content' ) ); + $wgOut->wrapWikiMsg( "
\n$1
", array( 'talkpageheader', 'options' => array( 'content' ) ) ); } }