User:Krinkle/Scripts/VectorSearchNav
Languages: English • Nederlands
[edit] Description
This script puts the searchbar in the left column in the Vector-skin.
[edit] Install
- Paste this code in your vector.js:
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/VectorSearchNav.js&action=raw&ctype=text/javascript');
or monobook.js:Please don't use this in Monobook. It won't work, it is especially made for Vector.
- Please leave the
[[File:Krinkle_VectorSearchNav.js]]in for statistics+
Done :-)
If nothing appears, be sure to verify that you've put the above code on the wiki you use the tool on, not per se here on Meta. Note that this tool is optimized for WebKit (Safari, Chrome) browsers. It should also work fine in Mozilla (Firefox). Internet Explorer will not be supported.
Also clear your cache and do a hard refresh. If you encounter any issues, please let me know!
|
How to clear cache
|
|---|
|
Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences. |
Contents |
Install as Gadget
(These instructions are for sysops who can edit in the MediaWiki:-namespace)
- Copy contents of User:Krinkle/Scripts/VectorSearchNav.js to your wiki's MediaWiki:Gadget-VectorSearchNav.js
- Create MediaWiki:Gadget-VectorSearchNav with something like "
Move search-bar to the left navigation column. Made for the Vector-skin." - Then add a line in MediaWiki:Gadgets-definition somewhere with "
* VectorSearchNav|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.
