User:Terasail/HeaderIcons
From Wikipedia, the free encyclopedia
This userscript adds the icon links (no text) 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.
DescriptionAdds dropdown menu icon links to the header (static & sticky)
AuthorTerasail
StatusWorking
First releasedApril 29, 2021
| HeaderIcons | |
|---|---|
| Description | Adds dropdown menu icon links to the header (static & sticky) |
| Author | Terasail |
| Status | Working |
| First released | April 29, 2021 |
| Updated | November 17, 2024 (16 months ago) |
| Skins |
|
| Source | User:Terasail/HeaderIcons.js |
It is ideal for lage width screens where the header appears empty and you often need to open the dropdown menu.
How to use
Local (English wiki)
To use this script on english wiki, add the following to your common.js page:
importScript('User:Terasail/HeaderIcons.js'); // [[User:Terasail/HeaderIcons]]
Global (All wikis)
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/HeaderIcons.js&ctype=text/javascript"); // [[:en:User:Terasail/HeaderIcons]]
See also
User:Terasail/HeaderTextLinks – The same however it will display the text links rather than the icons.
Questions / Issues
Please leave any questions or issues on my talk page, Thanks.