r48933 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48932‎ | r48933 | r48934 >
Date:20:45, 27 March 2009
Author:ialex
Status:ok
Tags:
Comment:
Per raymond, tweak for r48930: add "mw-talkpageheader" arround the newly added message
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -868,7 +868,7 @@
869869 # Allow a specific header on talk pages, like [[MediaWiki:Talkpagetext]]
870870 if( $this->mTitle->isTalkPage() ) {
871871 if ( wfMsgForContent( 'talkpageheader' ) != '-' ) {
872 - $wgOut->addWikiMsgArray( 'talkpageheader', array(), array( 'content' ) );
 872+ $wgOut->wrapWikiMsg( "<div class=\"mw-talkpageheader\">\n$1</div>", array( 'talkpageheader', 'options' => array( 'content' ) ) );
873873 }
874874 }
875875

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48930* (bug 17163) Added MediaWiki:Talkpage which will be displayed when viewing t...ialex20:22, 27 March 2009

Status & tagging log