Revert "Add maxlength of 6 for time correction in preferences"
authorMattflaschen <mflaschen@wikimedia.org>
Mon, 20 Oct 2014 18:01:21 +0000 (18:01 +0000)
committerMattflaschen <mflaschen@wikimedia.org>
Mon, 20 Oct 2014 18:02:27 +0000 (18:02 +0000)
commitb07b5af4854426518aca81a490aae8454ac74b02
tree193343c00e384088bbc7f585389affac9bf5651b
parentda470ce005652774049d346142b9509e89b31c6b
Revert "Add maxlength of 6 for time correction in preferences"

As noted by Bartosz, System|60 is also valid (apparently also
ZoneInfo|something, but not sure what can go after ZoneInfo), and the
maxlength interferes with this.

Maybe eventually we could revisit and use input#pattern
(http://www.w3.org/TR/html51/forms.html#the-pattern-attribute).  That
allows specifying a regex, which could have different length limits
depending whether it started with a number (AFAICT, the 6 length is valid
if it starts with a digit).

But for now, that is not urgent, and we need to fix the regression.

This reverts commit da470ce005652774049d346142b9509e89b31c6b.

Bug: 70405
Change-Id: Ib585c76688284dab78e85fb355785c06d0c3e353
includes/Preferences.php