User:Evad37/FFDcloser

This script, FFDcloser (source), makes it easy to close FFD 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 &#91;talk] 11:26, 25 July 2016 (UTC)

Installation
To install the script, add: importScript('User:Evad37/FFDcloser.js'); // User:Evad37/FFDcloser to Special:MyPage/common.js.

Closing options
FFDcloser adds the following one-click close options to FFD entries: Or, if the script can't identify any files, just one option:
 * Quick Delete [qDel] – Closes the discussion as "Delete" and deletes the file.
 * Delete with Comments [Delete] – Prompts for closing comment, closes the discussion with that comment, and deletes the file.
 * Quick Keep [qKeep] – Closes the discussion as "Keep", removes template from file page, and adds  to file talk page.
 * Other Close/Keep with Comments [Other close] – Prompts for closing comment, closes the discussion with that comment, removes template from file page, and adds  to file talk page.
 * Relist Discussion [Relist] – Closes the discussion as "Relist" (and removes the discussion), relists discussion on the current day's subpage, and updates the log parameter in the template on the file page. Also prompts for any comment.
 * Close Discussion [Close] – Prompts for closing comment, and closes the discussion with that comment, but takes no further action.

Hide/Show closed sections
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.

Note
Non-admins can't actually delete files with this script – a permission denied error will be returned.