User:The vm/global.js

importScriptPage('MediaWiki:Common.js/BackToTopButton.js', 'ru.terraria');

importArticles({   type: "script",    articles: [        'w:dev:AjaxRC/code.js',        'w:dev:PurgeButton/code.js',        "w:c:dev:RevealAnonIP/usercode.js",        "u:dev:SearchGoButton/code.js",        "u:dev:AjaxUndo/code.js",        "u:dev:QuickTools/code.js"    ] });

var ajaxPages = ["Служебная:Watchlist","Служебная:Contributions","Служебная:WikiActivity","Служебная:RecentChanges","Special:Watchlist","Special:Contributions","Special:WikiActivity","Special:RecentChanges"]; var AjaxRCRefreshText = 'Автообновление страницы'; var PurgeButtonText = 'Обновить';

//Simple script adds a sound notification to standard notifications about messages on Walls //Feel free to copy it to your global.js $('body').append(' '); var bubbles_count = 'true'; function Notification { $('.bubbles').mouseover; $('.bubbles').mouseout; if ($('.bubbles').hasClass('reddot') && (bubbles_count != $('#bubbles_count').text || bubbles_count == 'true')) { document.getElementById('Notifsound').innerHTML = ' '; }   bubbles_count = $('#bubbles_count').text; } setInterval('Notification', 5000);