Steps to replicate the issue (include links if applicable):
- open the translated page -> https://www.mediawiki.org/wiki/Manual:Image_authorization/fr
- look at steps 2 and 2.1 -> https://www.mediawiki.org/wiki/Manual:Image_authorization/fr#Apache_%C3%A9tape_2._Executer_le_script_img_auth.php_pour_tous_les_acc%C3%A8s
- but also when interline is not empty -> https://www.mediawiki.org/wiki/Manual:Image_authorization/fr#IIS_%C3%A9tape_4.1_modifier_$wgUploadPath_dans_LocalSettings.php
What happens?: a span tag has been printed on the displayed page showing the next anchor in english. It corresponds to an additional p tag generated before the next header line (which has again the anchor definition).
What should have happened instead?:
expecting no such display
Software version (skip for WMF-hosted wikis like Wikipedia):
- this refers to discussion -> https://www.mediawiki.org/wiki/Topic:Xfhy8twf4gintn6s
Other information (browser name/version, screenshots, etc.):