User:Krinkle/Scripts/VectorSearchNav
Appearance
< User:Krinkle | Scripts
Languages: English • Nederlands
Description
[edit]This script puts the searchbar in the left column in the Vector-skin.
Install
[edit]- Paste this code in common.js on your local wiki, or in global.js on Meta to use it everywhere you go:
// [[File:Krinkle_VectorSearchNav.js]]
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/VectorSearchNav.js&action=raw&ctype=text/javascript');
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/VectorSearchNav.js&action=raw&ctype=text/javascript');
- The
[[File:Krinkle_VectorSearchNav.js]]
line is used for statistics.
- Done :-)
If you encounter any issues, please let me know!
Install as Gadget
(These instructions are for sysops who can edit in the MediaWiki:-namespace)
- Copy the the Install snippet to your wiki's MediaWiki:Gadget-VectorSearchNav.js (just like when you would install it in your user script)
- Create MediaWiki:Gadget-VectorSearchNav with something like the following:
Put the searchbar in the left column (Vector-skin).
- Then add a line in MediaWiki:Gadgets-definition somewhere with:
* VectorSearchNav[ResourceLoader]|VectorSearchNav.js
Feedback
If you experiences any issues, have suggestions for how something could be better, have a good idea for a feature request – or want to report a bug ? Please leave a message on my Tools-talkpage.
See also
[edit]- User:Krinkle/Scripts/VectorSearchNav.js
- User:Krinkle/Tools, overview of other tools and scripts.