User:RenzXVI/global.js

//******************************************************************************// // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *// //* * * * * * * * RenzXVI's Personal Wiki Features and Settings * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *// //******************************************************************************//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•// //•*´¨`*•.¸¸.•*´¨`*• Visual Spell Checker for Editing ¸¸.•*´¨`*•.¸¸.•*´¨`*•// importArticle({type: 'script', article: 'w:c:dev:VisualSpellCheck/code.js'}); //•*´¨`*•.¸¸.•*´ http://dev.wikia.com/wiki/VisualSpellCheck ¨`*•.¸¸.•*´¨`*•// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.// //•*´¨`*•.¸¸.•*´ Auto-Refresh High Traffic Pages ¨`*•.¸¸.•*´¨`*•.// window.ajaxSpecialPages = ["RecentChanges","WikiActivity", "Watchlist", "Log", "Contributions", "AbuseLog", "NewPages"]; window.AjaxRCRefreshText = 'Auto-refresh'; window.ajaxRefresh = 60000; window.AjaxRCRefreshHoverText = 'Automatically refresh the page'; importArticles({   type: 'script',    articles: [        'u:dev:AjaxRC/code.js',    ] }); //•*´¨`*•.¸¸.•*´ http://dev.wikia.com/wiki/AjaxRC *•.¸¸.•*´¨`*•.// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.*•.// // Make Visual Editor links load the regular editor instead // if ($.getUrlVar('veaction') == 'edit') location.replace(document.URL.replace('veaction','action')); //•*´¨`*•.¸¸. http://dev.wikia.com/wiki/NoVEEdit ¨`*•.¸¸.*•.// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.*•.//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•// //•*´¨`*•.¸¸.•*´¨ Add Emoticon Button ¨`*•.¸¸.•*´¨`*•// importScriptPage('SpeedEmoticon/latest.js', 'korniux'); //•*´ http://korniux.wikia.com/wiki/SpeedEmoticon `*•// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*// //•*´¨`*•.¸¸. Unofficial Rollback Button •.¸¸.•*´¨`*// importScriptPage('MediaWiki:Rollback/code.js', 'dev'); //•*´¨`*• http://dev.wikia.com/wiki/Rollback .•*´¨`*// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´// //•*´¨`* Back to Top Button on Wiki Footer ¸¸.•*´// importScriptPage('BackToTopButton/code.js', 'dev'); //•* http://dev.wikia.com/wiki/BackToTopButton *´// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*// //•*´¨ Personal Chat Message Blocker Option ¸.•*// importScriptPage('MessageBlocker/code.js', 'dev'); //•* http://dev.wikia.com/wiki/MessageBlocker •*// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.// //•*´¨`*• Double Click Message To Quote *•.¸¸.// importScriptPage('SpeedQuote/light', 'korniux'); //• http://korniux.wikia.com/wiki/SpeedQuote .// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸// //•*´¨`* View Removed Comments Button ¨`*•.¸¸// importScriptPage('ViewRemoved/code.js', 'dev'); //•* http://dev.wikia.com/wiki/ViewRemoved ¸¸// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸// //•*´¨`* Chat Messages Counter On Tab ¨`*•.¸// importScriptPage('ChatCount/code', 'korniux'); //• http://korniux.wikia.com/wiki/ChatCount // //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸// //•* Ajax Undo Button (skip diff preview) .¸// importScriptPage( 'AjaxUndo/code.js', 'dev' ); //•*´ http://dev.wikia.com/wiki/AjaxUndo •.¸// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*// //•*´¨`*•.¸¸ Anti Soundcloud Autoplay ¨`*•.¸¸.•*// importArticles({   type: 'script',    articles: [        // ...        'u:dev:MediaWiki:AntiSoundcloud/code.js',        // ...    ] }); //•* http://dev.wikia.com/wiki/AntiSoundcloud •*// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸// //•*´¨`*•.¸¸.• Null Edit Button ¸¸.•*´¨`*•.¸// importArticle({   type: 'script',    article: 'u:dev:NullEditButton/code.js' }); // http://dev.wikia.com/wiki/NullEditButton // //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•// //•*´¨`*• Reveal Anonymous User IP •*´¨`*•// importArticles({   type: "script",    articles: [        "w:c:dev:RevealAnonIP/usercode.js"    ] }); // http://dev.wikia.com/wiki/RevealAnonIP // //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*// //•*´¨`*•.¸¸. Header Links ¨`*•.¸¸.•*´¨`*// importArticles({   type: 'script',    articles: [        'u:dev:HeaderLinks/code.js'    ] }); // http://dev.wikia.com/wiki/HeaderLinks // //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*// //•*´¨`* Wikimarks, shortcut links •*´¨`*// importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:Wikimarks/code.js'    ] }); //• http://dev.wikia.com/wiki/Wikimarks *// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`// //•*´¨`*•.¸ Last Edited-By info ¸¸.•*´¨`// importArticles({   type: 'script',    articles: [        // ...        'u:dev:LastEdited/code.js',        // ...    ] }); // http://dev.wikia.com/wiki/LastEdited // //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨// //•*´¨`* Preview on the same page .•*´¨// importArticles({   type: 'script',    articles: [        'u:dev:QuickDiff/code.js'    ] }); // http://dev.wikia.com/wiki/QuickDiff // //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨//

//•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•// //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*• Chat Tags Autocomplete ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•// mw.loader.using('jquery.ui.autocomplete', function {   $(function { var availableTags = [ '[b][/b]', '[bg=""][/bg]', '[big][/big]', '[c=""][/c]', '[code][/code]', '[font=""][/font]', '[i][/i]', '[img=""]', '[small][/small]', '[s][/s]', '[sub][/sub]', '[sup][/sup]', '[u][/u]', '[yt=""]' ];       $('textarea[name=message]').autocomplete({            source: availableTags,            position: { my: "left bottom", at: "left top", collision: "none" }        }); mw.util.addCSS('.ui-autocomplete{border:1px solid #000;background:#000;width:150px!important}.ui-menu-item{background:#3a3a3a;border-bottom:2px solid #000}.ui-menu-item a{font-family:monospace;color:#FFA500!important}'); }); }); // http://shining-armor.wikia.com/wiki/User_blog:Shining-Armor/ChatTags_update_01062016 //•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.•//

//******************************************************************************// // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *// //* * * * * * * * * * * * * * * * End of Codes ** * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *// //******************************************************************************//