Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -2767,7 +2767,7 @@ |
2768 | 2768 | * @private |
2769 | 2769 | */ |
2770 | 2770 | function braceSubstitution( $piece, $frame ) { |
2771 | | - global $wgContLang, $wgLang, $wgAllowDisplayTitle, $wgNonincludableNamespaces; |
| 2771 | + global $wgContLang, $wgAllowDisplayTitle, $wgNonincludableNamespaces; |
2772 | 2772 | wfProfileIn( __METHOD__ ); |
2773 | 2773 | wfProfileIn( __METHOD__.'-setup' ); |
2774 | 2774 | |
— | — | @@ -3148,8 +3148,8 @@ |
3149 | 3149 | if( $rev ) { |
3150 | 3150 | $text = $rev->getText(); |
3151 | 3151 | } elseif( $title->getNamespace() == NS_MEDIAWIKI ) { |
3152 | | - global $wgLang; |
3153 | | - $message = $wgLang->lcfirst( $title->getText() ); |
| 3152 | + global $wgContLang; |
| 3153 | + $message = $wgContLang->lcfirst( $title->getText() ); |
3154 | 3154 | $text = wfMsgForContentNoTrans( $message ); |
3155 | 3155 | if( wfEmptyMsg( $message, $text ) ) { |
3156 | 3156 | $text = false; |