https://bugzilla.wikimedia.org/show_bug.cgi?id=65468
Bug ID: 65468
Summary: Redirects to section are off in Firefox 29.0.1 if
there are collapsed elements above the section
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JavaScript
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
From
https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28technical%29&oldid=609193453#Redirect_not_working_right
As of FF 29.0.1, redirects to section links are off if the page contains
collapsed elements before the section link. Was fine in FF 28.
Looks like a race condition between the collapsing code and
mediawiki.action.view.redirectToFragment.js
Example link: https://en.wikipedia.org/wiki/Wikipedia:NMOTORSPORT
Should go to
https://en.wikipedia.org/wiki/Wikipedia:Notability_%28sports%29#Motorsports
Second link works, first link doesn't; through the redrect-to-section, you end
up below the "Motorsports" section. Offset from the intended destination
appears to match the height of the collapsed FAQ box at the page top.
The issue is not limited to en-WP, same behavior also observed at the Commons.
Try https://commons.wikimedia.org/wiki/COM:NETCOPYRIGHT
This should go to
https://commons.wikimedia.org/wiki/Commons:Copyright_rules_by_subject_matter#Internet_images
but actually ends up too far down, again the offset appears to correspond to
the combined heights of the two collapsed elements above that section.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l