mediawiki-extensions-Templa.../modules/ext.templateDataGenerator.editTemplatePage
Thiemo Kreuz b2574932e9 Turn deprecated/required/suggested checkboxes into select widget
* deprecated means "please do not use this".
* required means "you must use this".
* suggested means "it's a good idea to use this".
* optional means "you typically don't need this".

There is no combination that makes any sense. They are really
exclusive to each other.

Still we have to keep the three checkboxes for backwards
compatibility reasons. It was always possible (and will probably
continue to be possible) to have more than one of the three fields
enabled. While users like VisualEditor will make a good guess (e.g.
ignore the rest when "deprecated" is checked) I really think we
should not attempt to hide (and auto-fix) it in this dialog. That's
why the proposed code continues to show the old checkboxes when
more than one is checked.

Bug: T202851
Change-Id: I994268d658602761b180f489bedb50b91fe0c419
2023-11-16 14:06:06 +01:00
..
widgets TemplateData editor: Use built-in 'allowLinebreaks' option 2023-10-25 08:27:57 -04:00
.eslintrc.json Add an "Edit template data" button to the TemplateData output 2022-11-08 13:36:38 +00:00
Dialog.js Turn deprecated/required/suggested checkboxes into select widget 2023-11-16 14:06:06 +01:00
init.js Add an "Edit template data" button to the TemplateData output 2022-11-08 13:36:38 +00:00
Metrics.js Update TemplateDataEditor logging for IP masking 2023-04-18 19:30:54 +00:00
Target.js build: Update devDependencies 2022-03-13 17:17:03 +00:00
templateDataGenerator.placeholder.less stylelint: Enable selector-pseudo-element-colon-notation 2023-03-30 01:01:00 +02:00
templateDataGenerator.ui.less Fix "Add new map" button overflowing in other languages 2023-08-23 13:59:03 +02:00