Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -1031,9 +1031,10 @@ |
1032 | 1032 | function wfViewPrevNext( $offset, $limit, $link, $query = '', $atend = false ) { |
1033 | 1033 | global $wgLang; |
1034 | 1034 | $fmtLimit = $wgLang->formatNum( $limit ); |
| 1035 | + // FIXME: Why on earth this needs one message for the text and another one for tooltip?? |
1035 | 1036 | # Get prev/next link display text |
1036 | | - $prev = wfMsgHtml( 'prevn', $fmtLimit ); |
1037 | | - $next = wfMsgHtml( 'nextn', $fmtLimit ); |
| 1037 | + $prev = wfMsgExt( 'prevn', array('parsemag','escape'), $fmtLimit ); |
| 1038 | + $next = wfMsgExt( 'nextn', array('parsemag','escape'), $fmtLimit ); |
1038 | 1039 | # Get prev/next link title text |
1039 | 1040 | $pTitle = wfMsgExt( 'prevn-title', array('parsemag','escape'), $fmtLimit ); |
1040 | 1041 | $nTitle = wfMsgExt( 'nextn-title', array('parsemag','escape'), $fmtLimit ); |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1438,8 +1438,8 @@ |
1439 | 1439 | 'notitlematches' => 'No page title matches', |
1440 | 1440 | 'textmatches' => 'Page text matches', |
1441 | 1441 | 'notextmatches' => 'No page text matches', |
1442 | | -'prevn' => 'previous $1', |
1443 | | -'nextn' => 'next $1', |
| 1442 | +'prevn' => 'previous {{PLURAL:$1|$1}}', |
| 1443 | +'nextn' => 'next {{PLURAL:$1|$1}}', |
1444 | 1444 | 'prevn-title' => 'Previous $1 {{PLURAL:$1|result|results}}', |
1445 | 1445 | 'nextn-title' => 'Next $1 {{PLURAL:$1|result|results}}', |
1446 | 1446 | 'shown-title' => 'Show $1 {{PLURAL:$1|result|results}} per page', |