Export variations from Empty?

Folks,

Can anyone suggest the content of a filter designed to select all tiddlers not part of the current Wikis original empty.html I imagin it consists of all tiddlers including overridden system tiddlers all plugins not $:/core. Is that all?

I would like to generate a single JSON to install, with caution on overridden core tiddlers over a newer version of empty. I want to avoid upgrade because I am not sure its the equivalent.

Similarly what if the wiki was build from tiddlywiki.com, can we find the differences from tiddlywiki.com edition?

There are no simple ways to find out differences except those which are part of the TW import mechanism.

You can have a closer look to: https://meldmerge.org/ It can do a lot of different things.

You could compare 2 wiki html versions. … The output will not be too good, but at least you will see what’s different.

1 Like

Honestly, the empty edition is PRETTYR DARN EMPTY.

Going to https://tiddlywiki.com/empty, and using Advanced Search > Filters: [all[tiddlers]]

gives us:

$:/library/sjcl.js
$:/boot/bootprefix.js
$:/boot/boot.js
$:/boot/boot.css
$:/core
$:/isEncrypted
$:/themes/tiddlywiki/snowwhite
$:/themes/tiddlywiki/vanilla
$:/temp/info-plugin
$:/status/RequireReloadDueToPluginChange
$:/StoryList
$:/HistoryList
$:/state/advancedsearch/currentTab
$:/state/tab--1498284803
$:/temp/advancedsearch/input
$:/temp/advancedsearch

All System Tiddlers created on startup, the current themes, etc.

So, you could add this tiddler to your wiki

tags: $:/tags/Macro
title: Macros/EmptyTiddlers

\define empty-tiddlers()
$:/library/sjcl.js
$:/boot/bootprefix.js
$:/boot/boot.js
$:/boot/boot.css
$:/core
$:/isEncrypted
$:/themes/tiddlywiki/snowwhite
$:/themes/tiddlywiki/vanilla
$:/temp/info-plugin
$:/status/RequireReloadDueToPluginChange
$:/StoryList
$:/HistoryList
$:/state/advancedsearch/currentTab
$:/state/tab--1498284803
$:/temp/advancedsearch/input
$:/temp/advancedsearch
\end

and then run an Advanced Search Filter as so:
[all[tiddlers]] -[[Macros/EmptyTiddlers]] -[enlist<empty-tiddlers>]

This now only returns some popup and state tiddlers created while editing this setup in the Empty wiki, and should return all user added tiddlers in any other wiki. Tested and works on the main tiddlywiki.com site.

Enjoy!

3 Likes

Taking the solution by @joshuafontany I did a little modification for simpler use

  1. Create a tiddler, name it what ever you like, I call it here $:/PSAT/WikiTiddlers
  2. Tag it with $:/tags/Filter
  3. Add field description with value: All tiddlers except empty edition tiddlers
  4. Add field filter with value [all[tiddlers]] -[enlist{$:/PSAT/WikiTiddlers}] (use your own tiddler name if your step 1 is different)
  5. put the below list in your tiddler body (text field of $:/PSAT/WikiTiddlers)
$:/library/sjcl.js
$:/boot/bootprefix.js
$:/boot/boot.js
$:/boot/boot.css
$:/core
$:/isEncrypted
$:/themes/tiddlywiki/snowwhite
$:/themes/tiddlywiki/vanilla
$:/temp/info-plugin
$:/status/RequireReloadDueToPluginChange
$:/StoryList
$:/HistoryList
$:/state/advancedsearch/currentTab
$:/state/tab--1498284803
$:/temp/advancedsearch/input
$:/temp/advancedsearch
  1. Save
  • Now this new filter is available through Advanced Search ($:/AdvancedSearch)
  • Open $:/AdvancedSearch
  • Open the Filter tab
  • From dropdown menu select All tiddlers except empty edition tiddlers
  • Click Export

To give a try drag and drop $__PSAT_WikiTiddlers.json (610 Bytes) into your wiki or on https://tiddlywiki.com

3 Likes

You may be able to use the haschanged[] operator to make a more concise solution:

https://tiddlywiki.com/#haschanged%20Operator

Actually, haschanged won’t help here because it is reset each time the file is saved and reloaded.

2 Likes

Has anyone extended this approach or found a better solution for exporting and updating?

  • Simply navigate to $:/AdvancedSearch → Filter Tab
  • Select the desired filter (e.g., All tiddlers except empty edition tiddlers)
  • and click export as JSON.

It would be great if all configurations from the current wiki could be included.