Wikipedia:XFDcloser (WP:XFDC)

XFDcloser (source) is a gadget to close XfD discussions at multiple venues. Feedback, including bug reports and feature suggestions, can be given on the talk page.  To install the gadget, visit Special:Preferences § Gadgets, scroll down to "Maintenance and administration", tick XFDcloser, and save the page. If you previously installed the userscript version (or one of its redirects listed here), you should uninstall it:  User:Czar/closexfd.js (source) User:Evad37/XFDcloser.js (source) User:Evad37/XFDcloser/v3.js (source) User:Mr.Z-man/closeAFD.js (source)Remove the line  importScript('User:Evad37/XFDcloser.js'); // [[User:Evad37/XFDcloser]]  or   importScript('User:Mr.Z-man/closeAFD.js');  from Special:MyPage/common.js (or skin-specific js such as vector.js, monobook.js, etc) Note that the gadget is not available unless you are extended confirmed.  In addition to closing or relisting discussions, XFDcloser can undertake actions to implement a close:  When there is more than one page nominated, multiple results (i.e. "keep some, delete others") can be specified, with appropriate actions applied to each page.  XFDcloser adds closing/relisting links after the headings of each discussion, for the following XfD venues: AfD, CfD, FfD, MfD, RfD, TfD   === Close === Click on the [close] link to bring up a dialogue box, where you can select various options, and type out a rationale.   ==== Multiple results ==== To specify results individually for each page in a multiple-nomination XfD, choose the Multiple results... button.   ==== QuickClose ==== Clicking on the [quickClose] link brings up two links, qk and qD. These are shortcuts that bypass the form, to quickly close the discussion as keep or delete (respectively), with no further rationale, and with default options.   === Relist === Click on the [relist] link to bring up a dialogue box, where you can optionally type out a rationale.   === Unlinking backlinks === For AfD and FfD discussions, there is an option to unlink backlinks (including file usage). For links within list items, it is sometimes more appropriate to remove the list item rather than unlinking it, depending on the list's selection criteria. In such cases, the script will ask whether to keep the unlinked item, keep it and request a citation (add {{citation needed}}), or remove it:   === Hide/Show closed sections === An option to hide or show already closed sections, making it easer to find unclosed sections. Appears in a small yellow box in the bottom-right corner of the screen. When you change states, this will be remembered (if localStorage usage is available/allowed by your browser)   === Discussion age detection === XFDcloser detects how long a discussion has been listed for, and if it has been relisted. Closers will be warned if it has been less than 7 full days since the discussion was listed, or since it was last relisted. This information is also, by default, displayed using background colours for the closing/relisting links:  Green if older than 7 days Orange if less than 7 days since last relist Red if less than 7 days since initial listing Yellow if age could not be detectedThese styles can be adjusted by editing your common.css (or skin-specific) CSS page, as the script applies the following classes to heading elements:  one of xfdc-old, xfdc-notOld, or xfdc-unknownAge, and xfdc-relisted if the discussion has been relisted.Here are some example code of alternative styles you can use:   === Notes === Non-admin users will automatically have their closes marked with "(non-admin closure)". Non-admins are not offered deletion options, except for TfD's which get listed at the TfD holding cell. Entering the result "soft delete" will automatically add an explanation and request for undeletion link to the additional rationale box, using Wikipedia:XFDcloser/Soft deletion rationale. For TfD: If the holding cell section "Ready for deletion" is selected, the template(s) will have {{db-xfd}} added instead of {{being deleted}}. For RfD: If the discussion is closed to any result that changes the redirect(s), all of the existing categories and categorization templates will be removed. It is advised to verify each redirect after the RfD is closed, and restore any applicable categories and categorization templates on the redirect(s). Originally published on the English Wikipedia at https://en.wikipedia.org/wiki/MediaWiki:Gadget-XFDcloser.js and available under Creative Commons Attribution-ShareAlike 3.0 Unported License (CC BY-SA 3.0) https://creativecommons.org/licenses/by-sa/3.0/ and GNU Free Documentation License (GFDL) http://www.gnu.org/copyleft/fdl.html This gadget incorporates code derived from, and is a direct replacement for, these scripts also written by Evad37:  https://en.wikipedia.org/wiki/User:Evad37/CFDcloser.js https://en.wikipedia.org/wiki/User:Evad37/FFDcloser.js https://en.wikipedia.org/wiki/User:Evad37/TFDcloser.jsFuthermore, it incorporates code copied/derived from:  https://en.wikipedia.org/wiki/User:Mr.Z-man/closeAFD2.js https://en.wikipedia.org/wiki/MediaWiki:Gadget-twinkleunlink.js https://en.wikipedia.org/wiki/MediaWiki:Gadget-morebits.jsSee these pages' "History" pages for their authors. All of the these pages are also published on Wikipedia, and thus also available under the terms of the CC BY-SA 3.0 license and GFDL.