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 importScriptPage('NullEditButton/code.js', 'dev');            // NullEditButton importScriptPage("FileUsageAuto-update/code.js", "dev");      // FileUsageAuto-update importScriptPage("QuickContribs/code.js", "dev");             // QuickContribs

// LastEdit importArticles( {   type: 'script',    articles: [        'u:dev:LastEdited/code.js',    ] } ); window.lastEdited = { avatar: true, position: 'top', size: true, diff: true, comment: true, lang: 'pl', 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');

// 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')); });

// DODATKOWE PRZYCISKI W EDYTORZE ŹRÓDŁA by Wedkarski if (typeof (mwCustomEditButtons) != 'undefined') { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/26/Button_latinas.png", "speedTip": "Wstaw polskie cudzysłowy", "tagOpen": "„", "tagClose": "”", "sampleText": "" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://static.wikia.com/central/images/f/fd/Button_blockquote.png", "speedTip": "Wstaw szablon profilu", "tagOpen": "", "tagClose": "", "sampleText": "" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://static.wikia.com/central/images/c/c8/Button_comment_round.png", "speedTip": "Wstaw szablon nagłówka", "tagOpen": "", "tagClose": "", "sampleText": "" }; }

// TESTY window.commands = { 'helperzy': function(com, text) { $('#Write [name="message"]').val('Tag, tag, tag'); return true; }, }