Steps to replicate the issue (include links if applicable):
- to simplify I create in the test environment a duplicated subsection 'User' on page -> https://test.wikipedia.org/wiki/User:Wladek92/traduc
- I make this page translatable
- I update the FR version page just as an example -> https://test.wikipedia.org/wiki/User:Wladek92/traduc/fr
- In a separate page -> https://test.wikipedia.org/wiki/User:Wladek92/test I code some link forms to access the sections of the translated page above
What happens?:
- links to EN page access the respective sections -> ok, and specially for 'User 2'
- links to FR page access the respective sections -> ok, if the section name is unique, nok if it is duplicated and specially 'User 2' is no longer known (we stay at the top of FR page)
What should have happened instead?:
- links to duplicated section names on the translated pages must have the same behaviour as in the initial EN page.
- as a workaround I added manually an "anchor" definition in the EN page just before the occurence of the second title but this is expected to be done automatially (as for single titles)
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- initial doubt about this behaviour has been reported in this topic and was related to page -> https://www.mediawiki.org/wiki/Edit_check/Tone_Check
- it appears that using EN anchors in the translated pages has forgotten the user case when title is 2+ duplicated
- check also what happens with more than 2 occurences .
Thanks.