Page MenuHomePhabricator

TableFixups is missing tablecell-splitting support for several cases
Closed, ResolvedPublic

Description

Visualdiff testing revealed several tablefixup edge cases which all seem to effectively be missing functionality in TableFixups to process table cells which have swallowed table-cell markup and which need to be split up.

The following pages are examples seen so far - they are not all of which are fixable with a single patch, but are somewhat related.

  1. https://da.wikipedia.org/w/index.php?title=Skabelon:Convinfobox/testcases&oldid=12143257&useparsoid=1
  2. https://www.mediawiki.org/w/index.php?title=User:SSastry_(WMF)/Sandbox&oldid=7930921&useparsoid=1 (reproduced from a kowiki page)
  3. https://cs.wikipedia.org/wiki/Biatlon_na_Zimn%C3%ADch_olympijsk%C3%BDch_hr%C3%A1ch_2014_%E2%80%93_kvalifikace?useparsoid=1#Po%C5%99ad%C3%AD_zem%C3%AD
  4. https://tr.wikipedia.org/wiki/Serdal_Adal%C4%B1?useparsoid=1#S%C3%BCper_Lig_Performans%C4%B1

Event Timeline

Of the four cases, the first three are relatively easy to fix. The fourth one might end up being a wontfix -- to be investigated more.

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

[mediawiki/services/parsoid@master] TableFixups: Generalize cell-splitting support

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

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

[mediawiki/services/parsoid@master] WIP: TableFixups: Fix buggy getReparseType

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

#1 & #2 are fixed by the first two patches. #3 is mostly fixed by the above patches, but not entirely. To be investigated.

ssastry renamed this task from TableFixups is missing table-splitting support for several cases to TableFixups is missing tablecell-splitting support for several cases.Oct 22 2025, 4:44 AM
ssastry updated the task description. (Show Details)
ssastry updated the task description. (Show Details)

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

[mediawiki/services/parsoid@master] WIP: Split cells need reparsing even if they are not templated

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

Change #1198097 abandoned by Subramanya Sastry:

[mediawiki/services/parsoid@master] WIP: Split cells need reparsing even if they are not templated

Reason:

squashed into parent patch

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

Change #1197377 merged by jenkins-bot:

[mediawiki/services/parsoid@master] TableFixups: Generalize cell-splitting support

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

Change #1199040 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.22.0-a29

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

Change #1199040 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.22.0-a29

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

Change #1197741 merged by jenkins-bot:

[mediawiki/services/parsoid@master] TableFixups: Fix getReparseType

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

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

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.23.0-a5

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

Change #1206434 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.23.0-a5

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