mediawiki-extensions-Visual.../modules/ve-mw/ui/widgets
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.MWAceEditorWidget.js Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
ve.ui.MWCategoryInputWidget.js
ve.ui.MWCategoryItemWidget.js
ve.ui.MWCategoryPopupWidget.js
ve.ui.MWCategoryWidget.js Remove/fix a few small pieces of unused code 2021-05-21 11:43:45 +00:00
ve.ui.MWDismissibleMessageWidget.js Do not pass Message object to …DismissibleMessageWidget 2021-09-03 15:21:36 +00:00
ve.ui.MWEditSummaryWidget.js Document and use mw.Api parameter defaults 2021-07-12 09:13:59 +02:00
ve.ui.MWEducationPopupWidget.js Rewrite EducationPopup so it isn't a mixin 2020-09-24 21:33:50 +01:00
ve.ui.MWExternalLinkAnnotationWidget.js
ve.ui.MWGalleryGroupWidget.js
ve.ui.MWGalleryItemWidget.js Preserve inline media tag name in galleries across edits 2020-12-16 17:28:51 -05:00
ve.ui.MWInternalLinkAnnotationWidget.js MWInternalLinkAnnotationWidget: show disambiguation pages last 2021-07-27 18:36:50 -04:00
ve.ui.MWLazyMultilineTextInputWidget.js
ve.ui.MWMediaInfoFieldWidget.js
ve.ui.MWMoreParametersResultWidget.js
ve.ui.MWNoParametersResultWidget.js
ve.ui.MWParameterCheckboxInputWidget.js
ve.ui.MWParameterResultWidget.js Change style for adding an "Unknown field" in the parameter search 2021-07-08 09:20:25 +02:00
ve.ui.MWParameterSearchWidget.js Merge "Change style for adding an "Unknown field" in the parameter search" 2021-07-08 08:20:59 +00:00
ve.ui.MWPreTextInputWidget.js
ve.ui.MWTargetWidget.js Merge "Ensure correct classes are added to surfaces" 2021-05-25 19:33:17 +00:00
ve.ui.MWTemplateTitleInputWidget.js Document and use mw.Api parameter defaults 2021-07-12 09:13:59 +02:00
ve.ui.MWTocWidget.js
ve.ui.MWTransclusionOutlineButtonWidget.js Merge "Use OOUI 'classes' property instead of .addClass()" 2021-09-13 11:46:19 +00:00
ve.ui.MWTransclusionOutlineContainerWidget.js Merge "Fix and test page name splitting code in template dialog" 2021-09-13 12:23:17 +00:00
ve.ui.MWTransclusionOutlineParameterSelectWidget.js Merge "Avoid referencing methods via strings" 2021-09-13 13:28:19 +00:00
ve.ui.MWTransclusionOutlineParameterWidget.js Use OOUI 'classes' property instead of .addClass() 2021-09-11 17:41:45 +00:00
ve.ui.MWTransclusionOutlinePartWidget.js Merge "Use OOUI 'classes' property instead of .addClass()" 2021-09-13 11:46:19 +00:00
ve.ui.MWTransclusionOutlinePlaceholderWidget.js Remove unused properties from template part widget classes 2021-08-16 14:52:54 +02:00
ve.ui.MWTransclusionOutlineTemplateWidget.js Improve input validation for the add parameter page 2021-09-13 16:58:11 +02:00
ve.ui.MWTransclusionOutlineWikitextWidget.js Use the "wikitext" for content in transclusions 2021-08-17 13:06:49 +02:00