mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Use less repetitive code when calling .showHandles() 2021-09-03 09:16:22 +02:00
dm Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00
init Comment & compact targetLinksToNewWindow related syntax 2021-09-03 14:57:29 +02:00
preinit Cleanups and optimizations related to .parseDom() 2021-09-02 18:29:09 +00:00
tests Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00
themes doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ui Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00