mediawiki-extensions-Visual.../modules/ve-mw/dm/models
Andrew Kostka a38338259d Improve input validation for the add parameter page
This patch improves the error handling for when a user tries to add
a parameter which is either an alias of a existing parameter, the
primary name of a existing aliased parameter, or a name/alias of an
existing parameter which is shown with an override label.

The error message was modified to always refer to the conflicting
parameter using the same name that is has in the sidebar.

Example: A parameter named "Parameter B" is already present in the
sidebar under its alias "B". When a user tries to add "Parameter B",
the new error message will inform the user that the parameter they
are trying to add already exists as "B".

Bug: T285869
Change-Id: I762b72b6cf14eb8ff5fcef63b4dcb70e297050de
2021-09-13 16:58:11 +02:00
..
ve.dm.MWImageModel.js Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
ve.dm.MWParameterModel.js Merge "Fix incomplete template dialog event handling in new sidebar" 2021-07-16 13:07:03 +00:00
ve.dm.MWTemplateModel.js Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00
ve.dm.MWTemplatePlaceholderModel.js Remove redundant ve.dm.MWTemplatePlaceholderModel.isEmpty 2021-08-03 14:40:50 +02:00
ve.dm.MWTemplateSpecModel.js Fix …TemplateSpecModel reporting missing pages as documented 2021-09-01 14:59:03 +02:00
ve.dm.MWTransclusionContentModel.js Better name for ambiguous "empty" concept in the model 2021-08-06 15:11:44 +02:00
ve.dm.MWTransclusionModel.js Merge "Add temporary compatibility to ve.dm.MWTransclusionModel" 2021-09-01 07:33:41 +00:00
ve.dm.MWTransclusionPartModel.js Add basic QUnit tests for all transclusion outline classes 2021-08-24 11:31:14 +02:00