mediawiki-extensions-Templa.../modules/ext.templateDataGenerator.data
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
..
init.js Migrate to package files: ext.templateDataGenerator.data 2020-12-04 19:41:30 +01:00
Model.js Turn deprecated/required/suggested checkboxes into select widget 2023-11-16 14:06:06 +01:00
SourceHandler.js Don't extract template parameters from <pre> 2022-03-03 21:20:40 +00:00