User:Manishearth/Scripts
This page has a bit of information on each script that I have written.
There are also some script snippets here.
Sidebar toggle
This script adds a tab that allows the user to toggle viewing the sidebar (the logo, the search box, etc.)
It also adds a "(s)" tab, which makes the current state of the sidebar the default one by using cookies.
To save the current state ("hide/show"), simply click the ("s"). Please note that the sidebar will show when editing a page.
The script is at User:Manishearth/sidebartoggle.js
DO NOT use the script in the vector skin.
To install, type this code in your skin js page.
importScript('User:Manishearth/sidebartoggle.js')
This script does not work in beta
OrphanTabs
OrphanTabs is a script that assists in de-orphaning. The script is at User:Manishearth/orphantabs.js. For more information and a complete documentation, go here.
To install, type this code in your skin js page.
importScript('User:Manishearth/orphantabs.js')
This script works in beta
Wikipedia interwiki translator
“ | The amount of information any one article is the sum of all articles mentioning that page including the article itself, in all languages, including all revisions. ManishEarthTalk • Stalk 03:07, 18 August 2009 (UTC) | ” |
As I was researching on Wikipedia, I realized that there is much more information on Wikipedia, more than meets the eye. If you open Wikipedia in all languages, you realize that if you could translate it, you would have a lot more information. So I created a script, which adds a blue '(t)' next to every link on the language portlet which leads to a wiki in a language supported by Google Translate. it also adds a faint red '(t)' next to those languages not supported by Google, so that If Google adds more languages, you can still translate them.
The script is at User:Manishearth/sidebartranslinks.js
To install, type this code in your skin js page.
importScript('User:Manishearth/sidebartranslinks.js')
This script works in beta
"Edit:" namespace
This script allows you to use "Edit:" as a namespace. For example, if you type "Edit:Example" in the search box, it will lead you to the edit page of the page "Example", and not the search page for "Edit:Example"
The script is at User:Manishearth/editns.js
To install, type this code in your skin js page.
importScript('User:Manishearth/editns.js')
This script works in beta
Patrol tab
This script adds a patrol tab when you are viewing a page from Special:NewPages
The script is at User:Manishearth/patroltab.js
To install, type this code in your skin js page.
importScript('User:Manishearth/patroltab.js')
This script works in beta