Folks including the big guns including @jeremyruston, @pmario and others.
I am building a way to privately annotate tiddlywiki’s documentation tiddlers in a wiki of my own. I am setting it up so I can accrue my annotations over multiple releases and documentation updates.
- I started this by exporting all non-core tiddlers from tiddlywiki.com to a custom plugin.
- I then imported this into an empty.html
- I updated the standard search to also search non-system shadow tiddlers, so I can find the documentation tiddlers.
- I am building a set of tools, plugins and view templates to make annotating the documentation and looking up code and copying code snippets to the clipboard amongst other things.
- Some of which I may later propose adding to tiddlywiki.com as documentation updates.
Its all looking really good.
The Problem
- Since the all the documentation tiddlers were written as “tiddlers” the ones that list “tiddlers” do not include shadows, and we get missing information.
- Also if you have a Plugin and edit every tiddler to become a tiddler, you now have twice the storage requirement.
Short term solution and feature?
- Is there a way I could make all tiddlers within my documentation plugin look like tiddlers (not shadow tiddlers) without editing them?
- A function or filter would be sufficent to get the list of titles
- In someways it would be a little like skinny or external tiddlers, only they are stored in a plugin, that can be added/removed, enabled or disabled.
- I need to keep them as shadows, so If I do make any edits, I can tell them apart from the supplied ones.
- In a way I need to “rule in as tiddlers” a set of shadow tiddlers, found within a nominated plugin (without editing them).
- I wonder if it would be sufficient to write a custom widget that overrides the list widget to somehow also include the nominated shadows.
- I would hope if one of these shadows that are fake tiddlers, has being edited the content of the edited one would be returned.
Long term solution!?
- There would be no impact on the documentation tiddlers if they were modified to list
[all[shadows+tiddlers]]
because on tiddlywiki.com they are all tiddlers, however if extracted and used elsewhere in a plugin, as I have done, they would also still work correctly.
Bigger picture
- This work stands to allow users to maintain their own notes against a copy of tiddlywiki.com, whilst being able to keep the documentation tiddlers and core at the latest version. This needs the long term solution.
- However if there were a workaround as in the short term solution this feature could be leveraged for additional special features;
- Archiving tiddlers into a plugin that can be removed and reimported when needed yet made available as “tiddlers” when needed.
- Provide some new ways to manage wiki editions as a plugin
- Provide other opportunities for sharing code and data via plugin rather than as functional code solutions.
- Perhaps this could be used against other JSON tiddlers containing tiddlers within them to allow switchable tiddler data sets.
- For example I could import the documentation inside a JSON file and the solution would “publish” the tiddlers as if they are separate tiddlers.