User:Manishearth/Scripts

This page has a bit of information on each script that I have written. There are also some script snippets here. These snippets are useful but not big enough to

This page has a bit of information on each script that I have written.
There are also some script snippets here. These snippets are useful but not big enough to be qualified as userscripts.


This script makes real links out of wikilinks and http: links which are commented in all javascript code (NOT in the edit part, but on *.js pages and wherever there is a source tag). It also links importScript()s. A part of this script (The importScript part) has been copied from User:AoV2/importScript_links (It wasn't working, that well, so I fixed it). Also, the general idea is an extension of AoV2's script. The script is at User:Manishearth/scriptlinks.js

To install, type this code in your skin js page.

importScript('User:Manishearth/scriptlinks.js')

This script works in beta

Script purger (for devs)

Allows you to selectively put scripts in "Purge mode", so that they are forcibly retrieved from the server, bypassing the cache. This saves you the time and bandwidth of bypassing your entire cache and re-downloading the Wikipedia scripts and CSS.
Installation info here.

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. I'm developing a Java version of this, so it may soon become obsolete.

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.

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

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.