Page MenuHomePhabricator

mw.widgets.TitleInputWidget should have 'maxLength' and use $.byteLimit
Closed, ResolvedPublic

Description

mw.widgets.TitleInputWidget should have 'maxLength' and $.byteLimit. The limit should depend on widget's titles' namespace (as the namespace name doesn't count to the limit of 255 bytes of length). Currently the widget only marks overly long titles as invalid.

Event Timeline

matmarex raised the priority of this task from to Needs Triage.
matmarex updated the task description. (Show Details)
matmarex added subscribers: matmarex, Esanders.

Change 231022 had a related patch set uploaded (by Bartosz Dziewoński):
TitleInputWidget: Add 'maxLength' of 255 and use $.byteLimit

https://gerrit.wikimedia.org/r/231022

matmarex triaged this task as Medium priority.Aug 13 2015, 7:43 PM

Change 231022 merged by jenkins-bot:
TitleInputWidget: Add 'maxLength' of 255 and use $.byteLimit

https://gerrit.wikimedia.org/r/231022