Page MenuHomePhabricator

Create dedicated input methods for "number" transclusion parameters
Open, MediumPublic1 Estimated Story Points

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The field looks like a normal unconfigured field, with no way to increment numbers by 1. It also doesn't validate against the entered value. Allows you to save letters.

image.png (941×923 px, 51 KB)

What should have happened instead?:
The field must be visually distinct from unconfigured fields. See how it is done in the gadget for a regular editor. There should also be a check for the entered values.

image.png (585×732 px, 28 KB)

Event Timeline

Jdforrester-WMF assigned this task to Krenair.
Jdforrester-WMF raised the priority of this task from to Medium.
Jdforrester-WMF updated the task description. (Show Details)

Change 169936 had a related patch set uploaded (by Jforrester):
Use widgets for wiki-page-name, wiki-user-name and number template fields

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

Change 269433 had a related patch set uploaded (by Alex Monk):
Use NumberInputWidget for number template parameter fields

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

Change 269433 abandoned by Alex Monk:
Use NumberInputWidget for number template parameter fields

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