User:Jormun/global.js

// ?uselang=qqx in one click if ((location.href.indexOf('?uselang=qqx') + 1) === 0) { $qqxLink = $('').append(' QQX me! '); $('.tools').append($qqxLink); $('#qqxme').click(function {        location.href = wgServer + '/wiki/' + wgPageName + '?uselang=qqx';    }); } else { $qqxLink = $('').append(' UnQQX me! '); $('.tools').append($qqxLink); $('#qqxme').click(function {        location.href = wgServer + '/wiki/' + wgPageName;    }); }

// editcount $editCount = $('').append(' Editcount '); $('.tools').append($editCount); $('#editcount').click(function {    location.href = wgServer + '/wiki/' + 'Special:Editcount/Jormun' });

//WHAM importScriptPage('WHAM/code.js', 'dev'); //Импорт чего-то, связанного с WHAM importScriptPage('AjaxBatchDelete/code.js', 'dev'); //Чатхак importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); //Оповещения //importScriptPage('User:Wildream/SoundNotifications.js', 'ru.community');

//importScriptURI('https://internal.wikia-inc.com/index.php?title=MediaWiki:ForcePreview.js&action=raw&ctype=text/javascript');