User:Polygnotus/Scripts/DiscussionToolsDrafts
Appearance
This script helps you manage saved DiscussionTools drafts in your browser's localStorage.
![]() | |
Description | This script helps you manage saved DiscussionTools drafts in your browser's localStorage. |
---|---|
Author(s) | Polygnotus |
Updated | April 29, 2025 (2 days ago) |
Source | User:Polygnotus/Scripts/DiscussionToolsDrafts.js |
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]- If the comment you were replying to is no longer available, or available in multiple places, you will be sent to Special:FindComment. This a limitation of DiscussionTools; not of DiscussionToolsDrafts. For more info see https://www.mediawiki.org/wiki/Extension:DiscussionTools/How_it_works#Indistinguishable_items