Retrieving the TiddlyWiki Version inside a Wiki Folder

Based on TiddlyWiki official docs:

tiddlywiki --version

It will returns the version number like 5.3.5. But if you call this command inside a wikifolder i.e a folder/directory contains the tiddlywiki.info it returns something like this:


5.3.5
syncer-server-filesystem: Dispatching 'save' task: $:/StoryList

Is this a bug? I don’t understand why it should dispatching save task for $:/StoryList

Using --version will execute all modules, only not starting the server

But try to save $:/StoryList might be a bug, not sure.

IMO you should file an issue at GitHub.

Hi @Mohammad I think there are two things going on here:

  1. The startup module $:/core/modules/startup/story.js creates the tiddler $:/StoryList as part of running the main story river. It may be unexpected that the story river logic runs on the server, but it has always done so

  2. it sounds like the wiki folder you are using includes the filesystemadaptor plugin. It tracks changes to tiddlers and saves them to the file system. It sees the change to $:/StoryList and writes the tiddler to the file system

So I think the open question might be whether the story river logic is really needed on the server. I don’t recall there being a good reason, but it would have been easy enough to have made the module only run in the browser, and so I suspect that there might have been be a subtle dependency that makes it expedient to run the story river logic on the server too.

Thank you for your clarification!
I used something like below (powershell script)

$tiddlywikiVersion = (tiddlywiki --version) -replace '(\d+\.\d+\.\d+).*', '$1' # Remove "-prelrease" word if existed, ignore other output
$editionFullName = Join-Path -Path "D:\TiddlyWiki\$tiddlywikiVersion\editions" -ChildPath $edition

to access TW editions based on the version in use.