When a page has collapsible elements, section links often break because the page jumps away after JavaScript loads ([[Abigail#Eight Hearts|see example]]). [https://techcrunch.com/2017/04/11/chrome-now-uses-scroll-anchoring-to-prevent-those-annoying-page-jumps/ Chrome has a feature to fix that], but other browsers like Firefox don't. I suggest adding this snippet to [[MediaWiki:Common.js]], which just moves the page back to the linked section after JavaScript is loaded: | When a page has collapsible elements, section links often break because the page jumps away after JavaScript loads ([[Abigail#Eight Hearts|see example]]). [https://techcrunch.com/2017/04/11/chrome-now-uses-scroll-anchoring-to-prevent-those-annoying-page-jumps/ Chrome has a feature to fix that], but other browsers like Firefox don't. I suggest adding this snippet to [[MediaWiki:Common.js]], which just moves the page back to the linked section after JavaScript is loaded: |