Small (but visible) templates are shown with the icon meant for invisible templates, for example {{' "}} (which outputs those two characters with a thin space): https://en.wikipedia.org/wiki/Goldwater_rule#Violations
Description
Details
Related Objects
- Mentioned In
- T309224: Template node invisible in some cases
Event Timeline
Focusable nodes set an arbitrary minimum size of 8x8, this template is 5x16. Previously we also allowed anything that contained text content. This second check was dropped as it failed on text that was wrapped in display:none.
I think it makes sense to have a minimum size requirement event if there is text content, but it should perhaps allow the rectangular dimension of a single glyph.
Change 789158 had a related patch set uploaded (by Esanders; author: Esanders):
[VisualEditor/VisualEditor@master] Change focusable minimum size from >8x8 to >=10x4
Change 789158 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Change focusable minimum size from >8x8 to >=10x4
Change 790015 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (da708802f)
Change 790015 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (da708802f)
After fix, the icon meant for invisible templates is not displayed - expected behavior
Edit mode:
Read mode:
Before fix:
Edit mode
Read mode:
T307527 describes a regression, the {{Use ... English}} templates e.g. on https://en.wikipedia.org/wiki/South_Mackay,_Queensland are no longer visible
Change 793566 had a related patch set uploaded (by Esanders; author: Esanders):
[VisualEditor/VisualEditor@master] Follow-up Ic15dd21f: Fix typo width->height
Change 793566 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Follow-up Ic15dd21f: Fix typo width->height
Change 793746 had a related patch set uploaded (by Esanders; author: Esanders):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (776219f4b)
Change 793746 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (776219f4b)
{{Use Australian English}} visible on https://en.wikipedia.beta.wmflabs.org/wiki/Bluey_(dog)?veaction=edit
I confirmed this as well as the other small templates. T307527#7915871 remains valid.