Jump to content

User:Polygnotus/Scripts/DiscussionToolsDrafts

From Wikipedia, the free encyclopedia

This script helps you manage saved DiscussionTools drafts in your browser's localStorage.

DiscussionToolsDrafts
DescriptionThis script helps you manage saved DiscussionTools drafts in your browser's localStorage.
Author(s)Polygnotus
UpdatedApril 29, 2025
    (2 days ago)
SourceUser:Polygnotus/Scripts/DiscussionToolsDrafts.js

DiscussionToolsDrafts

Installation

[edit]

First install User:Enterprisey/script-installer, then come back to this page and click the giant blue "Install" button in the infobox on the right.

Or install it manually by adding the below code to your Special:MyPage/common.js file:

{{subst:iusc|User:Polygnotus/DiscussionToolsDrafts.js}}

Usage

[edit]
  • Go to your watchlist and scroll to the bottom.
  • Expand the DiscussionToolsDrafts-section.

Functionality

[edit]
  • Shows the drafts stored by DiscussionTools in your browser's localStorage at the bottoms of your watchlist.
  • You can delete individual items from the list.
  • The "Delete All Empty Drafts"-button allows you to quickly get rid of drafts that do not have a title or content.
  • Drafts that do not have a title or content have a reddish background.
  • Stores collapsed/expanded state in localStorage().

Limitations

[edit]