Page MenuHomePhabricator

Contents disappear if two <nowiki> tags inside a table
Closed, InvalidPublic

Description

Author: suruena

Description:
If we use two pairs of <nowiki> tags inside a table cell to avoid two different internal links (wikis)--the first is a piped wiki, but not the second one--, the text of that cell is not shown until the pipe (see the link). However, if you edit the page the contents are still there (no data lost), they are simply not shown.

If the second wiki is piped, the text until that second pipe disappears, but the condition is the _two pairs_ of nowiki tags _inside a table_


Version: 1.12.x
Severity: normal
URL: http://en.wikipedia.org/w/index.php?title=Wikipedia:WikiProject_Accessibility&diff=165487733&oldid=165446300

Details

Reference
bz11703

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:56 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz11703.
bzimport added a subscriber: Unknown Object (MLST).

The | character is part of table syntax. When used inside a link, the link takes priority; when you de-link the link, then the | gets used as for tables.

In this instance, the "|blah | foo" construct means that "blah" is taken as HTML attributes for the table cell, and "foo" is the cell content.

You want to <nowiki> the whole link, probably.