On https://hu.wikipedia.org/wiki/Wikip%C3%A9dia:T%C3%B6rl%C3%A9sre_javasolt_lapok?uselang=en section edit links link to https://hu.wikipedia.org/w/index.php?title=Sablon:T%C3%B6rl%C3%A9s_link&action=edit§ion=T-1 template page, which is not correct.
The sections are on transcluded subpages.
Legacy parser gives correct links:
https://hu.wikipedia.org/wiki/Wikip%C3%A9dia:T%C3%B6rl%C3%A9sre_javasolt_lapok?uselang=en&useparsoid=0 links for example to https://hu.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:T%C3%B6rl%C3%A9sre_javasolt_lapok/Alekszandar_Sztojanovski&action=edit§ion=T-1
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T391624 Parsoid section edit link issues | |||
| Open | BUG REPORT | None | T422291 Wrong section edit link target with Parsoid when section is transcluded |
Event Timeline
DiscussionTools reply tool problem is a separate issue, it looks like the same situation as described here: T259824: DiscussionTools's reply tool doesn't work when the comments are transcluded from another page using a template (not directly).
We’ve talked about the wrong edit links in T368095: Parsoid shows bogus section edit links. It’s because template transclusions still use the legacy parser, and so Parsoid is not aware of where the heading actually comes from. (This is also why DiscussionTools doesn’t work – it only sees data Parsoid sees. So I wouldn’t call it a separate issue.) The task got closed, but this problem hasn’t been fixed, apparently not even almost two years later.
Noting that the issue doesn't just affect small size Wikipedias, there are similar reports on German Wikipedia as well – and likely all other projects using Parsoid as the new default judging by the number of subscribers from different wikis.
Fair enough!
We've been partly using "small size" vs "larger" as a shorthand for "places where Parsoid is already the default" vs "places where it's not", but we may need to rename these milestones now that we did start deploying on larger Wikipedias :)
The new parser is still way too buggy to be used on productive projects. There are so many bugs linked to the new parser on German Wikipedia, it's really annoying. The deploying definitely started much too early.
This basically breaks the easiest ways to edit sections for templates with documentation pages. It is quite unfortunate that there is also no way to differentiate Parsoid-rendered pages from non-Parsoid ones via CSS since I’d rather hide those edit links while this bug is still active than mislead people into thinking they lead somewhere useful, like they did before.
It is quite unfortunate that there is also no way to differentiate Parsoid-rendered pages from non-Parsoid ones via CSS
Try .mw-parser-output[data-mw-parsoid-version]