User:CzechOut/global.js

/* Workaround for incorrect values of wgAction */ if (skin == "oasis" || skin == "wikia") { var locParam = location.href.substr(location.href.indexOf("action=")+7).split("&");

wgAction = (location.href.indexOf("action=") == -1) ? "view" : locParam[0]; }

// Skin Switch Button for monobook to oasis and vice versa $( function {	if ( !document.getElementById( 'ca-skins' ) ) {		if ( skin === 'oasis' || skin === 'wikia' ) {			$( 'MB' ).appendTo( '#AccountNavigation' );		} else {			$( 'Oasis' ).appendTo( '#p-cactions > .pBody > ul' );		}	} } );

importScriptPage( 'FastDelete/code.js', 'dev' );

var fdButtons = [];

fdButtons[fdButtons.length] = { 'summary': 'spam', 'label': 'spam' };

fdButtons[fdButtons.length] = { 'summary': 'vandalism', 'label': 'vandal' };

fdButtons[fdButtons.length] = { 'summary': 'size > 1mb', 'label': 'Big pic' };

fdButtons[fdButtons.length] = { 'summary': 'violates T:ICC', 'label': 'T:ICC' };