mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
03feb0d2a7
This fixes a whole sequence of issues: * It was actually possible to add a parameter with no name. * It was also possible to add parameters where the name is nothing but whitespace. * Pressing enter was not possible. * The button was initially enabled with the input field being empty. * Validation code was duplicated, but incomplete, which made it possible to add duplicate parameters with enter. Bug: T324381 Change-Id: I598997efc63256fd59a2b4f71fb7c3d99306bd85 |
||
---|---|---|
.. | ||
ext.templateData | ||
ext.templateData.images | ||
ext.templateDataGenerator.data | ||
ext.templateDataGenerator.editPage | ||
ext.templateDataGenerator.editTemplatePage | ||
.eslintrc.json |