Jump to content

User:Phlsph7/UnfoldedNumberedTOC(Vector2022)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Phlsph7 (talk | contribs) at 12:09, 25 January 2023 (add original source). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
User script
Unfolded and numbered TOC for Vector 2022
DescriptionModifies how the table of contents is displayed under the Vector 2022 skin by unfolding and numbering the sections.
Author(s)Phlsph7
First releasedJanuary 25, 2023; 2 years ago (2023-01-25)
UpdatedJanuary 28, 2023
    (2 years ago)
SkinsVector (2022)
SourceUser:Phlsph7/UnfoldedNumberedTOC(Vector2022).js, it's a modified version of https://greasyfork.org/en/scripts/458558-wikipedia-vector-2022-better-toc published under the MIT license

Unfolded and numbered TOC for Vector 2022 is a user script that changes how the table of contents is displayed under the Vector 2022 skin. It unfolds all the sections and numbers them, similar to how the table of contents was displayed in the Vector 2010 legacy skin.

Installation

To install this script, go to your common.js and add the following line:

importScript('User:Phlsph7/UnfoldedNumberedTOC(Vector2022).js'); // Backlink: [[User:Phlsph7/UnfoldedNumberedTOC(Vector2022).js]]

Comparison

Comparison of the original Vector 2022 table of contents (left) and the unfolded and numbered version (right).