User:White torch/global.js

PurgeButtonText = 'Обновить';

window.ajaxPages = ["Служебная:Watchlist","Служебная:Contributions","Служебная:WikiActivity","Служебная:RecentChanges","Special:WikiActivity","Special:RecentChanges"]; window.AjaxRCRefreshText = 'Автообновление страницы'; window.AjaxRCRefreshHoverText = 'Автоматически обновлять содержимое страницы';

importScriptPage('User:Monchoman45/ChatHacks.js','c'); importScriptPage('User:White_torch/naviscript.js','ru.siegenax'); importScriptPage('User:White_torch/naviscript.js/vstfext.js','ru.siegenax'); importScriptPage('User:Kopcap94/FastWarning.js','ru.siegenax');

importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:White_torch/scripts.js&action=raw&ctype=text/javascript');

importArticles({   type: 'script',    articles: [        "u:dev:AjaxUndo/code.js",        "u:dev:AjaxRC/code.js",        "u:dev:PurgeButton/code.js",        "w:c:dev:RevealAnonIP/usercode.js",        "w:c:cod:User:Madnessfan34537/multikick.js",    ] })

importArticles({   type: 'style',    articles: [        "w:c:ru.siegenax:User:White_torch/naviscript.css"    ] });

if ((wgNamespaceNumber == '1200' || wgNamespaceNumber == '1201') && $('.hide').length) { $('.follow').before('Hide '); $('.hide').removeClass('hide'); $('.ShowMessages').click(function {       if ($('.hide').length) {            $('.hide').removeClass('hide');            $('.ShowMessages').text('Hide');        } else {            $('.message-removed').addClass('hide');            $('.ShowMessages').text('Show');        }    }); }

//Script for easy quoting in Special:Chat //code by Wildream, idea and some inspiration - by KORNiUX //You can add this script to your global.js by adding next string: //importScriptPage('User:Wildream/ChatQuote/code.js', 'ru.community'); function ChatQuote { $('.Chat li .message').each(function {        if ($(this).find('.chat-quote').length === 0) {            $(this).append(' [quote] ').find(".chat-quote").click(function  { $('.message > textarea').val($('.message > textarea').val + $(this).parent.prevAll('.username:first').text + ': "' + $(this).parent.text.toString.replace('[quote]','') + '" '); });       }    }); } setInterval(ChatQuote, 1000);