Page MenuHomePhabricator

In vector-2022 TOC beginning should go to the top of the page content in diff mode
Open, LowPublicFeature


Feature summary (what you would like to be able to do and where):
In vector 2022, when looking at a page in diff mode when and viewing the table of contents make the toc-beginning link go to the top of section 0, not the top of the browser page.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

  1. Go to a page (e.g.Ċess_mgħaġġel&diff=554183&oldid=554182&useskin=vector-2022)
  2. Scroll down until the TOC appears
  3. Notice that clicking on any of the TOC headings orients you to that section of the page, except for the toc-beginning link which orients you on the top of the entire browser page (above the diff view)
  4. By setting this to target the top of the content in section-0, you would be able to get back to that section

Benefits (why should this be implemented?):

  • Consistency across the table of contents

Originally reported on enwiki at: