|
@@ 4749-4754 (lines=6) @@
|
| 4746 |
|
|
| 4747 |
|
# Make 'previous' link |
| 4748 |
|
$prev = wfMessage( 'prevn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); |
| 4749 |
|
if ( $offset > 0 ) { |
| 4750 |
|
$plink = $this->numLink( $title, max( $offset - $limit, 0 ), $limit, |
| 4751 |
|
$query, $prev, 'prevn-title', 'mw-prevlink' ); |
| 4752 |
|
} else { |
| 4753 |
|
$plink = htmlspecialchars( $prev ); |
| 4754 |
|
} |
| 4755 |
|
|
| 4756 |
|
# Make 'next' link |
| 4757 |
|
$next = wfMessage( 'nextn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); |
|
@@ 4758-4763 (lines=6) @@
|
| 4755 |
|
|
| 4756 |
|
# Make 'next' link |
| 4757 |
|
$next = wfMessage( 'nextn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); |
| 4758 |
|
if ( $atend ) { |
| 4759 |
|
$nlink = htmlspecialchars( $next ); |
| 4760 |
|
} else { |
| 4761 |
|
$nlink = $this->numLink( $title, $offset + $limit, $limit, |
| 4762 |
|
$query, $next, 'nextn-title', 'mw-nextlink' ); |
| 4763 |
|
} |
| 4764 |
|
|
| 4765 |
|
# Make links to set number of items per page |
| 4766 |
|
$numLinks = []; |