**Feature summary** (what you would like to be able to do and where):
?Page analysis by ##action=info pages## should have a table of contents at the top when there are enough sections to warrant it. This could also be helpful on Special:Version.
**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):
Visit "Page information" for any page to validate information for the page.
**Benefits** (why should this be implemented?):
Meanwhile many of the resulting pages became rather long.
* It does need some scrolling to reach the bottom.
* This is not good for mobile devices.
* It is even worse for accessibility.
**Challenge**
The TOC is not static.
* LINT errors may occur and trigger an additional section.
* If a page does not exist, there is a pageinfo but no history section.
* Further issues might occur in future.
* Site generated content might provide headlines, as in ##pageinfo-footer## [[ https://de.wikipedia.org/wiki/MediaWiki:Pageinfo-footer | (example) ]] or even ##pageinfo-header## and could depend upon namespace, page existence etc.
A dynamic ##<h2>## collection mechanism, grabbing the ##id=## already present is required. Look for ##id="Logb.C3.BCcher"## [[ https://de.wikipedia.org/w/index.php?title=mediawiki:pageinfo-footer&action=info | here ]].
Easier to link to specific sections and it's faster than scrolling to the bottom.