Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Installation  





2 Features  





3 Usage  



3.1  Close  



3.1.1  Multiple results  





3.1.2  QuickClose  







3.2  Relist  





3.3  Unlinking backlinks  





3.4  Hide/Show closed sections  





3.5  Discussion age detection  





3.6  Notes  







4 Licensing and attribution  





5 See also  














Wikipedia:XFDcloser







ि
اردو
 

Edit links
 









Project page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


XFDcloser
DescriptionCloses XfD discussions
Author(s)Evad37
Version
  • 4.0.13 (main)
  • 4.0.13 (beta)
  • Updated22 January 2022
    Browser supportMost browsers released since 2013, including Chrome, Firefox, IE11, Edge, Safari
    Skin support
    • Vector
  • Monobook
  • Modern
  • Cologne Blue
  • Timeless
  • Minerva (mobile) – possible but not mobile-friendly
  • Source
  • Core
  • Styles

  • Beta

  • Testwiki
  • GitHub repositoryxfdcloser

    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.

    Installation[edit]

    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:

    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.

    Features[edit]

    In addition to closing or relisting discussions, XFDcloser can undertake actions to implement a close:

    • Add old XfD templates to talk pages
      • Will collapse multiple banners into a single {{Old AfD multi}} banner
  • Remove nomination templates from nominated pages (when the pages are kept)
  • Replace nomination templates with merge template, add merge tag to target's talk page (AfD, MfD)
  • Delete nominated pages (when the result is delete)
    • Also delete the talk pages
  • List templates at the holding cell, in specified section (TfD)
    • Replace nomination template with {{Being deleted}}
    • or if "Ready for deletion", apply speedy deletion tags to the template (G6) and its talk page (G8)
  • Delete redirects
    • Also delete redirects' talk pages
  • Unlink backlinks (AfD, FfD)
  • Redirect, or delete and then redirect, nominated pages
    • Apply specified rcats
    • Unlink circular links from redirect target
  • 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.

    Usage[edit]

    XFDcloser adds closing/relisting links after the headings of each discussion, for the following XfD venues: AfD, CfD, FfD, MfD, RfD, TfD

    Part of an XfD log page with the script installed

    Close[edit]

    Click on the [close] link to bring up a dialogue box, where you can select various options, and type out a rationale.

    Closing discussion dialogue box, which is drag-able and resize-able. The exact options available depend on the XfD venue, the selected result, and whether you are an administrator.

    Multiple results[edit]

    To specify results individually for each page in a multiple-nomination XfD, choose the Multiple results... button.

    Multiple results version of the dialogue box.

    QuickClose[edit]

    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.

    After clicking on [quickClose], the qk and qD links are revealed, along with an (x) to cancel

    Relist[edit]

    Click on the [relist] link to bring up a dialogue box, where you can optionally type out a rationale.

    Relisting discussion dialogue box

    Unlinking backlinks[edit]

    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:

    Popup to review an unlinked list item

    Hide/Show closed sections[edit]

    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 (iflocalStorage usage is available/allowed by your browser)

    Click the yellow box in the bottom-right corner of the screen to toggle hiding/showing of closed discussions

    Discussion age detection[edit]

    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:

    These styles can be adjusted by editing your common.css (or skin-specific) CSS page, as the script applies the following classes to heading elements:

    Here are some example code of alternative styles you can use:

    Expand background colour to entire heading

    .xfdc-old { background-color:#c6ffc6 }
    .xfdc-notOld { background-color:#ffc6c6 }
    .xfdc-unknownAge { background-color:#ffffc6 }
    .xfdc-notOld.xfdc-relisted { background-color:#ffe9c6 }
    

    Remove background colours

    .xfdc-notOld .xfdc-action, 
    .xfdc-old .xfdc-action,
    .xfdc-unknownAge .xfdc-action,
    .xfdc-relisted.xfdc-notOld .xfdc-action {
     background: inherit !important;
    }
    

    Add text descriptions after closing/relisting links

    .xfdc-old .xfdc-status:after { content: "More than 7 days old"; color: #14866d; }
    .xfdc-notOld .xfdc-status:after { content: "Less than 7 days old"; color: #b32424; }
    .xfdc-notOld.xfdc-relisted .xfdc-status:after { content: "Less than 7 days since last relist"; color: #a05518; }
    .xfdc-unknownAge .xfdc-status:after { content: "Unable to detect discussion age"; color: #fc3; }
    
    .xfdc-status:after {
     font-size: 92%;
     margin-left: 13px;
    }
    

    Notes[edit]

    Licensing and attribution[edit]

    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:

    Furthermore, it incorporates code copied/derived from:

    See 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.

    See also[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:XFDcloser&oldid=1175095979"

    Categories: 
    Wikipedia scripts
    Wikipedia deletion
    Wikipedia consensus tools
     



    This page was last edited on 12 September 2023, at 19:39 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki