|
@@ 4672-4677 (lines=6) @@
|
| 4669 |
|
|
| 4670 |
|
# Make 'previous' link |
| 4671 |
|
$prev = wfMessage( 'prevn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); |
| 4672 |
|
if ( $offset > 0 ) { |
| 4673 |
|
$plink = $this->numLink( $title, max( $offset - $limit, 0 ), $limit, |
| 4674 |
|
$query, $prev, 'prevn-title', 'mw-prevlink' ); |
| 4675 |
|
} else { |
| 4676 |
|
$plink = htmlspecialchars( $prev ); |
| 4677 |
|
} |
| 4678 |
|
|
| 4679 |
|
# Make 'next' link |
| 4680 |
|
$next = wfMessage( 'nextn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); |
|
@@ 4681-4686 (lines=6) @@
|
| 4678 |
|
|
| 4679 |
|
# Make 'next' link |
| 4680 |
|
$next = wfMessage( 'nextn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); |
| 4681 |
|
if ( $atend ) { |
| 4682 |
|
$nlink = htmlspecialchars( $next ); |
| 4683 |
|
} else { |
| 4684 |
|
$nlink = $this->numLink( $title, $offset + $limit, $limit, |
| 4685 |
|
$query, $next, 'nextn-title', 'mw-nextlink' ); |
| 4686 |
|
} |
| 4687 |
|
|
| 4688 |
|
# Make links to set number of items per page |
| 4689 |
|
$numLinks = []; |