Background
Currently, there is a wikitext button represented by the [[]] icon. When clicking it, it removes any validation or any specialized input. It only appears for some inputs. We plan to remove it without providing a direct replacement (the alternative behavior when needed is to simply switch to full wiki-text editing mode – this is already done frequently, is necessary in many situations, and seems to be the standard workflow, even with the button).
Issues:
- The button is confusing. In testing users did not understand what it was for. Adding to the confusion, it's unclear why it shows up sometimes and not others.
- It almost never necessary to click this button to type in wikitext. The standard input fields almost always understand wikitext and do not block users. Making it seem like a separate action is needed, can add confusion to an already established issue of users not understanding when wikitext is needed/allowed within VE.
- It increases the number of tab stops needed to get from input field to input field, making keyboard navigation more difficult.
- It was originally added with the idea of validation being added in the future. After the research of this project, adding validation to the huge variety of community-created templates would not be recommended, maybe not even possible. Validation only currently occurs in a few limited ways.
Requirements
- Remove all [[]] buttons from the template dialog. The button should not be shown for any situation, including the edge case below.
- Functionality should remain for edge cases, e.g. when a boolean uses the number 2. This value should be shown in a wikitext field. The button is still not displayed.
Nice to have:
-
Any extra styling (gray color, monospace font) is removed.No need to do anything about this for now. Will be removed when we can delete all unused code from the codebase.