Jump to content

User:Zackmann08/scripts/HoldingCellHelper

From Wikipedia, the free encyclopedia
Holding Cell Helper
DescriptionAssist in cleaning up TFDL templates from the holding cell
AuthorZackmann08
UpdatedAugust 5, 2026
    (9 days ago)
SourceUser:Zackmann08/scripts/ HoldingCellHelper.js

This script is designed to assist with editing the TFD Holding Cell and will exclusively run on that page. It can either be used to individually remove instances of {{tfdl}} or en-masse deal with multiple at a time.

Individual

[edit]

After each instance of {{tfdl}} on the holding cell, it will add two links: [Del] and [RFD]. Clicking these will do the following:

  • [Del] Remove this entry from the page entirely. For use when the template's transclusions have all been cleaned and the template either does not need to be deleted (as it has been redirected) or you have already deleted the template.
  • [RFD] Mark the entry as Ready for deletion by removing it from its current section and placing at the bottom of the page in the Ready for deletion section.

Multi en-masse

[edit]

Before each instance of {{tfdl}} on the holding cell, a checkbox will appear. Additionally, adjacent to each section heading, two links will appear, [Del Checked] & [RFD Checked]

  • [Del Checked] Remove all checked entries from the page entirely. For use when the templates in question have all been cleaned and the tempaltes either do not need to be deleted (as they have been redirected) or you have already deleted them.
  • [RFD Checked] Mark the entries as Ready for deletion by removing them from their current section and placing them all at the bottom of the page in the Ready for deletion.

Blanking 'Ready for deletion'

[edit]

In the section Ready for deletion at the bottom of the page, [Blank section] will be added. When all templates in that section have been deleted (i.e. all RED) click this button to reset the section and remove all templates.

Features

[edit]

A few of the features include:

  1. Automatically adding * ''None currently'' when the tfdl removed is the last in the section.
  2. Handling both Modules for deletion and Templates for deletion
  3. Removing * ''None currently'' from the bottom of the page if present when adding the latest tfdl to the Ready for deletion section
  4. Automatically adding |delete=1 to the tfdl when moving to the bottom.
  5. Deletes all comments below a particular {{Tfdl}} listing when either deleting or marking for deletion.

Installation

[edit]
  1. Go to your common JavaScript and paste in the following line:
    {{subst:iusc|User:Zackmann08/scripts/HoldingCellHelper.js}}
  2. Save the page.