User:Leviathan 89/global.js

// wikEd /* Install Wikipedia:User:Cacycle/wikEd in-browser text editor */ /* var wikEdConfig = { 'highlightSyntaxPreset': false, 'useWikEdPreset': false, 'usingPreset': false, 'fullScreenModePreset': false, 'closeToolbarPreset': false, 'refHidePreset': false, 'diffPreset': false } importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript'); // END wikEd

// Personalizzazioni CSS /* Ultime modifiche (it) */ if ( wgCanonicalSpecialPageName === 'WikiActivity' || wgCanonicalSpecialPageName === 'Recentchanges' && wgContentLanguage === 'it' && wgDBname != 'itonepiecefanon' ) { importStylesheetPage('MediaWiki:Common.css/ultimemodifiche.css', 'it.onepiece'); } /* Ultime modifiche (en) */ if ( wgCanonicalSpecialPageName === 'WikiActivity' || wgCanonicalSpecialPageName === 'Recentchanges' && wgContentLanguage === 'en' ) { importStylesheetPage('User:Leviathan 89/lastchanges.css', 'onepiece'); } // END Personalizzazioni CSS

// Wikim*arks /* Functions */ function chat { if (window.ChatEntryPoint && ChatEntryPoint.onClickChatButton) { ChatEntryPoint.onClickChatButton(true, '/wiki/Special:Chat'); } } function purge { $.get('/wiki/' + wgPageName + '?action=purge', function {        location.reload(true);    }); }

//======================================= //      Variabili per le funzioni //======================================= // Ajax auto-refresh ajaxPages = ['Speciale:UltimeModifiche', 'Speciale:OsservatiSpeciali', 'Speciale:WikiActivity', 'Speciale:ImmaginiRecenti', 'Speciale:Registri', 'Special:RecentChanges', 'Special:WikiActivity', 'Special:Watchlist', 'Special:Log', 'Special:Contributions', 'Special:NewFiles', 'Forum:Support_Requests', 'Forum:General_Discussion', 'Admin_Forum:Watercooler', 'Admin_Forum:Technical_Help', 'Admin_Forum:General_Questions', 'Admin_Forum:Getting_Started']; AjaxRCRefreshText = 'Aggiornamento automatico';

// Display Clock window.DisplayClockJS = { format: '%d %B %Y, %2H:%2M:%2S (UTC)' };

// MassNullEdit nullEditDelay = 1000; nullEditUserButton = true; // END Variabili

// LastEdited // http://dev.wikia.com/wiki/LastEdited window.lastEdited = { avatar: true, size: false, diff: true, comment: true, time: 'timestamp', lang: 'it', namespaces: { include: [], exclude: [] },   pages: [] }; // LastEdited END

// Highlight Users highlight = { selectAll: false, vstf: '#FF7777', helper: '#A400A4', staff: '#DDAA00', sysop: '#FF00FF', bot: '#000066', 'bot-global': '#000066' }; // Highlight Users END

//=================================== //      Importazioni funzioni //=================================== importArticles({   type: 'script',    articles: [        'u:dev:AbuseLogRC.js',        'u:dev:AjaxBatchDelete/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AntiUnicruft/code.js',        'u:dev:ChatHacks.js',        //'u:dev:DifferentSkinEditor/code.js',        'u:dev:FindAndReplace/code.js',        'u:dev:FileUsageAuto-update/code.js',        'u:dev:GlobalEditcount/code.js',        'u:dev:HighlightUsers/code.js',        'u:dev:LastEdited/code.js',        'u:dev:MassNullEdit/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:QuickDelete/code.js',        'u:dev:QuickDiff/code.js',        //'u:railgunscript:MediaWiki:RailgunClient.min.js',        'u:dev:RailWAM/code.js',        'u:dev:RecentChangesMultiple/code.2.js',        'u:dev:RedirectManagement/code.js',        'u:dev:RevealAnonIP/code.js',        'u:dev:TabKeyInserter/code.js', 'u:dev:Thread Inspection/code.js', 'u:dev:UnsafeScripts/code.js', 'u:dev:UTCClock/code.js', 'u:dev:WHAM/code.2.js', 'u:dev:Wikimarks/code.js' ] });

// Internal $.getScript("http://internal.vstf.wikia.com/wiki/User:Leviathan_89/scripts.js?action=raw&ctype=text/javascript");