_ _    _ _____  ___   __                       
 __      _(_) | _(_)___ / ( _ ) / /_   ___ ___  _ __ ___  
 \ \ /\ / / | |/ / | |_ \ / _ \| '_ \ / __/ _ \| '_ ` _ \ 
  \ V  V /| |   <| |___) | (_) | (_) | (_| (_) | | | | | |
   \_/\_/ |_|_|\_\_|____/ \___/ \___(_)___\___/|_| |_| |_|

User:Evad37/XFDcloser.js

In today's world, User:Evad37/XFDcloser.js has become a relevant and interesting topic for a wide spectrum of people. Whether it is a public figure, a concept, or a historical event, User:Evad37/XFDcloser.js sparks the interest and curiosity of many. Throughout history, User:Evad37/XFDcloser.js has played a crucial role in forming societies and shaping culture and traditions. In this article, we will explore the meaning and importance of User:Evad37/XFDcloser.js in depth, offering a detailed and insightful look that will shed light on this fascinating topic.
/**
 * XFDcloser Loader:
 * On XFD pages, notify users that ] is a gadget, then load the gadget
 */
/* jshint esversion: 5, laxbreak: true, undef: true, eqnull: true, maxerr: 900 */
/* globals window, $, mw */
/* <nowiki> */

$.when(
	// Resource loader modules
	mw.loader.using(),
	$.ready
).then(function() {
	var config = mw.config.get( [
		'wgPageName',
		'wgUserGroups'
	] );
	
	/* Quick checks that script should be running */
	if ( /(?:\?|&)(?:action|diff|oldid)=/.test(window.location.href) ) {
		// Page is in edit, history, diff, or oldid mode
		return;
	}
	
	if (
		config.wgUserGroups.indexOf('extendedconfirmed') === -1 &&
		config.wgUserGroups.indexOf('sysop') === -1
	) {
		// User is not extendedconfirmed or sysop
		return;
	}
	
	var xfdpage_regex = /(Articles_for_deletion\/|Miscellany_for_deletion|User:Cyberbot_I\/AfD's_requiring_attention|Wikipedia:WikiProject_Deletion_sorting\/(?!(Flat|Compact)$)|(Categories|Files|Templates|Redirects)_for_discussion(?!\/(Working|Holding_cell|Speedy)))(?!\/?Administrator_instructions$)/;
	if ( !xfdpage_regex.test(config.wgPageName) ) {
		// Current page is not an XfD page;
		return;
	}
	
	/* Notification */
	mw.notify(
		$('<span>XFDcloser is now a gadget!<br>Please <a href="https://en.wikipedia.orghttps://wiki386.com/en/Wikipedia:XFDcloser#Installation" title="Wikipedia:XFDcloser#Installation" style="font-weight:bold">upgrade to the gadget version</a>.<br><span style="font-size:92%">Need help? Ask at <a href="https://en.wikipedia.orghttps://wiki386.com/en/Wikipedia_talk:XFDcloser" title="Wikipedia talk:XFDcloser">WT:XFDC</a>.</span></span>'),
		{
			autoHide: false,
			tag: 'XFDcloser-gadget',
			type: 'warn'
		}
	);
	
	/* Load the gadget */
	mw.loader.load("ext.gadget.XFDcloser");

});
/* </nowiki> */