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:
545c990
)
Never trust preferences
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 18 Apr 2006 20:38:58 +0000
(20:38 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 18 Apr 2006 20:38:58 +0000
(20:38 +0000)
includes/SpecialWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/SpecialWatchlist.php
b/includes/SpecialWatchlist.php
index
368030d
..
16431d8
100644
(file)
--- a/
includes/SpecialWatchlist.php
+++ b/
includes/SpecialWatchlist.php
@@
-262,7
+262,7
@@
function wfSpecialWatchlist( $par ) {
# Toggle watchlist content (all recent edits or just the latest)
if( $wgUser->getOption( 'extendwatchlist' )) {
$andLatest='';
- $limitWatchlist = 'LIMIT ' .
$wgUser->getOption( 'wllimit'
);
+ $limitWatchlist = 'LIMIT ' .
intval( $wgUser->getOption( 'wllimit' )
);
} else {
$andLatest= 'AND rc_this_oldid=page_latest';
$limitWatchlist = '';