Page MenuHomePhabricator

Special:SpecialPages needs a table of contents
Closed, ResolvedPublicFeature

Description

Feature summary

[[Special:SpecialPages]] is a very long page with multiple headings, and so needs a table of contents.

An example implementation is given here:

https://teflpedia.com/MediaWiki:Specialpages-summary

giving:

https://teflpedia.com/Special:SpecialPages

Note I've also moved the legend from the bottom to the top, as it makes more sense there.

Event Timeline

English Wikipedia also has a locally customized table of contents: https://en.wikipedia.org/wiki/Special:SpecialPages?useskin=vector

image.png (2×3 px, 426 KB)

One of the problems with this approach is that it doesn't look right in skins that pull the TOC out of page contents, such as the new Vector: https://en.wikipedia.org/wiki/Special:SpecialPages?useskin=vector-2022

image.png (2×3 px, 401 KB)

Change 891370 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/core@master] Add table of contents to Special:SpecialPages

https://gerrit.wikimedia.org/r/891370

Change 891371 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/core@master] Improve legend on Special:SpecialPages

https://gerrit.wikimedia.org/r/891371

Change 891370 merged by jenkins-bot:

[mediawiki/core@master] Add table of contents to Special:SpecialPages

https://gerrit.wikimedia.org/r/891370

Change 891371 merged by jenkins-bot:

[mediawiki/core@master] Improve legend on Special:SpecialPages

https://gerrit.wikimedia.org/r/891371

In Norwegian wikipedia, it's deleted. The rest, I did it.