Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -308,7 +308,7 @@ |
309 | 309 | if( !$usertalktitle->equals( $this->mTitle ) ) { |
310 | 310 | $newmessageslink = $this->link( |
311 | 311 | $usertalktitle, |
312 | | - wfMsgHtml( 'newmessageslink' ), |
| 312 | + wfMsgExt( 'newmessageslink', array( 'parsemag', 'escape' ) ), |
313 | 313 | array(), |
314 | 314 | array( 'redirect' => 'no' ), |
315 | 315 | array( 'known', 'noclasses' ) |
— | — | @@ -316,7 +316,7 @@ |
317 | 317 | |
318 | 318 | $newmessagesdifflink = $this->link( |
319 | 319 | $usertalktitle, |
320 | | - wfMsgHtml( 'newmessagesdifflink', $newmessagescount ), |
| 320 | + wfMsgExt( 'newmessagesdifflink', array( 'parsemag', 'escape' ), $newmessagescount ), |
321 | 321 | array(), |
322 | 322 | array( 'diff' => 'cur' ), |
323 | 323 | array( 'known', 'noclasses' ) |
— | — | @@ -325,7 +325,7 @@ |
326 | 326 | $ntl = wfMsg( |
327 | 327 | 'youhavenewmessages', |
328 | 328 | $newmessageslink, |
329 | | - $newmessagesdifflink, |
| 329 | + $newmessagesdifflink |
330 | 330 | ); |
331 | 331 | # Disable Cache |
332 | 332 | $out->setSquidMaxage( 0 ); |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1044,7 +1044,7 @@ |
1045 | 1045 | |
1046 | 1046 | $tl = $this->link( |
1047 | 1047 | $wgUser->getTalkPage(), |
1048 | | - wfMsgHtml( 'newmessageslink'), |
| 1048 | + wfMsgExt( 'newmessageslink', array( 'parsemag', 'escape' ) ), |
1049 | 1049 | array(), |
1050 | 1050 | array( 'redirect' => 'no' ), |
1051 | 1051 | array( 'known', 'noclasses' ) |
— | — | @@ -1052,7 +1052,7 @@ |
1053 | 1053 | |
1054 | 1054 | $dl = $this->link( |
1055 | 1055 | $wgUser->getTalkPage(), |
1056 | | - wfMsgHtml( 'newmessagesdifflink', $nu ), |
| 1056 | + wfMsgExt( 'newmessagesdifflink', array( 'parsemag', 'escape' ), $nu ), |
1057 | 1057 | array(), |
1058 | 1058 | array( 'diff' => 'cur' ), |
1059 | 1059 | array( 'known', 'noclasses' ) |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -894,9 +894,9 @@ |
895 | 895 | 'pagetitle' => '$1 - {{SITENAME}}', # only translate this message to other languages if you have to change it |
896 | 896 | 'pagetitle-view-mainpage' => '{{SITENAME}}', # only translate this message to other languages if you have to change it |
897 | 897 | 'retrievedfrom' => 'Retrieved from "$1"', |
898 | | -'youhavenewmessages' => 'You have $3 $1 ($2).', |
899 | | -'newmessageslink' => '{{PLURAL:$1|new message|new messages}}', |
900 | | -'newmessagesdifflink' => 'last change', |
| 898 | +'youhavenewmessages' => 'You have $1 ($2).', |
| 899 | +'newmessageslink' => 'new messages', |
| 900 | +'newmessagesdifflink' => '{{PLURAL:$1|one change|$1 changes}}', |
901 | 901 | 'youhavenewmessagesmulti' => 'You have new messages on $1', |
902 | 902 | 'newtalkseparator' => ', ', # do not translate or duplicate this message to other languages |
903 | 903 | 'editsection' => 'edit', |