mediawiki-extensions-Visual.../modules/ve-mw/ui/pages
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.ui.MWAddParameterPage.js Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00
ve.ui.MWAdvancedSettingsPage.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWCategoriesPage.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWLanguagesPage.js Document and use mw.Api parameter defaults 2021-07-12 09:13:59 +02:00
ve.ui.MWParameterPage.js Add tests for ve.ui.MWParameterPage class 2021-09-11 17:39:17 +00:00
ve.ui.MWParameterPlaceholderPage.js Split focus handling from add/remove parameter events 2021-09-11 17:47:02 +00:00
ve.ui.MWSettingsPage.js eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
ve.ui.MWTemplatePage.js Fix missing and flipped template dialog help messages 2021-09-09 16:11:00 +02:00
ve.ui.MWTemplatePlaceholderPage.js Do not pass Message object to …DismissibleMessageWidget 2021-09-03 15:21:36 +00:00
ve.ui.MWTemplatesUsedPage.js Convert $.Deferred() to ve.createDeferred(), except in preinit 2019-11-02 13:06:28 +08:00
ve.ui.MWTransclusionContentPage.js Use the "wikitext" for content in transclusions 2021-08-17 13:06:49 +02:00