User:KurwaAntics/global.js

/* ********** Load scripts ********** */ importArticles({   type: "script",    articles: [        "u:dev:Wikimarks/code.js",        "u:dev:View Source/code.js",        "u:dev:DisplayClock/code.js",        "u:dev:QuickDiff/code.js",        "u:dev:EditIntroButton/code.js",        "u:dev:PortableCSSPad/code.js"    ] });

/*$('.toolbar .tools').append('Test mode\ Consistent modules\ Dismiss all messages');

function testmode{ $.nirvana.postJson('ContentReviewApi', 'enableTestMode', {       editToken: mw.user.tokens.get('editToken')    }); location.reload(true); }

function newmodules { $('#WikiaRail .module').removeClass('module').addClass('rail-module'); }

function dismissallmsg{ $('.close.wikia-chiclet-button').each(function{$(this).trigger('click');}); }