https://bugzilla.wikimedia.org/show_bug.cgi?id=52651
Web browser: ---
Bug ID: 52651
Summary: VisualEditor should validate template parameter values
using TemplateData information
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Editing Tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
If a parameter has '"type": "number"', VisualEditor should not allow the user
to insert other kind of values. Alternativelly, it could just warn the user but
still allow a value of the wrong type to be inserted.
This should not be restricted just to the "number" type. Other types would also
benefity from some validation (e.g., if at some point we have a type
"string/image-name", VE should check if the user provided the name of an
existing image).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l