mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-12 06:27:01 +00:00
1f4880181e
Any of these characters results in bad wikitext, when we accept it in a template parameter name. Instead of displaying an error message we simply block the button, as long as the input is not a valid parameter name. Coming up with a message is not really worth it, I would argue. Users typically don't have a reason to use any of these characters. This is super rare. And even if, the behavior of the widget is not hard to understand, I believe. The same is done in ve.ui.MWParameterSearchWidget, a little hidden in the .addResults() method. Not yet approved by UX. Can be done in demo time. Bug: T285869 Change-Id: I5576cdfb90411e5fdec93749f72939d31ecd9c56 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
preinit | ||
tests | ||
themes | ||
ui |