* @addtogroup SpecialPage
*/
-class ContribsPager extends IndexPager {
+class ContribsPager extends ReverseChronologicalPager {
public $mDefaultDirection = true;
var $messages, $target;
var $namespace = '', $mDb;
return "</ul>\n";
}
- function getNavigationBar() {
- if ( isset( $this->mNavigationBar ) ) {
- return $this->mNavigationBar;
- }
- $linkTexts = array(
- 'prev' => wfMsgHtml( "sp-contributions-newer", $this->mLimit ),
- 'next' => wfMsgHtml( 'sp-contributions-older', $this->mLimit ),
- 'first' => wfMsgHtml('sp-contributions-newest'),
- 'last' => wfMsgHtml( 'sp-contributions-oldest' )
- );
-
- $pagingLinks = $this->getPagingLinks( $linkTexts );
- $limitLinks = $this->getLimitLinks();
- $limits = implode( ' | ', $limitLinks );
-
- $this->mNavigationBar = "({$pagingLinks['first']} | {$pagingLinks['last']}) " .
- wfMsgHtml("viewprevnext", $pagingLinks['prev'], $pagingLinks['next'], $limits);
- return $this->mNavigationBar;
- }
-
/**
* Generates each row in the contributions list.
*
'unusedcategoriestext' => 'The following category pages exist although no other page or category make use of them.',
'notargettitle' => 'No target',
'notargettext' => 'You have not specified a target page or user to perform this function on.',
-'pager-newer-n' => '{{PLURAL:$1|1 newer|$1 newer}}',
-'pager-older-n' => '{{PLURAL:$1|1 older|$1 older}}',
+'pager-newer-n' => '{{PLURAL:$1|newer 1|newer $1}}',
+'pager-older-n' => '{{PLURAL:$1|older 1|older $1}}',
# Book sources
'booksources' => 'Book sources',
'month' => 'From month (and earlier):',
'year' => 'From year (and earlier):',
-'sp-contributions-newest' => 'Newest',
-'sp-contributions-oldest' => 'Oldest',
-'sp-contributions-newer' => 'Newer $1',
-'sp-contributions-older' => 'Older $1',
'sp-contributions-newbies' => 'Show contributions of new accounts only',
'sp-contributions-newbies-sub' => 'For new accounts',
'sp-contributions-blocklog' => 'Block log',