User:Szynka013/global.js

// Imports importScriptPage('PortableCSSPad/code.js', 'dev');            // PortableCSSPad importScriptPage('WHAM/pl/code.2.js', 'dev');                 // WHAM! importScriptPage('User:Wedkarski/chatpack.js', 'wed');        // ChatPack importScriptPage('User:Joeytje50/ChatPMs.js', 'c');           // MultiPriv importScriptPage('User:PlasmaTime/quickBlock.js','c');        // QuickBlock importScriptPage('MassRenameRevert/code.js', 'dev');          // MassRenameRevert importScriptPage('Wikia Essentials/code.js', 'dev');          // Wikia_Essentials

// LastEdit importArticles( {   type: 'script',    articles: [        'u:dev:LastEdited/pl/code.js',    ] } ); window.lastEdited = { position: 'top', size: true, diff: true, comment: true, time: true };

// AjaxRC window.ajaxPages = ["Special:RecentChanges","Specjalna:Ostatnie_zmiany"]; window.AjaxRCRefreshText = 'Automatyczne odświeżanie'; window.AjaxRCRefreshHoverText = 'Włącza automatyczne odświeżanie strony'; importScriptPage('AjaxRC/code.js', 'dev');

// ChangeSkins window.monoBookText = "Monobook"; window.oasisText = "Oasis"; window.venusText = "Venus"; window.mobileText = "Mobile"; importScriptPage('SkinSwitchButton/code.js', 'dev');

// FileUsageAuto-update importScriptPage("FileUsageAuto-update/code.js", "dev");

LIRoptions = { bottomMessage: 'This appears below the buttons on Special:MovePage', editSummary: 'Updating file links (automatic)', singleButtonText: 'Rename and update', queueButtonText: 'Add to queue' }

// LICENSES FILE function emptyLicenseAlert(form) { var msg = "Licencja pliku nie została wybrana. Możesz spróbować ponownie, ale pamiętaj, że pliki bez licencji są usuwane." if(window.emptyLicenseWarningDelivered) return true; if($('#wpLicense').val == '') { alert(msg); window.emptyLicenseWarningDelivered = true return false }	return true; } $('#mw-upload-form').submit(function(e) {return emptyLicenseAlert(this);}); $(".wikia-gallery-item .thumbimage").each(function(i,elem) {		$(elem).attr('title',$(elem).attr('alt'));	}); $(".wikia-gallery-item .image").each(function(i,elem) {		$(elem).attr('title',$(elem).attr('alt')); });