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' ); $( 'WM' ).appendTo( '#AccountNavigation' );		} else {			$( 'Oasis' ).appendTo( '#p-cactions > .pBody > ul' ); $( 'Mobile' ).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' };

fdButtons[fdButtons.length] = { 'summary': 'Pictures from Dimensions in Time narrative disallowed; none of sufficient quality exist due to the limitations placed on its broadcast', 'label': 'DIT' };