User:Gamemakergm/Misc.js

/* Hide any WikiPage widgets that cannot be found at the current wiki community. See also: w:c:messaging:MediaWiki:Widgetwikipagemissing $( function {    $('.WidgetWikiPage .widget-error-wikipage-missing').closest('dd').parent('dl').hide; }); //  uses the new class }); $( function { $('.WidgetWikiPage i:contains("failed to load")').closest('dd').parent('dl').hide; // == PERFECT == BEST == works at Dashboard also });

/* This bit is Joeyaa's - adds links to anons in comments */ $('.details span[title]').each(function{       var t = $(this),        title = $(this).attr("title");        t.html('' + title + ''); });

/* Edit button on Answers */ importScriptPage("AnswersEditButton/code.js", "dev");

/* Fast Delete */ importScriptPage("FastDelete/code.js", "dev"); var fdButtons = []; fdButtons[fdButtons.length] = { "summary": "Spam/Vandalism", "label": "Vandalism/Spam"}; fdButtons[fdButtons.length] = { "summary": "Deletion request", "label": "Author request deletion"}; fdButtons[fdButtons.length] = { "summary": " ", "label": "No reason specified"};

/* PurgeButton */ PurgeButtonText = 'Purge'; importScriptPage('PurgeButton/code.js', 'dev');

/* Auto-refresh */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; importScriptPage("AjaxRC/code.js", "dev"); var indicator = 'http://images2.wikia.nocookie.net/__cb20100617113125/dev/images/8/82/Facebook_throbber.gif';