Page MenuHomePhabricator

Two exclamation points in "display: none;" inside a table cell cause Linter errors and Parsoid display errors
Open, MediumPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The first link renders properly but reports false positive Linter errors.

The second link displays improperly.

I reported this issue at T403931, but that ticket was closed without fixing this problem. I know that the devs don't like it when people reopen bugs, so I'm opening a separate ticket.

What should have happened instead?:

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

ABreault-WMF subscribed.

I reported this issue at T403931, but that ticket was closed without fixing this problem. I know that the devs don't like it when people reopen bugs, so I'm opening a separate ticket.

As discussed in T403931#11628250, it's not the same issue. Briefly,

! [[wikilink|should not!!break]]

whereas

| should never !! break
MSantos triaged this task as Medium priority.Mar 5 2026, 3:22 PM

Change #1240400 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/services/parsoid@master] WIP: Introduce new reparse scenario to handle <th> after <td>

https://gerrit.wikimedia.org/r/1240400

Change #1240400 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Introduce new reparse scenario to handle <th> after <td>

https://gerrit.wikimedia.org/r/1240400

Change #1316079 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/services/parsoid@master] TableFixups: Fix incorrect assumption while undoing th tokenization

https://gerrit.wikimedia.org/r/1316079

Change #1316079 merged by jenkins-bot:

[mediawiki/services/parsoid@master] TableFixups: Refactor getReparseType + fix bugs in td-th merge scenarios

https://gerrit.wikimedia.org/r/1316079

Change #1320187 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.24.0-a18

https://gerrit.wikimedia.org/r/1320187

Change #1320187 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.24.0-a18

https://gerrit.wikimedia.org/r/1320187

The pages in the task description are not fixed. So, moving back to in-progress.

Change #1332855 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/services/parsoid@master] WIP: undo th-tokenization more thoroughly

https://gerrit.wikimedia.org/r/1332855