User:Ozuzanna/global.js

importScript('MediaWiki:Gadget-HotCat.js', 'answers'); importScriptPage('User:The Mol Man/Annihilate.js','answers'); var ajaxCallAgain = [tplinks]; importScriptPage('AjaxRC/code.js', 'dev'); AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; function tplinks { $('a.new').each(function {   if ($(this).attr('title').substring(0, 10) == "User talk:") {        var t_href = $(this).attr('href');        $(this).attr('href', t_href.substring(0, t_href.indexOf('?')));    } }); if (wgPageName == "Special:RecentChanges") { $('[class="mw-collapsible-toggle mw-collapsible-toggle-collapsed"]').removeClass("mw-collapsible-toggle-collapsed"); } }