A small mod of Kookma's trashbin plugin so it will be compatible with JD's 
Plain Revisions plugin.

*Demo and Download:* https://hchaase.github.io/TW-Trashbin-mod/

The problem

If you use JD's very nice Plain Revisions 
<http://j.d.revisions.tiddlyspot.com/> plugin and also want to use Kookma's 
very nice Trashbin <https://kookma.github.io/TW-Trashbin/> plugin you have 
a problem! when a tiddler go in the trash bin, the revisions are not 
touched, and if you later delete the tiddler from trash, you will have 
revisions of non-existing tiddlers filling up the wiki and a hard time 
locating these revisions.


The solution

The solution is my Trashbin-mod. With this mod, the revision tiddlers will 
be deleted whenever the corresponding tiddlers is deleted permanently from 
the trash bin. 

The revisions are not changed nor deleted as long as the corresponding 
tiddler is in the trash bin. Therefore, if you restore a tiddler from the 
trash bin, the revisions will still be there.


Features
   
   1. When a tiddler is *permanently* deleted from the trash (individually 
   or in bulk), the corresponding revisions of these tiddlers are also 
   deleted. 
   2. In the trashbin sidebar I added a count items in trash that will 
   appear when the trashbin is not empty. 


(@Kookma and @JD)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cdb52435-fc6f-4257-9d62-2480887edee3%40googlegroups.com.

Reply via email to