HeaderTextLinks | |
---|---|
Description | Adds dropdown menu text links to the header (static & sticky) how vector legacy used to show user links |
Author(s) | Terasail |
Status | Working |
First released | February 25, 2023 |
Updated | August 1, 2023 (8 months ago) |
Skin support |
|
Source | User:Terasail/HeaderTextLinks.js |
This userscript adds the text links (no icons) from the vector user menu dropdown to the header and sticky header so that the user menu doesn't need to be opened to use the buttons. These links resemble what was previously available in the topbar in vector legacy.
It is ideal for lage width screens where the header appears empty and you often need to open the dropdown menu, or if you wish to replicate the style of user links available through vector legacy.
How to use edit
Local (English wiki) edit
To use this script on english wiki, add the following to your common.js page:
importScript('User:Terasail/HeaderTextLinks.js'); // [[User:Terasail/HeaderTextLinks]]
Global (All wikis) edit
To use this script on all wikis (Commons, Meta, Mediawiki...), add the following to your global.js page:
mw.loader.load("https://en.wikipedia.org/w/index.php?action=raw&title=User:Terasail/HeaderTextLinks.js&ctype=text/javascript"); // [[:en:User:Terasail/HeaderTextLinks]]
See also edit
User:Terasail/HeaderIcons – The same however it will display the icons rather than the text link.
Questions / Issues edit
Please leave any questions or issues on my talk page, Thanks.