User:Evad37/TFDcloser

From Wikipedia, the free encyclopedia

This script, TFDcloser (source), makes it easy to close TFD discussions.

  • See the talk page for development and testing discussions. Anyone using this relatively new (July 2016) script should monitor their contributions and actions carefully, and report any unexpected occurrences. - Evad37 [talk] 11:26, 25 July 2016 (UTC)

Installation[edit]

To install the script, add:

importScript('User:Evad37/TFDcloser.js'); // [[User:Evad37/TFDcloser]]

to Special:MyPage/common.js.

Usage[edit]

Closing options[edit]

TFDcloser adds the following one-click close options to TFD entries:

[keep/other]
Use for: Keep, or other close that will result in the template(s) being kept (e.g. Redirect, No Consensus)
Details: Prompts for result & rationale; closes discussion using that result & rationale (and {{NAC}} if non-admin); adds {{Old TfD}} to template talkpage; removes {{Template for discussion/dated}} or {{Tfm/dated}} from template
[qK] (QuickKeep)
Use for: Keep, when no further rationale is required
Details: Same as [keep/other], but instead of prompting, just uses "Keep" as the result/rationale
[delete/other]
Use for: Delete, or other close that will result in the template(s) being deleted (e.g. Review, Convert, Substitute)
Details (admins): Prompts for result & rationale; closes discussion using that result & rationale; prompts for which holding cell section to use, or "delete now";
If a holding cell section is selected: adds {{tfdl}} to that holding cell section, and replaces {{Template for discussion/dated}} or {{Tfm/dated}} with {Being deleted} (<noinclude>'d);
If "delete now" selected: performs delete action, using a link to the TFD discussion as the reason
Details (non-admins): Prompts for result & rationale; closes discussion using that result, rationale, and {{NAC}}; prompts for which holding cell section to use; adds {{tfdl}} to that holding cell section; replaces {{Template for discussion/dated}} or {{Tfm/dated}} with {{Being deleted}} (<noinclude>'d)
[qD] (QuickDelete)
Use for: Delete, when no further rationale is required
Details: Same as [delete/other], but instead of prompting, just uses "Delete" as the result/rationale. Will still prompt for a holding cell section or (if admin) "delete now"
[relist]
Details: Prompts for optional relist comment; relists discussion on current day's TFD subpage; closes original discussion as "Relist" (and removes the old discussion); updates {{Template for discussion/dated}} or {{Tfm/dated}} on template
[other close]
Use for: Closes which require different actions for one or more of the templates listed at the discussion (e.g. Merge, Delete some but keep others)
Details: Prompts for result & rationale; closes discussion using that result/rationale; opens each template so that further manual action can be undertaken.

Or, if the script can't identify any templates, just one option:

[Close]
Prompts for closing comment, and closes the discussion with that comment, but takes no further action.

Hide/Show closed sections[edit]

An option to hide or show already closed sections, making it easer to find uncooked sections. Appears near the Move link, in the More dropdown menu.

Notes[edit]

  • Entering the result "soft delete" will automatically be expanded to "soft delete. WP:REFUND applies."
  • If holding cell section "Ready for deletion" is selected, the template(s) will have {{db-xfd}} added instead of {{Being deleted}}

See also[edit]