mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
actions MWLinkAction: update call to window.open 2020-10-08 18:37:47 +00:00
commands
contextitems Cleanups and optimizations related to .parseDom() 2021-09-02 18:29:09 +00:00
datatransferhandlers MWWikitextStringTransferHandler: Factor out Parsoid->DOM conversion 2021-01-20 19:49:27 +00:00
dialogs Merge "Split focus handling from add/remove parameter events" 2021-09-13 13:28:16 +00:00
elements Add icons to the show/hide button in the ExpandableContentElement 2021-06-29 08:33:22 +00:00
inspectors Merge "Don't show toolbar in MWLanguageVariantInspector text targets" 2021-08-10 01:17:08 +00:00
pages Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00
styles Merge "Better colors when clicking/pressing elements in new sidebar" 2021-09-13 10:43:29 +00:00
tools Merge "ve.ui.MWBackTool: Avoid using global ve.init.target" 2021-08-18 16:50:04 +00:00
widgets Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00
ve.ui.MWCommandRegistry.js Add command to insert non-breaking space 2021-04-08 00:09:35 +02:00
ve.ui.MWExtensionWindow.js
ve.ui.MWSequenceRegistry.js
ve.ui.MWSurface.js
ve.ui.MWWikitextCommandRegistry.js Add command to insert non-breaking space 2021-04-08 00:09:35 +02:00
ve.ui.MWWikitextDataTransferHandlerFactory.js build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
ve.ui.MWWikitextSequenceRegistry.js
ve.ui.MWWikitextSurface.js
ve.ui.MWWikitextTransferRegistry.js