mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
b2574932e9
* 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 |
||
---|---|---|
.. | ||
init.js | ||
Model.js | ||
SourceHandler.js |