Steps to replicate the issue (include links if applicable):
- Use desktop skin other than Vector-2022
- Visit https://no.wikipedia.org/wiki/Wikipedia:Torget?useparsoid=1&useskin=vector
- Compare with https://no.wikipedia.org/wiki/Wikipedia:Tinget?useparsoid=0&useskin=vector
What happens?:
The TOC, which is added with __TOC__ in one of the templates is not visible when Parsoid is used (Mal:Trådinfo), inside a div element and before a table element.
What should have happened instead?:
The TOC should be shown. It actually appears in the DOM, but inside a span class="mw-empty-elt"
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):