Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* XFDcloser loader: loads the discussion-closing tool on deletion-discussion pages and on pages where a deletion-discussion notice needs to be removed. */
(function () {
var isNonexistentPage = mw.config.get("wgArticleId") === 0;
var isUnlinkableNamespace = [0, 6, 100].indexOf(mw.config.get("wgNamespaceNumber")) !== -1;
var isUnlinkablePage = isNonexistentPage && isUnlinkableNamespace;
if (!isUnlinkablePage && /(?:\?|&)(?:action|diff|oldid)=/.test(window.location.href)) {
return;
}
var xfdpageRegex = /(Articles_for_deletion\/|Miscellany_for_deletion|(Categories|Files|Templates|Redirects)_for_discussion(?!\/(Working|Holding_cell|Speedy)))(?!\/\/?(?:Administrator_instructions|Common_outcomes)$)/;
var isXfdPage = xfdpageRegex.test(mw.config.get("wgPageName"));
var shouldLoadScript = isXfdPage || isUnlinkablePage;
if (!shouldLoadScript) {
return;
}
mw.loader.load("ext.gadget.XFDcloser-core");
})();