Announcing the release of TiddlyWiki v5.1.20

492 views
Skip to first unread message

Jeremy Ruston

unread,
Aug 9, 2019, 10:57:44 AM8/9/19
to TiddlyWiki
I’m delighted to announce the release of TiddlyWiki v5.1.20:

https://tiddlywiki.com/

This release is massive. Some of the many highlights:

* New conditional filter operators “then” and “else”
* New mathematics and string filter operators
* Improved handling of duplicates in filters
* Improved keyboard shortcuts
* New saver for saving the single file version direct to GitHub or GitLab
* New BrowserStorage plugin for saving tiddlers in browser local storage
* New InnerWiki plugin for rendering TiddlyWiki screenshots
* New and improved translations for Catalan, Chinese Simplified and Chinese Traditional, French, German, US English
* Several new performance optimisations
* New palettes and a new palette manager for more easily editing them
* New and fixed animations for several system actions
* Improved handling of JSON files
* New mechanism to add plugins to a wiki from the command line
* New “savewikifolder” and “deletetiddlers" commands for Node.js
* Many bug fixes

You can upgrade your existing single file wikis at: https://tiddlywiki.com/upgrade.html

As usual, please exercise caution when working with an upgrade, and take care to take plenty of backups. Comments and questions welcome.

It only remains to offer my sincere thanks to the many people who gave up their time and talents to contribute to this release.

Best wishes

Jeremy

Aidan Grey

unread,
Aug 9, 2019, 11:02:36 AM8/9/19
to tiddl...@googlegroups.com
Huzzah!! Cant wait to get home and upgrade! 

Thanks for all your work on this awesome tool

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7F69BE3A-5BE1-4A04-8965-A38F4EE99F3E%40gmail.com.

Mohammad

unread,
Aug 9, 2019, 11:34:43 AM8/9/19
to TiddlyWiki
Hi Jeremy
This is a great moment. Tiddliwiki is now more robust and more useful. The new scripting features lets to create more readable and maintainable script yet simpler to understand.

Few of my recent plugins use some of these features to create dynamic element which before 5.1.20 only possible by the aids of JavaScript.

I would like to thank you and appreciate the time and talent of all contributors, specially BTC for this amazing release.


Cheers
Mohammad

Ton Gerner

unread,
Aug 9, 2019, 11:52:00 AM8/9/19
to TiddlyWiki
Hi Jeremy,

A lot to explore and experiment with.

Thanks to you and all who contributed.

Cheers,

Ton

Mat

unread,
Aug 9, 2019, 12:00:47 PM8/9/19
to TiddlyWiki


...I mean in the good sense.

<:-)

Jon

unread,
Aug 9, 2019, 12:46:50 PM8/9/19
to TiddlyWiki
Thank you Jeremy and everyone who contributes to the development of TW - something which has become very much part of my life.

Regards
Jon

Ste Wilson

unread,
Aug 9, 2019, 3:52:27 PM8/9/19
to TiddlyWiki
Have upgraded on tiddlyspot.
All good but the gdpr Google Analytics plug in (https://groups.google.com/forum/m/#!searchin/tiddlywiki/Gdpr/tiddlywiki/1s33SNkpoYs) causes an initial red screen Java error.

TonyM

unread,
Aug 9, 2019, 8:09:50 PM8/9/19
to TiddlyWiki
Jeremy,

Thanks so much for this announcement so soon. Like always each new version multiplies the possibilities and makes the task of learning get easier.

I expect users, enthusiasts and developers will all get a lot from this release. 

So but a few points for all readers to consider
  • The mathematics and string operators will help develop solutions that need just a little maths to make them very compelling
  • The Local Storage plugin will enable read only wikis to;
    • retain visitor settings or last opened tiddlers (although not necessarily permanently)
    • Let people load plugins and macros and reload an online wiki
  • The innerwiki plugin can be used as intended to support screenshots for documentation but you can also generate a wiki in a window from a subset of tiddlers from the parent wiki. This will allow the generation of wiki instances from a parent wiki
  • The various string, match and condition operators will be more intuitive for many and can simplify macros
  • The hidden indexing performance enhancements can make a big difference to speed and performance in complex code or larger lists.
  • The = in filters to maintain duplicates are not only necessary for some mathematics and string operators but will provide new and novel ways  to handle lists.
All in all one small step for tiddlywiki, one giant leap towards empowering people with software.

Thanks once again
and best wishes to all those who sail in her (tiddlywiki that is)

Tony

Mohammad

unread,
Aug 10, 2019, 12:08:39 AM8/10/19
to TiddlyWiki
Tony


So but a few points for all readers to consider
  • The innerwiki plugin can be used as intended to support screenshots for documentation but you can also generate a wiki in a window from a subset of tiddlers from the parent wiki. This will allow the generation of wiki instances from a parent wiki
Where can I find examples documentation for using innerwiki plugin?

--Mohammad 

Mohammad

unread,
Aug 10, 2019, 12:25:18 AM8/10/19
to TiddlyWiki
Tony I found this for learning innerwiki


--Mohammad

TonyM

unread,
Aug 10, 2019, 1:06:25 AM8/10/19
to TiddlyWiki
Mohammad,

I see this as a way to publish empty + plugin demo sites or export data from a larger data set into a distributable tiddlywiki or even tiddlywiki edition generation from a selection process in the parent wiki. You can then save the new wiki with its own save mechanisium. Perhaps it will be wise to set the filename in the innerwiki data tiddlers.

Regards
Tony

Mohammad

unread,
Aug 10, 2019, 1:23:30 AM8/10/19
to TiddlyWiki
Thanks Tony!
 I need to make some experiments.
By the way innerwiki seems very exciting!

--Mohammad

Damon Pritchett

unread,
Aug 10, 2019, 4:08:20 PM8/10/19
to tiddl...@googlegroups.com
I tried upgrading this morning and have had an interesting issue. All of my internal links are repeating the text if there isn't an alias given with the link. For example, if I have a link to an internal tiddler like this:

[[Internal Tiddler Link]]

then the output looks like this:

Internal Tiddler LinkInternal Tiddler Link

with the underlined part being the link. The link itself works just fine. If the link has an alias then it all works fine. By alias, I mean like this:

[[Other Tiddler|Internal Tiddler Link]].

This shows as expected like this:

Other Tiddler

Nothing else changed in my TW. Only the upgrade.

Any thoughts on what might be causing this?

Thanks,

Damon

Damon Pritchett

unread,
Aug 10, 2019, 4:20:01 PM8/10/19
to TiddlyWiki
Ok - after I posted the message, I tried uninstalling the uni-link plugin and then doing the upgrade. That fixed the problem. I had tried disabling and/or uninstalling the plugin after the upgrade, but neither fixed the issue. As a test, I upgraded my TW with uni-link again to see if it repeated and it did. There's something about the uni-link plugin that seems to be causing this.

Damon

Michael Wiktowy

unread,
Aug 11, 2019, 7:36:45 PM8/11/19
to TiddlyWiki
Thanks for releasing this. Great additions and while it could be worked around with plugins, it is nice to have math in the core. Now that we have such amazing functionality, in the Mathematical Operators section, it might be worthwhile highlighting the limits of the 64 bit floating point ... as is witnessed in the "precision Operator (Examples)" -> precision[90] example ... thar be dragons beyond [15].

TonyM

unread,
Aug 13, 2019, 12:35:26 AM8/13/19
to TiddlyWiki
Folks,

The following is not working
{{{ [{!!tiddler-mode}else{$:/config/wiki-mode}] }}}
and not returning the content of $:/config/wiki-mode when the field on the current tiddler is empty?

Am I correct thinking this because else can only return a string in the parameter?

Regards
Tony

On Saturday, August 10, 2019 at 12:57:44 AM UTC+10, Jeremy Ruston wrote:

Mat

unread,
Aug 13, 2019, 12:51:57 AM8/13/19
to TiddlyWiki
TonyM wrote:
{{{ [{!!tiddler-mode}else{$:/config/wiki-mode}] }}}
 
This seems to work which indicates it has to do with the input to "else" rather than what "else" can return

{{{ [<currentTiddler>get[tiddler-mode]else{$:/config/wiki-mode}] }}}

<:-)

Mohammad

unread,
Aug 13, 2019, 12:57:28 AM8/13/19
to tiddl...@googlegroups.com
Tony

This works for me
{{{ [{!!tiddler-mode}match[test]then{$:/SiteTitle}else{$:/SiteSubtitle}] }}}


Furthermore semantically I like to have if then else.

--Mohammad

TonyM

unread,
Aug 13, 2019, 1:07:26 AM8/13/19
to tiddl...@googlegroups.com
Thanks Mat and Mohammad

I used this thanks to your tips
{{{ [all[current]get[tiddler-mode]else{$:/config/wiki-mode}] }}}

Does this mean that triple braces text references can NOT derive the currentTiddler ?
But that is not true in Mohamads case but needs match?

The broken case being
{{{ [{!!tiddler-mode}else{$:/config/wiki-mode}] }}}

Do you think this is a bug?

Regards
Tony

Jeremy Ruston

unread,
Aug 14, 2019, 11:00:51 AM8/14/19
to tiddl...@googlegroups.com
Hi Tony

Do you think this is a bug?

It’s a subtle difference in the handling of missing fields between two slightly different formulations.

Using the advanced search “filter” tab on tw.com, [{HelloThere!!missing}] returns 1 result (an empty string), while [[HelloThere]get[missing]] returns zero results.

The history is that the transclusion syntax came first, at some point we realised that not being able to distinguish between a missing field and a blank field was a problem, and so we “fixed” it by adding the new get operator (we couldn’t change the behaviour of the transclusion syntax without breaking backwards compatibility).

Best wishes

Jeremy.


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
Message has been deleted

Mark S.

unread,
Aug 14, 2019, 12:53:42 PM8/14/19
to TiddlyWiki
Forget that. You probably don't want the output as a link.

On Wednesday, August 14, 2019 at 9:50:21 AM UTC-7, Mark S. wrote:
Following Jeremy's comments, since "enlist" will collapse strings, you can do this fairly cleanly:

{{{ [enlist{!!tiddler-mode}else{wiki-mode}] }}}

(Sorry, I shortened tiddler $:/config/wiki-mode for visibility)

Or at least it worked in my tests.

Thanks!

Mark S.

unread,
Aug 14, 2019, 1:11:11 PM8/14/19
to TiddlyWiki
The example for "lookup" operator doesn't seem to use the default "show". That is, it shows the
same list as the example without the default. The default "show" is never used -- just blanks.

Using FF 68.0.2 Win 7


Reply all
Reply to author
Forward
0 new messages