dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b206ac3
)
Merge "Set a min and max on the rclimit preference"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sat, 5 Aug 2017 00:11:36 +0000
(
00:11
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 5 Aug 2017 00:11:36 +0000
(
00:11
+0000)
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',