User:Igarnish/common.js

importScript('User:Evad37/rater.js'); // User:Evad37/rater /** * Simple script to manipulate links to the talk pages at unassessed article category pages, such as * Category:Unassessed biography articles or Category:Unknown-importance cricket articles * so that they * - point straight to the articles * - get opened in a new tab by default * - redirect is not followed * - Evad37's Rater is opened automatically on the article */

$.when(mw.loader.using('mediawiki.util'), $.ready).then(function {	if (mw.config.get('wgPageName').indexOf('Category:Unassessed') === 0 || mw.config.get('wgPageName').indexOf('Category:Unknown-importance') === 0) {		$('.mw-category ul li a').each(function(i,e) { e.href = e.href.replace('/wiki/Talk:', '/wiki/').replace(/$/, '?redirect=no&autostartrater=y'); e.target = '_blank'; });	}	setTimeout(function { if (mw.util.getParamValue('autostartrater')) { $('#ca-rater').click; }	}, 1000); }); importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // Backlink: User:Qwertyytrewqqwerty/DisamAssist.js importScript('User:Lupin/recent2.js'); importScript('Wikipedia:AutoEd/complete.js'); importScript( 'User:Enterprisey/cv-revdel.js' ); // Backlink: User:Enterprisey/cv-revdel.js importScript( 'User:Enterprisey/watchlist-notice.js' ); // Backlink: User:Enterprisey/watchlist-notice.js importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool importScript('User:SD0001/DYK-helper.js'); // User:SD0001/DYK-helper.js importScript('User:Headbomb/unreliable.js'); // Backlink: User:Headbomb/unreliable.js importScript('User:SD0001/StubSorter.js'); // Backlink: User:SD0001/StubSorter.js importScript('User:Galobtter/scripts/adminhighlighter.js'); // Backlink: User:Galobtter/scripts/adminhighlighter.js importScript('User:Danski454/goToTop.js'); // Backlink: User:Danski454/goToTop.js importScript('User:Evad37/duplinks-alt.js'); // Backlink: User:Evad37/duplinks-alt.js importScript('User:Uglemat/RefMan.js'); // Backlink: User:Uglemat/RefMan.js