User:Misza13/Scripts

Status switcher
This module will add 3 new links beside the "log out" link. These will be "in", "busy" and "out" for quickly changing your current Wikipedia status.

To enable this, first add the following code to your monobook file:

importScript('User:Voice_of_All/Addtabs/monobook.js'); importScript('User:Misza13/statusChanger.js');

Additionally, you'll need two additional pages:
 * 1) Special:Mypage/Status
 * 2) Special:Mypage/StatusTemplate

The first one is the one modified by the script to hold  , where "STATUS" will be one of "in", "busy", "out". Then it is up to the "Template" to render it the way you wish. An example is:

''' Example's status: '''

You can tweak it to look whatever you like.

Then all you need is to put   on whatever pages you want the status to be displayed.

Watchlist sorter
This tool that sorts your watchlist by namespace making it easier to browse for important edits - not recommended for people with thousands of pages watched.

To install it, add the following to your monobook:

if (location.href.indexOf('Special:Watchlist') != -1) { importScript('User:Misza13/watchlistSorter.js'); }

View page source
This code will create a new button called [view source] to the left of the [edit this page] button (unless you're already editing a page or the page is protected). Technically, it takes you to editing the page, but removes the interface (edit summary box, minor edit and watch checkboxes, save/preview/show changes buttons) below the editing box. This will prevent you from accidentally saving the page if you were just playing with the content.

To install it, add the following to your monobook:

importScript('User:Misza13/viewSource.js');

pywikipedia scripts

 * User:Misza13/spoilerkill.py - interactive script to aid in the removal of redundant spoiler (and related) tags from articles
 * User:Misza13/browseCSD.py

MediaWiki template stuff
Other random stuff I've created:
 * User:Misza13/vote is the ultimate voting template! All in one, but since voting is evil and such templates have been pretty controversial in the past, use it at your own risk.
 * User:Misza13/CURRENTMINUTEOFDAY is a template that translates   (i.e. ') into a number of minutes passed since midnight: '
 * User:Misza13/Random is a Wiki-RNG! See for yourself!