User:Shadowphoenix/JavaScript

From Guild Wars Wiki

Jump to: navigation, search

This is a list of JavaScript tools that have been created/modifyed by User:Shadowphoenix for your convinence. All of this is released under the GFDL and the Creative Commons.

Contents

[edit] User Tools

[edit] Purge Your Cache Easily

Simply add the following code to you monobook.js:

/*This will add a "purge" tab to your toolbar for easy cache purging */
// addPurge
addOnloadHook(function () {
    var hist; var url;
    if (!(hist = document.getElementById('ca-history') )) return;
    if (!(url = hist.getElementsByTagName('a')[0] )) return;
    if (!(url = url.href )) return;
    addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'),
                   'purge', 'ca-purge', 'Purge server cache for this page', '0');
});

[edit] Easy Access Block Log

Add the following code to your monobook.js, make sure that you only use it when on someone's userpage:

{{subst:User:Shadowphoenix/Blocklog.js}}

Adds a link in your toolbox which will allow you to see the blocks a user has recieved in one click!

[edit] Easily Access Special:Unusedimages

Add the following code to your monobook.js:

{{subst:User:Shadowphoenix/unusedimages.js}}

Adds a link to your toolbox wich will allow instant access to Special:Unusedimages. No more having to type it into the search box, just click and start tagging!

[edit] Offical Wiki In Other Langauges

See User:AT/Langbox for more information.

[edit] Sysop/Bcrat Tools

Image:Info-Logo.png Note: These tools are intended for administrators; however, regular users may use them, there just is not much of a point (unless your nosey like me ^^)

[edit] Blocks Given Tab

Add the following code to your monobook.js:

{{subst:User:Shadowphoenix/SysopTools/blocks.js}}

Adds a tab to your edit tool bar when you are on a userpage, the tab allows you to see the blocks given by that sysop/bcrat. A similar link for your toolbox will be coming soon.

[edit] One Click Sysop Guide

Add the following code to your monobook.js:

{{subst:User:Shadowphoenix/SysopTools/guide.js}}

Are you a new sysop? Are you a sysop who sometimes needs to a reference? Do you want to be a sysop? If the answer to one of these is yes then I have the perfect tool for you. This tool will add the Sysop Guide to your toolbox, just click "Sysop Guide" in your toolbox and thats all there is too it!

Personal tools