Steps to reproduce
- Open https://hu.wiktionary.org/w/index.php?title=sohase&useparsoid=0.
- Notice that there are no section edit links (even though both sections use ==, not <h#>).
- Open https://hu.wiktionary.org/w/index.php?title=sohase&useparsoid=1.
- Notice that the section edit links are there. Yay!
- Click on either of them.
Actual result
- You get a “cannot find section” error, because the link pointed to the template that’s directly transcluded in the article, but the section title is even deeper in the transclusion chain.
Expected result
- Either the section edit links work, or they aren’t there. (Since the legacy parser doesn’t show them either, not showing them wouldn’t be a regression.)