User:Pio387/global.js

importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Pio387/scripts.js&action=raw&ctype=text/javascript');

importScriptPage('User:Wedkarski/chatpack.js', 'wedkarski'); importScriptPage('PortableCSSPad/code.js', 'dev'); importScriptPage('ViewRemoved/code.js', 'dev'); importScriptPage('Interwiki.js', 'community') importScriptPage('User:Wedkarski/SpongeKiller.js', 'wed');

$( function {	if ( !document.getElementById( 'ca-skins' ) ) {		$( 'Monobook ' ).appendTo( '#GlobalNavigation' );	} } );

$.ready( function {

$('a[data-canonical="wikiactivity"]').attr('href','/wiki/Special:RecentChanges').attr('title','Recent Changes').html('Ostatnie zmiany')

});

// INFOBOX BUILDER BLOCKER by Vuh if ($('.template-classification-type-text').data('type') == 'infobox') $('#ca-edit').attr('href', function(a) {   return this.href + '&useeditor=source'; }) if(window.location.pathname.indexOf('Special:InfoboxBuilder') != -1) {var pname = window.location.pathname.split('Special:InfoboxBuilder/')[1]; location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+pname+'?action=edit&useeditor=source'));}