Index: trunk/phase3/includes/specials/SpecialNewimages.php |
— | — | @@ -184,12 +184,14 @@ |
185 | 185 | $botLink = $sk->makeKnownLinkObj($titleObj, wfMsgHtml( 'showhidebots', |
186 | 186 | ($hidebots ? wfMsgHtml('show') : wfMsgHtml('hide'))),'hidebots='.($hidebots ? '0' : '1').$searchpar); |
187 | 187 | |
188 | | - $prevLink = wfMsgHtml( 'prevn', $wgLang->formatNum( $limit ) ); |
| 188 | + |
| 189 | + $opts = array( 'parsemag', 'escapenoentities' ); |
| 190 | + $prevLink = wfMsgExt( 'prevn', $opts, $wgLang->formatNum( $limit ) ); |
189 | 191 | if( $firstTimestamp && $firstTimestamp != $latestTimestamp ) { |
190 | 192 | $prevLink = $sk->makeKnownLinkObj( $titleObj, $prevLink, 'from=' . $firstTimestamp . $botpar . $searchpar ); |
191 | 193 | } |
192 | 194 | |
193 | | - $nextLink = wfMsgHtml( 'nextn', $wgLang->formatNum( $limit ) ); |
| 195 | + $nextLink = wfMsgExt( 'nextn', $opts, $wgLang->formatNum( $limit ) ); |
194 | 196 | if( $shownImages > $limit && $lastTimestamp ) { |
195 | 197 | $nextLink = $sk->makeKnownLinkObj( $titleObj, $nextLink, 'until=' . $lastTimestamp.$botpar.$searchpar ); |
196 | 198 | } |
Index: trunk/phase3/includes/Pager.php |
— | — | @@ -486,10 +486,6 @@ |
487 | 487 | * @ingroup Pager |
488 | 488 | */ |
489 | 489 | abstract class AlphabeticPager extends IndexPager { |
490 | | - function __construct() { |
491 | | - parent::__construct(); |
492 | | - } |
493 | | - |
494 | 490 | /** |
495 | 491 | * Shamelessly stolen bits from ReverseChronologicalPager, |
496 | 492 | * didn't want to do class magic as may be still revamped |
— | — | @@ -501,11 +497,12 @@ |
502 | 498 | return $this->mNavigationBar; |
503 | 499 | } |
504 | 500 | |
| 501 | + $opts = array( 'parsemag', 'escapenoentities' ); |
505 | 502 | $linkTexts = array( |
506 | | - 'prev' => wfMsgHtml( 'prevn', $wgLang->formatNum( $this->mLimit ) ), |
507 | | - 'next' => wfMsgHtml( 'nextn', $wgLang->formatNum($this->mLimit ) ), |
508 | | - 'first' => wfMsgHtml( 'page_first' ), |
509 | | - 'last' => wfMsgHtml( 'page_last' ) |
| 503 | + 'prev' => wfMsgExt( 'prevn', $opts, $wgLang->formatNum( $this->mLimit ) ), |
| 504 | + 'next' => wfMsgExt( 'nextn', $opts, $wgLang->formatNum($this->mLimit ) ), |
| 505 | + 'first' => wfMsgExt( 'page_first', $opts ), |
| 506 | + 'last' => wfMsgExt( 'page_last', $opts ) |
510 | 507 | ); |
511 | 508 | |
512 | 509 | $pagingLinks = $this->getPagingLinks( $linkTexts ); |