Steps to replicate the issue (include links if applicable):
Comments
#top fragment is present in
- edit summaries when editing the lead section using a popular gadget
- links to talk pages on these pages themselves
Related tasks
T349653
Jack_who_built_the_house | |
Mar 17 2024, 10:13 PM |
F42708417: image.png | |
Mar 17 2024, 10:13 PM |
Steps to replicate the issue (include links if applicable):
Comments
#top fragment is present in
Related tasks
T349653
It only triggers if an element with that ID isn't present on the page, which #top isn't since it's not part of the default skin, so a fun part of this is that there's a lot of semi-broken links being generated by the enwiki default signature (and that gadget).
I wonder if the "right" fix here is to make Vector2022 have an <a id="top"> again...
e.g. https://en.wikipedia.org/wiki/User_talk:Aaron_Liu?dtenable=1&useskin=vector#top won't complain about this.
Change 1012754 had a related patch set uploaded (by DLynch; author: DLynch):
[mediawiki/skins/Vector@master] Add a #top anchor to Vector 2022
Change #1012754 abandoned by DLynch:
[mediawiki/skins/Vector@master] Add a #top anchor to Vector 2022
Reason:
WHATWG spec has special treatment for #top, so actually it's the kids who are wrong.
Change #1013331 had a related patch set uploaded (by DLynch; author: DLynch):
[mediawiki/extensions/DiscussionTools@master] Add #top to the ignore list for checking for moved topics
Change #1013331 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Add #top to the ignore list for checking for moved topics