Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





User:Terasail/HeaderTextLinks





User page  

Talk  



Language  

Watch  

Edit  


< User:Terasail
 


User script
HeaderTextLinks
DescriptionAdds dropdown menu text links to the header (static & sticky) how vector legacy used to show user links
Author(s)Terasail
StatusWorking
First releasedFebruary 25, 2023; 16 months ago (2023-02-25)
UpdatedAugust 1, 2023
    (10 months ago)
Skin support

  • Only Vector (2022)

SourceUser: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.


Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Terasail/HeaderTextLinks&oldid=1141540511"
 



Last edited on 25 February 2023, at 15:51  


Languages

 



This page is not available in other languages.
 

Wikipedia


This page was last edited on 25 February 2023, at 15:51 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop