Watchlist preferences: Disallow zero value for days/limit
authorKosta Harlan <kharlan@wikimedia.org>
Thu, 6 Sep 2018 14:50:08 +0000 (10:50 -0400)
committerKosta Harlan <kharlan@wikimedia.org>
Thu, 6 Sep 2018 17:17:06 +0000 (13:17 -0400)
commit89dcdfa826d086439fbec883987f5800695ae39c
tree32955dcc677ac91b433c97ee5407ca006f1389ea
parentda0e763e57bf8df238954bebbd495e6d4bc5a8f0
Watchlist preferences: Disallow zero value for days/limit

"0" used to work as an undocumented shortcut for "maximum allowed" days/edits,
but this behavior was removed in If6280ad6fbad65909e1d0b2a48344e24d485aca2

This commit brings the preference options into alignment with how the code
functions.

Bug: T199049
Bug: T176033
Change-Id: I5ffd87565df6b3c602d1f69d9d63621a817ce8cf
includes/preferences/DefaultPreferencesFactory.php