Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -848,11 +848,11 @@ |
849 | 849 | |
850 | 850 | $summary = wfMsg('summary'); |
851 | 851 | $subject = wfMsg('subject'); |
852 | | - $minor = wfMsg('minoredit'); |
853 | | - $watchthis = wfMsg ('watchthis'); |
| 852 | + $minor = wfMsgExt('minoredit', array('parseinline')); |
| 853 | + $watchthis = wfMsgExt('watchthis', array('parseinline')); |
854 | 854 | |
855 | 855 | $cancel = $sk->makeKnownLink( $this->mTitle->getPrefixedText(), |
856 | | - wfMsg('cancel') ); |
| 856 | + wfMsgExt('cancel', array('parseinline')) ); |
857 | 857 | $edithelpurl = $sk->makeInternalOrExternalUrl( wfMsgForContent( 'edithelppage' )); |
858 | 858 | $edithelp = '<a target="helpwindow" href="'.$edithelpurl.'">'. |
859 | 859 | htmlspecialchars( wfMsg( 'edithelp' ) ).'</a> '. |
— | — | @@ -1182,7 +1182,7 @@ |
1183 | 1183 | $batch->execute(); |
1184 | 1184 | |
1185 | 1185 | # Construct the HTML |
1186 | | - $outText = '<br />'. wfMsg( 'templatesused' ) . '<ul>'; |
| 1186 | + $outText = '<br />'. wfMsgExt( 'templatesused', array( 'parseinline' ) ) . '<ul>'; |
1187 | 1187 | foreach ( $templates as $titleObj ) { |
1188 | 1188 | $outText .= '<li>' . $sk->makeLinkObj( $titleObj ) . '</li>'; |
1189 | 1189 | } |
— | — | @@ -1615,8 +1615,8 @@ |
1616 | 1616 | $oldtext = $this->mArticle->fetchContent(); |
1617 | 1617 | $newtext = $this->mArticle->replaceSection( |
1618 | 1618 | $this->section, $this->textbox1, $this->summary, $this->edittime ); |
1619 | | - $oldtitle = wfMsg( 'currentrev' ); |
1620 | | - $newtitle = wfMsg( 'yourtext' ); |
| 1619 | + $oldtitle = wfMsgExt( 'currentrev', array('parseinline') ); |
| 1620 | + $newtitle = wfMsgExt( 'yourtext', array('parseinline') ); |
1621 | 1621 | if ( $oldtext !== false || $newtext != '' ) { |
1622 | 1622 | $de = new DifferenceEngine( $this->mTitle ); |
1623 | 1623 | $de->setText( $oldtext, $newtext ); |
Index: trunk/phase3/includes/DifferenceEngine.php |
— | — | @@ -426,7 +426,7 @@ |
427 | 427 | |
428 | 428 | function localiseLineNumbersCb( $matches ) { |
429 | 429 | global $wgLang; |
430 | | - return wfMsg( 'lineno', $wgLang->formatNum( $matches[1] ) ); |
| 430 | + return wfMsgExt( 'lineno', array('parseinline'), $wgLang->formatNum( $matches[1] ) ); |
431 | 431 | } |
432 | 432 | |
433 | 433 | /** |