r49028 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49027‎ | r49028 | r49029 >
Date:09:47, 30 March 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix regression from r48990
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -867,7 +867,8 @@
868868
869869 # Allow a specific header on talk pages, like [[MediaWiki:Talkpagetext]]
870870 if( $this->mTitle->isTalkPage() ) {
871 - if ( wfMsg( 'talkpageheader' ) != '-' ) {
 871+ $msg = wfMsgNoTrans( 'talkpageheader' );
 872+ if ( $msg !== '-' && !wfEmptyMsg( 'talkpageheader', $msg ) ) {
872873 $wgOut->wrapWikiMsg( "<div class=\"mw-talkpageheader\">\n$1</div>", array( 'talkpageheader' ) );
873874 }
874875 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48990Fixes for r48930:...ialex11:04, 29 March 2009

Status & tagging log