dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b880e65
)
unlike the (# next) message in most cases.
author
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 27 Apr 2004 04:25:06 +0000
(
04:25
+0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 27 Apr 2004 04:25:06 +0000
(
04:25
+0000)
includes/QueryPage.php
patch
|
blob
|
history
diff --git
a/includes/QueryPage.php
b/includes/QueryPage.php
index
68db80e
..
b7901ad
100644
(file)
--- a/
includes/QueryPage.php
+++ b/
includes/QueryPage.php
@@
-71,7
+71,10
@@
class QueryPage {
$top = wfShowingResults( $offset, $num);
$wgOut->addHTML( "<p>{$top}\n" );
- $sl = wfViewPrevNext( $offset, $limit , $wgLang->specialPage( $sname ) );
+ # often disable 'next' link when we reach the end
+ if($num < $limit) { $atend = true; } else { $atend = false; }
+
+ $sl = wfViewPrevNext( $offset, $limit , $wgLang->specialPage( $sname ), "" ,$atend );
$wgOut->addHTML( "<br />{$sl}</p>\n" );
$s = "<ol start='" . ( $offset + 1 ) . "'>";