Page MenuHomePhabricator

Templates generating non-text content, like images, are not handled correctly when deciding to show the puzzle icon
Closed, ResolvedPublic

Description

There is a curious case of the template: https://test2.wikipedia.org/wiki/Template:No_spam {{@}}.
Inserting {{@}} will display the icon, just as for the hidden template: 'Use British English'.

Templates generating non-text content, like images, are not handled correctly.

Event Timeline

matmarex raised the priority of this task from to Medium.
matmarex updated the task description. (Show Details)
matmarex added subscribers: Etonkovidova, Mooeypoo.

This was supposed to be fixed in a followup commit, and I can't reproduce it now. The {{No spam}} template produces a square with @ in it (as it should) and without the template icon. Tested on test2 and betalabs.

Is this still happening?

matmarex assigned this task to Esanders.
matmarex set Security to None.
matmarex subscribed.

Yeah, it was fixed by Ed's f86b8aef747720bb279f6dbd430fda556dec4108.