Select Page

User:Nyakase/Scripts/StatusChanger

StatusChanger is a fork of Enterprisey's Status Changer, which adds a UI to the script. It does so using Morebits, so you'll need to have Twinkle enabled to use it.

It will display a "Status" link in the top right of your screen, which you can use to change your status for templates like {{Statustop}} and {{UserStatus}}.


Configuration

You may add variables to your common.js to change how the script functions.

Status list

This is an array with a list of statuses that you can choose from. For example, if you're using {{UserStatus}}, you can add the additional statuses it has like this:

statusChangerConfig = {}
statusChangerConfig.statusList = [ 'online', 'offline', 'sleeping', 'in', 'busy', 'wikibreak', 'away', 'vandal', 'holiday', 'school', 'working', 'eating', 'huggle', 'twinkle' ];

Status page

This is a string that contains the page you want to save the status to. Usually this is Special:MyPage/Status, but you can change it like this:

statusChangerConfig = {}
statusChangerConfig.statusPage = 'User:Vukky/CoolStatus'