Otherwise, when serializing the tiddlers as JSON when loading plugins,
derived values may end up with the incorrect values.
Take the `modified` field for example - without stringification, it ends
up as something like `new Date(2025, 3, 12, 6, 56, 23)`, which then gets
serialized as `"2025-04-12T11:56:23.000Z"` (in my timezone), rather than
`"20250412115623000"`. The string `"2025-04-12T11:56:23.000Z"` trips up
TiddlyWiki's date parser upon load, and it gets parsed as
`20250101000000000` instead.
Fixes GH #9021
* feat: add removeEventListener , and allow register multiple listeners
Instead of remove old one when add new one.
* refactor: simplify the logic, similar to wiki class's addEventListener
* feat: prevent adding the same event listener multiple times
* Make some editions use external core
* Revert tw5.com-docs use external js
* Revert "Revert tw5.com-docs use external js"
This reverts commit 93f36cb0af.
* Update docs for plugin versions
Update docs for share plugin.
Add docs for Tour and Geospatial plugin.
* Do not change modified field for some tiddlers
* Remove flags in language plugins
* Remove references to language icons
* Remove obsolete example
There are no incoming links to this tiddler
* Remove icon from en-GB language
* Temporarily add all the languages for testing
To be removed before merging
* Add new "language" icon
* Languageswitcher update
* Translator editon docs update
* Fixes for introduction edition
* Remove LanguageGallery in ja-JP edition
* Remove temporary setting
---------
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
* [DOCS] Make it more obvious that $:/DefaultTiddlers setting can handle filter-expressions
* update with requested changes.
* [DOCS] Make it more obvious that $:/DefaultTiddlers setting can handle filter-expressions
* Refactor text according to feedback
* Create link to DefaultTiddlers system tiddler
* Correct noscript fallback for Empty Edition
Also slightly improve the Mastodon link text (since it'll be read by people without JS)
Before this patch, if the "built-in" Empty Edition was downloaded then the Mastodon verification link was included, which is wrong.
Not a super big deal since it'll get "flushed out" the first time the user saves, but still confusing.
The mastodon link could've just been moved inside the <$reveal>
but I think it's better to try to achieve parity with tiddlywiki.com/empty.html;
This commit does not achieve parity but it gets us closer.
* Remove whitespace from conditional shortcut syntax
Conform to style used in #8583 as suggested by https://github.com/TiddlyWiki/TiddlyWiki5/pull/8924/files#r1938181043