Jump to content

User:Phlsph7/UnfoldedNumberedTOC(Vector2022)

From Wikipedia, the free encyclopedia
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; 21 months ago (2023-01-25)
UpdatedJanuary 28, 2023
    (20 months 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

[edit]

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]]

If you run into problems or have suggestions on how to improve the script, please discuss them at User_talk:Phlsph7/UnfoldedNumberedTOC(Vector2022).

Comparison

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