Index: trunk/phase3/includes/cache/MessageCache.php |
— | — | @@ -834,14 +834,9 @@ |
835 | 835 | |
836 | 836 | $parser = $this->getParser(); |
837 | 837 | $popts = $this->getParserOptions(); |
| 838 | + $popts->setInterfaceMessage( $interface ); |
| 839 | + $popts->setTargetLanguage( $language ); |
838 | 840 | |
839 | | - if ( $interface ) { |
840 | | - $popts->setInterfaceMessage( true ); |
841 | | - } |
842 | | - if ( $language !== null ) { |
843 | | - $popts->setTargetLanguage( $language ); |
844 | | - } |
845 | | - |
846 | 841 | wfProfileIn( __METHOD__ ); |
847 | 842 | if ( !$title || !$title instanceof Title ) { |
848 | 843 | global $wgTitle; |