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:
87d9b01
)
Set a min and max on the rclimit preference
author
Roan Kattouw
<roan.kattouw@gmail.com>
Fri, 4 Aug 2017 23:44:49 +0000
(16:44 -0700)
committer
Roan Kattouw
<roan.kattouw@gmail.com>
Fri, 4 Aug 2017 23:45:21 +0000
(16:45 -0700)
The same values as wllimit.
Change-Id: I1fbc063455799f7d886d26c7030662f431feb627
includes/Preferences.php
patch
|
blob
|
history
diff --git
a/includes/Preferences.php
b/includes/Preferences.php
index
de6d681
..
15ed2d4
100644
(file)
--- a/
includes/Preferences.php
+++ b/
includes/Preferences.php
@@
-901,6
+901,8
@@
class Preferences {
];
$defaultPreferences['rclimit'] = [
'type' => 'int',
+ 'min' => 0,
+ 'max' => 1000,
'label-message' => 'recentchangescount',
'help-message' => 'prefs-help-recentchangescount',
'section' => 'rc/displayrc',