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