[TW5] TiddlerTool: A tool for editing/adding/removing/replacing fields and tags singularly or in bulk

781 views
Skip to first unread message

Jed Carty

unread,
Oct 2, 2015, 4:08:19 PM10/2/15
to TiddlyWiki
TiddlerTool is my newest attempt for a general purpose tool that lets you search and replace anything. So far it lets you add tags to search using tiddler titles, field names and tags then operate one the results or select a subset of the results to act on.
It can add, remove or replace/rename tags and fields. If you click on a tiddler title, field name or the contents of a field in the search interface you can edit it. You can also add tags to tiddlers individually using the same interface as when you edit a tiddler normally.

Renaming fields has a few problems that I haven't tracked down yet. The editing interface for an empty field opens for each tiddler where you rename a field. I don't know why. Also if you change the names of fields for all tiddlers returned by your search the field contents is lost.
For some reason if you rename a tiddler using this the renamed tiddler won't always show up in the list until you reload the wiki. I have no idea why. The table can also become wider than the tiddler.

It is packaged as a plugin on the demo site here.

There are other things, but the options and everything are hopefully easy enough to understand. Clicking on the question marks should open help pop-ups.

Mat

unread,
Oct 2, 2015, 5:00:27 PM10/2/15
to TiddlyWiki
This sounds very useful and I'll try it out properly! Thank you Jed!!!

There's some adjustment needed in the layout, please see attachment.



<:-)

Hegart Dmishiv

unread,
Dec 30, 2015, 4:26:46 PM12/30/15
to TiddlyWiki
This will be very handy for me, thanks Jed. This will be the first plugin I have ever added to my TiddlyWiki. I'm about to embark on a manual "internal consistency check" of the content within my wiki (non-system tiddlers only), so I'll use a temporary tag to mark all those tiddlers which I have already processed. At the conclusion, I want to bulk remove the temporary tag from all tiddlers. I assume your plugin will handle such a task? This is a great tool for wiki content maintenance, reminiscent of AWB and PyWikiBot for bulk categorization in MediaWiki installations.  We need more tools like this, which focus on the content within the wiki rather than the underlying development of TiddlyWiki, IMHO.

Jed Carty

unread,
Dec 30, 2015, 5:00:33 PM12/30/15
to TiddlyWiki
Yes, it can do that. Make sure you back up your wiki first as always, I haven't run into any big bugs in it but to my knowledge I am the only person who has used it. There are sometimes display problems when searching but aside from the table not being laid out correctly everything works.

Let me know if you run into any bugs.

Hegart Dmishiv

unread,
Dec 30, 2015, 5:08:52 PM12/30/15
to tiddl...@googlegroups.com
Yes, thanks, I did backup my live (offline) wiki first, and it did 0kb bomb my wiki the first time through (thanks Firefox!) but I restored from the backup and tried again, and it worked perfectly this time. I have TiddlyTool installed on my dev instance as well, where it works fine but you can't save the applied changes in bulk, due to the GitHub hosting, and the way changes are saved there. I make a separate commit for every tiddler I change there, rather than replacing the entire html file in one go. But it is a great place to experiment, and it puts the "rollback" facility into TW, similar to MediaWiki.

The "display problems when searching" might be alleviated by providing a GO button (or similar) rather than searching as you type each letter. Just my opinion.
Reply all
Reply to author
Forward
0 new messages