Index: trunk/phase3/includes/Article.php |
— | — | @@ -795,9 +795,9 @@ |
796 | 796 | # tents of 'pagetitle-view-mainpage' instead of the default (if |
797 | 797 | # that's not empty). |
798 | 798 | if( $this->mTitle->equals( Title::newMainPage() ) |
799 | | - && wfMsgForContent( 'pagetitle-view-mainpage' ) !== '' ) |
| 799 | + && ($m=wfMsgForContent( 'pagetitle-view-mainpage' )) !== '' ) |
800 | 800 | { |
801 | | - $wgOut->setHTMLTitle( wfMsgForContent( 'pagetitle-view-mainpage' ) ); |
| 801 | + $wgOut->setHTMLTitle( $m ); |
802 | 802 | } |
803 | 803 | |
804 | 804 | $wasRedirected = $this->showRedirectedFromHeader(); |