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.ajaxPages = ["Special:RecentChanges","Special:WikiActivity", "Special:Watchlist","Special:Log","Special:Contributions"]; window.AjaxRCRefreshText = 'Auto-refresh'; window.ajaxRefresh = 60000; window.AjaxRCRefreshHoverText = 'Automatically refresh the page'; importScriptPage('AjaxRC/code.js', 'dev'); //============== http://dev.wikia.com/wiki/AjaxRC ==============//

//====== 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 ==//

//============ Contributions Link ============// importScriptPage('ContribsLink/code.js', 'dev'); //== http://dev.wikia.com/wiki/ContribsLink ==//

//====== View Removed Comments Button =======// importScriptPage('ViewRemoved/code.js', 'dev'); //== http://dev.wikia.com/wiki/ViewRemoved ==//

//== Ajax Undo Button (skip diff preview) ==// importScriptPage( 'AjaxUndo/code.js', 'dev' ); //=== http://dev.wikia.com/wiki/AjaxUndo ===//

//===== Ajax History Difference Viewer =====// importScriptPage( 'AjaxDiff/code.js', 'dev' ); //=== http://dev.wikia.com/wiki/AjaxDiff ===//

//=========== Display Clock UTC ==========// importArticles({	type: 'script',	articles: [		// ...		'u:dev:DisplayClock/code.js',		// ...	] }); // http://dev.wikia.com/wiki/DisplayClock //

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

//==================== User Profile Link ==================// if ($('a[data-id="profile"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('').append('My profile')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//===================== Edit Count Link ===================// if ($('a[data-id="editcount"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('').append('My edit count')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//=================== Recent Changes Link =================// if ($('a[data-id="recentchanges"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('').append('Recent changes')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//==================== Chatban Log Link ===================// if ($('a[data-id="chatbanlog"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('').append('Chatban log')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//==================== Prefix Index Link ==================// if ($('a[data-id="prefixindex"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('').append('Prefix index')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//====================== Chat.js Link =====================// if ($('a[data-id="chat.js"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('').append('My chat.js</a>')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//====================== Chat.css Link ====================// if ($('a[data-id="chat.css"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('<li/>').append('My chat.css</a>')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//====================== Wikia.js Link ====================// if ($('a[data-id="wikia.js"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('<li/>').append('My wikia.js</a>')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//===================== Wikia.css Link ====================// if ($('a[data-id="wikia.css"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('<li/>').append('My wikia.css</a>')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//===================== Global js Link ====================// if ($('a[data-id="globaljs"]').length) return; $('#AccountNavigation > li > .subnav > li:first').after(		$('<li/>').append('My global.js</a>')	); }) (this.jQuery, this.mediaWiki); //================== Code Made by: RenzXVI ================//
 * (function($, mw) {

//================== 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 ==================================// //==============================================================================//