Keep original filenames in node.js

74 views
Skip to first unread message

Florian

unread,
Apr 21, 2021, 12:27:18 PM4/21/21
to TiddlyWiki

Hi, I have been using tiddlywiki with node.js for a while now and decided to update from an older version. Now whenever I save a tiddler through the wiki it changes the filename to "wiki/<title>.tid" previously the file structure was preserved. Its quite annoying, because I often use an IDE to edit wiki files and have made a complex folder structure for my tiddlers.

Is there an easy way to disable the renaming of tiddlers on save?

Saq Imtiaz

unread,
Apr 21, 2021, 1:50:47 PM4/21/21
to TiddlyWiki
Do you have tiddler with the title:
$:/config/FileSystemPaths

If so, what are its contents?

Also is your wiki set up at the server root or at a different path?
As in 127.0.0.1 or 127.0.0.1/wiki ?
Message has been deleted

Florian

unread,
Apr 21, 2021, 3:52:45 PM4/21/21
to TiddlyWiki
My wiki is set up at server root and I dont have a FileSystemPaths tiddler

Joshua Fontany

unread,
Apr 25, 2021, 8:32:15 PM4/25/21
to TiddlyWiki
This seems really odd...

If you do not have a `$:/config/FileSystemPaths` tiddler that has a filter that includes `addprefix[wiki/]`..

then the only possible other location it could be reading that from is the `$:/config/OriginalTiddlerPaths` tiddler...

But then that would mean that was where those files were loaded from... & that doesn't make sense.

I did find and fix a few bugs in the filesystem adaptor since the last release. Can you attempt to re-create this in the Pre-Release version on Node?

Best,
Joshua Fontany
Reply all
Reply to author
Forward
0 new messages