Page MenuHomePhabricator

Using the {{Yes}} table template on English Wikipedia and having other table cell attributes separated with a | displays raw HTML
Closed, InvalidPublicBUG REPORT

Description

Example: https://en.wikipedia.org/w/index.php?title=Windows_10&oldid=891251491
Page
Expected result: Greenish background associated with table-yes

Event Timeline

Dummy edit was deliberately added to permanently mark the offending revision.

Aklapper added a subscriber: JimboWales.
Aklapper removed a subscriber: JimboWales.

Hi @erkinalp, thanks for taking the time to report this! Please do not assign tasks to random people: https://www.mediawiki.org/wiki/How_to_report_a_bug

I assume you refer to the lines

| rowspan="2" | {{Yes|Continuous}}
| rowspan="2" | {{Yes|Continuous as made available<br />(choice of ''slow'', ''fast'', or ''release preview'' ring)}}

which display style="background:#9F9;vertical-align:middle;text-align:center;" class="table-yes"|Continuous in the rendered version.
For future reference, please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and explain where and how to see the problem. Thanks.

https://en.wikipedia.org/wiki/Template:Yes says

If you want to use other attributes for the table cells, e.g. colspan or rowspan, they need to be put before the template call and there must be no vertical bar | in between them

hence closing this task as invalid.

Aklapper renamed this task from Table-yes triggers a layout bug in some situations to Using the {{Yes}} table template on English Wikipedia and having other table cell attributes separated with a | displays raw HTML.Apr 6 2019, 7:55 PM
Aklapper removed a project: MediaWiki-Parser.