1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-30 07:50:47 +00:00

Merge branch 'master' into parameterised-transclusions

This commit is contained in:
jeremy@jermolene.com 2022-08-02 17:49:28 +01:00
commit 6207ec4812
49 changed files with 246 additions and 58 deletions

File diff suppressed because one or more lines are too long

View File

@ -31,5 +31,5 @@ Notes:
Examples:
* `--render "[!is[system]]" "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]"` -- renders all non-system tiddlers as files in the subdirectory "tiddlers" with URL-encoded titles and the extension HTML
* `--render '[!is[system]]' '[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]'` -- renders all non-system tiddlers as files in the subdirectory "tiddlers" with URL-encoded titles and the extension HTML
* `--render '.' 'tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[HelloThere]]'` -- renders the tiddlers tagged "HelloThere" to a JSON file named "tiddlers.json"

View File

@ -359,8 +359,9 @@ Server.prototype.listen = function(port,host,prefix) {
}
// Display the port number after we've started listening (the port number might have been specified as zero, in which case we will get an assigned port)
server.on("listening",function() {
var address = server.address();
$tw.utils.log("Serving on " + self.protocol + "://" + address.address + ":" + address.port + prefix,"brown/orange");
var address = server.address(),
url = self.protocol + "://" + (address.family === "IPv6" ? "[" + address.address + "]" : address.address) + ":" + address.port + prefix;
$tw.utils.log("Serving on " + url,"brown/orange");
$tw.utils.log("(press ctrl-C to exit)","red");
});
// Listen

View File

@ -62,12 +62,14 @@ function loadIFrame(url,callback) {
Unload library iframe for given url
*/
function unloadIFrame(url){
$tw.utils.each(document.getElementsByTagName('iframe'), function(iframe) {
var iframes = document.getElementsByTagName('iframe');
for(var t=iframes.length-1; t--; t>=0) {
var iframe = iframes[t];
if(iframe.getAttribute("library") === "true" &&
iframe.getAttribute("src") === url) {
iframe.parentNode.removeChild(iframe);
}
});
}
}
function saveIFrameInfoTiddler(iframeInfo) {

View File

@ -111,6 +111,9 @@ ImageWidget.prototype.render = function(parent,nextSibling) {
if(this.imageAlt) {
domNode.setAttribute("alt",this.imageAlt);
}
if(this.lazyLoading && tag === "img") {
domNode.setAttribute("loading",this.lazyLoading);
}
// Add classes when the image loads or fails
$tw.utils.addClass(domNode,"tc-image-loading");
domNode.addEventListener("load",function() {
@ -137,6 +140,7 @@ ImageWidget.prototype.execute = function() {
this.imageClass = this.getAttribute("class");
this.imageTooltip = this.getAttribute("tooltip");
this.imageAlt = this.getAttribute("alt");
this.lazyLoading = this.getAttribute("loading");
};
/*

View File

@ -1,6 +1,6 @@
title: $:/config/OfficialPluginLibrary
tags: $:/tags/PluginLibrary
url: https://tiddlywiki.com/library/v5.2.3/index.html
url: https://tiddlywiki.com/library/v5.2.4/index.html
caption: {{$:/language/OfficialPluginLibrary}}
{{$:/language/OfficialPluginLibrary/Hint}}

View File

@ -48,7 +48,7 @@ _is_macro: yes
\whitespace trim
<$qualify title=<<__state__>> name="qualifiedState">
<$set name="tabsState" filter={{{ [<__explicitState__>minlength[1]] ~[<qualifiedState>] }}}>
<$let tabsState={{{ [<__explicitState__>minlength[1]] ~[<qualifiedState>] }}}>
<div class={{{ [[tc-tab-set]addsuffix[ ]addsuffix<__class__>] }}}>
<div class={{{ [[tc-tab-buttons]addsuffix[ ]addsuffix<__class__>] }}}>
<<tabs-tab-list>>
@ -58,5 +58,5 @@ _is_macro: yes
<<tabs-tab-body>>
</div>
</div>
</$set>
</$let>
</$qualify>

View File

@ -3,11 +3,13 @@ tags: $:/tags/Macro
\define toc-caption()
\whitespace trim
<span class="tc-toc-caption tc-tiny-gap-left">
<$set name="tv-wikilinks" value="no">
<$transclude field="caption">
<$view field="title"/>
</$transclude>
</$set>
</span>
\end
\define toc-body(tag,sort:"",itemClassFilter,exclude,path)
@ -51,7 +53,6 @@ tags: $:/tags/Macro
{{$:/core/images/down-arrow}}
</$button>
</$reveal>
&#32;
<<toc-caption>>
</$link>
<$reveal type="match" stateTitle=<<toc-state>> text="open">
@ -71,14 +72,12 @@ tags: $:/tags/Macro
<$reveal type="nomatch" stateTitle=<<toc-state>> text="open">
<$button setTitle=<<toc-state>> setTo="open" class="tc-btn-invisible tc-popup-keep">
{{$:/core/images/right-arrow}}
&#32;
<<toc-caption>>
</$button>
</$reveal>
<$reveal type="match" stateTitle=<<toc-state>> text="open">
<$button setTitle=<<toc-state>> setTo="close" class="tc-btn-invisible tc-popup-keep">
{{$:/core/images/down-arrow}}
&#32;
<<toc-caption>>
</$button>
</$reveal>
@ -127,7 +126,6 @@ tags: $:/tags/Macro
</$button>
</$reveal>
</$list>
&#32;
<<toc-caption>>
</$link>
<$reveal type="match" stateTitle=<<toc-state>> text="open">
@ -147,14 +145,12 @@ tags: $:/tags/Macro
<$reveal type="nomatch" stateTitle=<<toc-state>> text="open">
<$button setTitle=<<toc-state>> setTo="open" class="tc-btn-invisible tc-popup-keep">
{{$:/core/images/right-arrow}}
&#32;
<<toc-caption>>
</$button>
</$reveal>
<$reveal type="match" stateTitle=<<toc-state>> text="open">
<$button setTitle=<<toc-state>> setTo="close" class="tc-btn-invisible tc-popup-keep">
{{$:/core/images/down-arrow}}
&#32;
<<toc-caption>>
</$button>
</$reveal>

View File

@ -1,3 +1,3 @@
title: $:/tags/ViewTemplateBodyFilter
list: $:/config/ViewTemplateBodyFilters/stylesheet $:/config/ViewTemplateBodyFilters/system $:/config/ViewTemplateBodyFilters/code-body $:/config/ViewTemplateBodyFilters/import $:/config/ViewTemplateBodyFilters/plugin $:/config/ViewTemplateBodyFilters/hide-body $:/config/ViewTemplateBodyFilters/default
list: $:/config/ViewTemplateBodyFilters/hide-body $:/config/ViewTemplateBodyFilters/code-body $:/config/ViewTemplateBodyFilters/stylesheet $:/config/ViewTemplateBodyFilters/system $:/config/ViewTemplateBodyFilters/import $:/config/ViewTemplateBodyFilters/plugin $:/config/ViewTemplateBodyFilters/default

View File

@ -0,0 +1,59 @@
caption: 5.2.4
created: 20220802100223020
modified: 20220802100223020
tags: ReleaseNotes
title: Release 5.2.4
type: text/vnd.tiddlywiki
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.3...master]]//
! Plugin Improvements
*
! Translation improvements
*
! Accessibility Improvements
*
! Usability Improvements
*
! Widget Improvements
*
! Filter improvements
*
! Hackability Improvements
*
! Bug Fixes
*
! Developer Improvements
*
! Node.js Improvements
*
! Performance Improvements
*
! Acknowledgements
[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:
<<.contributors """
""">>

View File

@ -1,6 +1,6 @@
title: $:/config/OfficialPluginLibrary
tags: $:/tags/PluginLibrary
url: https://tiddlywiki.com/prerelease/library/v5.2.3/index.html
url: https://tiddlywiki.com/prerelease/library/v5.2.4/index.html
caption: {{$:/language/OfficialPluginLibrary}} (Prerelease)
The prerelease version of the official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.

View File

@ -4,6 +4,9 @@ modified: 20150428204930183
This is a pre-release build of TiddlyWiki, [[also available in empty form|https://tiddlywiki.com/prerelease/empty.html]]. It is provided for testing purposes. ''Please don't try to use it for anything important'' -- you should use the latest official release from https://tiddlywiki.com.
<$list filter="[tag[ReleaseNotes]!has[released]!sort[created]]">
<h1><$text text=<<currentTiddler>>/></h1>
<div class="tc-titlebar">
<h2 class="tc-title"><$text text=<<currentTiddler>>/></h2>
</div>
<div class="tc-subtitle">Updated: <$view field="modified" format="date" template={{$:/language/Tiddler/DateFormat}}/></div>
<$transclude mode="block"/>
</$list>

View File

@ -0,0 +1,6 @@
created: 20220721202136733
modified: 20220721202136733
title: $:/config/DefaultSidebarTab
type: text/vnd.tiddlywiki
Table of Contents

View File

@ -0,0 +1,30 @@
created: 20220721200137586
modified: 20220721200137586
tags: [[Table of Contents]]
title: Code of Conduct
type: text/vnd.tiddlywiki
This community exists because TiddlyWiki is more useful when people share and work together.
This community is a beautiful but fragile thing: a collection of diverse people from all over the planet, united in their interest in the project, and their commitment to helping one another achieve and learn more.
We try to make the community as broad and welcoming as possible by remembering some basic principles of culture and behaviour.
These principles guide technical and non-technical decisions, and help contributors and leaders support our project and community.
* We are optimistic and hopeful
* We aim to foster a learning environment that is collaborative and safe for everyone
* We recognise that the motivation for sharing and helping is usually for appreciation, and not financial gain, and so we take care to acknowledge and ''thank the people who enrich the community by sharing what they have created''
* While we are united in our interest in TiddlyWiki, we differ in every other conceivable way. We choose to focus on what unites us, and ''avoid unnecessarily mixing contentious topics like religion and politics''
* We treat each other with respect, and start with the assumption that ''others are acting in good faith''
* We try to use our strength as a community to help others
* We avoid responding when angry or upset because we try to de-escalate conflict
* We make sure we critique ideas, not people
* When we disagree with others we do so graciously, and treat others with dignity and respoect
* We do not tolerate intolerance towards others
* We seek first to understand others, and then to be understood
* We have fun
Our discussions are in English. It is not the first language of many people in the community, nor do we all share the same cultural background and reference points. So we take care to use language that is clear and unambigous, and avoid cultural references or jokes that will not be widely understood.
As an inclusive community, we are committed to making sure that TiddlyWiki is an accessible tool that understands the needs of people with disabilities.

View File

@ -1,5 +1,5 @@
created: 20211126104006194
list: [[Page and tiddler layout customisation]] [[Creating new buttons for the ViewToolbar and page controls]] [[Structuring TiddlyWiki]] Tagging [[Introduction to Lists]] [[Icon Gallery]] [[How to widen tiddlers (aka storyriver)]] [[How to turn off camel case linking]] [[How to put the last modification date in a banner]] [[How to hide the author's and other fields with CSS]] [[How to export tiddlers]] [[How to Customize TiddlyDesktop]] [[Editing Tiddlers with Vim]] [[Concatenating text and variables using macro substitution]] [[Demonstration: keyboard-driven-input Macro]] HelloThere GettingStarted Community
modified: 20211126111221917
created: 20220728145919904
list: Brackets Base64 HelloThere GettingStarted Community
modified: 20220728145919904
title: $:/StoryList
type: text/vnd.tiddlywiki

View File

@ -0,0 +1,14 @@
created: 20220728145925343
modified: 20220728150440771
tags: Definitions
title: Brackets
type: text/vnd.tiddlywiki
WikiText syntax uses a number of different types of brackets. Their names are shown in the table below:
|!Appearance |!Name |!Short name |!Usage |
|`()` |Round brackets |Parenthesis |Not used in WikiText |
|`[]` |Square brackets |Brackets |[[Links|Linking in WikiText]], [[Filters|Filters]] |
|`{}` |Curly brackets |Braces |[[Text references|TextReference]], [[Filtered attributes|HTML in WikiText]] |
|`<>` |Angle brackets |Chevrons |[[HTML elements and widgets|HTML in WikiText]], [[Macros|Macros in WikiText]] |

View File

@ -1,5 +1,5 @@
created: 20150124125646000
modified: 20211127140005352
modified: 20220729141540007
tags: Tagging
title: Order of Tagged Tiddlers
type: text/vnd.tiddlywiki
@ -13,6 +13,8 @@ When ~TiddlyWiki generates a list of the tiddlers that have a particular tag (e.
# In each remaining tiddler <<.place T>>, look for a <<.field list-after>> field. If this has a tiddler title as its value, place tiddler <<.place T>> just <<.em after>> that one.
#* As a special case, if the field exists but its value is empty, place <<.place T>> at the very end of the list.
# If any tiddlers still remain, place them at the end of the list in ascending alphabetical order of title. The difference between capital and lowercase letters is ignored.
The ordering of tiddlers with a particular tag can be directly modified using drag and drop within a tag pill dropdown. The underlying [[list-tagged-draggable Macro]] can also be used elsewhere.

View File

@ -15,5 +15,6 @@ Other implementations of the API include:
* [[TiddlyWiki App Engine Server|https://github.com/rsc/tiddly]], a 300-line Go implementation from Russ Cox
* [[TiddlyWiki 5 server module|https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/commands/server.js]], the bare-bones subset of the API implemented in TiddlyWiki version 5 for Node.js
* [[tiddly-wiki-server|https://github.com/nathanielknight/tiddly-wiki-server]], an implementation based on Rust and SQLite
As of early 2017, none is currently as complete as TiddlyWeb itself.

View File

@ -14,7 +14,7 @@ type: text/vnd.tiddlywiki
The <<.op insertafter>> operator requires at least one parameter which specifies the title to insert into the input list. A second parameter can be used to specify the title after which the new title should be inserted.
A suffix can also be used to specify <<.place A>>, the title after which the new title should be inserted, but this form is deprecated. Instead, the two-parameter form is recommended. If the two-parameter form is used, the suffixes ''start'' and ''end'' can be used to specify where the item should be inserted if <<.place B>> is not found.
A suffix can also be used to specify <<.place A>>, the title after which the new title should be inserted, but this form is deprecated. Instead, the two-parameter form is recommended. If the two-parameter form is used, the suffixes ''start'' and ''end'' can be used to specify where the item should be inserted if <<.place A>> is not found.
```
insertafter:<after-title-variable>[<title>]

View File

@ -1,5 +1,5 @@
created: 20210618134753828
modified: 20220720191457421
modified: 20220724162340642
tags: [[Filter Syntax]] [[Filter Run Prefix Examples]] [[Map Filter Run Prefix]]
title: Map Filter Run Prefix (Examples)
type: text/vnd.tiddlywiki
@ -20,12 +20,25 @@ Get the tags of all tiddlers tagged `Widget:`
<<.operator-example 3 "[tag[Widgets]] :map:flat[tagging[]] :and[!is[blank]unique[]]">>
<<.tip "Without the `flat` suffix the `:map` filter run only returns the first result for each input title">>
!! Comparison between `:map` with and without the `flat` suffix
The `:map` filter run will return at least as many outputs as given in the input. By default one input item will result in exactly one output item. When the filter run transforms an input item into an empty result, the output for that item will be an empty string. When the filter run transforms an input item into multiple items, only the first item will appear in the output. This behavior can be overridden by providing the `flat` suffix. The `flat` suffix will cause all the items to appear in the output.
| `:map` | `:map:flat` |
|^<<.operator-example m0.1 "[range[4]] :map[match[this matches nothing]]">>|^<<.operator-example m0.2 "[range[4]] :map:flat[match[this matches nothing]]">>|
|^<<.operator-example m1.1 "[range[4]] :map[range<currentTiddler>]">>|^<<.operator-example m1.2 "[range[4]] :map:flat[range<currentTiddler>]">>|
|^<<.operator-example m2.1 "[range[4]] :map[range<currentTiddler>]">>|^<<.operator-example m2.2 "[range[4]] :map:flat[range<currentTiddler>first[]]">>|
|^<<.operator-example m3.1 "[range[4]] :map[range<currentTiddler>sum[]]">>|^<<.operator-example m3.2 "[range[4]] :map:flat[range<currentTiddler>sum[]]">>|
|^<<.operator-example m4.1 "[[1,2,3]] [[4,5]] :map[split[,]]">>|^<<.operator-example m4.2 "[[1,2,3]] [[4,5]] :map:flat[split[,]]">>|
|^<<.operator-example m5.1 "[[1,2,3]] [[4,5]] :map[split[,]]">>|^<<.operator-example m5.2 "[[1,2,3]] [[4,5]] :map:flat[split[,]first[]]">>|
!! Comparison between `:map` and `:and`/`+` filter run prefixes
The functionality of the `:map` filter run prefix has some overlap with the `:and` prefix (alias `+`). They will sometimes return the same results as each other. In at least these cases, the results will be different:
# The `:and` filter run can modify the number of items (either increase or decrease). The `:map` run will never alter the number of items.
# The number of items in the `:and` filter run will also decrease due to de-duplication. The `:map` run will not de-duplicate.
# The number of items in the `:and` filter run will also decrease due to [[de-duplication|Dominant Append]]. The `:map` run will not [[de-duplicate|Dominant Append]].
# Explicit references to the "currentTiddler" variable will behave differently
# Implicit references to the "currentTiddler" using TextReference will behave differently.

View File

@ -4,6 +4,12 @@ tags: [[Working with TiddlyWiki]]
title: GettingStarted
type: text/vnd.tiddlywiki
The easiest way to use TiddlyWiki is to sign up for a free account with [[Tiddlyhost]], an independently run community service:
https://tiddlyhost.com/
If you find Tiddlyhost useful, please consider [[donation or sponsorship|https://tiddlyhost.com/donate]].
Click here to download an empty copy of TiddlyWiki: {{$:/editions/tw5.com/snippets/download-empty-button}}
The next step is to choose a method for saving changes. There's a wide variety of methods available, with different features and limitations. Click on the badge for a method to see more information about it. You can also click on one of the platform filters to restrict the listing to methods that work with that platform.

View File

@ -1,6 +1,6 @@
created: 20130822170200000
list: [[A Gentle Guide to TiddlyWiki]] [[Discover TiddlyWiki]] [[Some of the things you can do with TiddlyWiki]] [[Ten reasons to switch to TiddlyWiki]] Examples [[What happened to the original TiddlyWiki?]] [[HelloThumbnail - TWEUM2017]]
modified: 20220325130817150
modified: 20220802122551819
tags: TableOfContents
title: HelloThere
type: text/vnd.tiddlywiki

View File

@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki
Before experimenting with TiddlyDesktop internals you should find the location of the “user configuration folder” - click the “Settings” button on the main TiddlyDesktop window, and then click the button “Open user config folder”. Then move up to locate the parent folder, which should be called “TiddlyDesktop”. If things go wrong, you can reset TiddlyDesktop to its factory state by deleting this entire folder.
Click the `Backstage` button on the main TiddlyDesktop window to open the backstage wiki. This is is a Node.js-like instance of TiddlyWiki that runs the UI and logic of TiddlyDesktop.
Click the `Backstage` button on the main TiddlyDesktop window to open the backstage wiki. This is a Node.js-like instance of TiddlyWiki that runs the UI and logic of TiddlyDesktop.
!! How do I get rid of the "Add a ~TiddlyWiki Folder" button.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

@ -1,11 +1,18 @@
caption: 5.2.3
created: 20220714085343019
modified: 20220714085343019
created: 20220802122551819
modified: 20220802122551819
released: 20220802122551819
tags: ReleaseNotes
title: Release 5.2.3
type: text/vnd.tiddlywiki
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.2...master]]//
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.2...v5.2.3]]//
<<.banner-credits
credit:"""Congratulations to [[feedthegood|https://talk.tiddlywiki.org/u/feedthegood]] for their winning design for the banner for this release (here is the [[competition thread|https://talk.tiddlywiki.org/t/new-release-banner-competition-for-v5-2-3]] and the [[voting thread|https://talk.tiddlywiki.org/t/banner-competition-voting-for-v5-2-3]]).
"""
url:"https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/5d9b71771aaf00ee141028d3bb0e7908c4656a30/editions/tw5.com/tiddlers/images/New%20Release%20Banner.png"
>>
! Plugin Improvements
@ -24,6 +31,7 @@ type: text/vnd.tiddlywiki
* Chinese
* French
* German
* Japanese
* Polish
@ -36,7 +44,7 @@ type: text/vnd.tiddlywiki
! Usability Improvements
* <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/issues/5916">> ActionSetFieldWidget to avoid inadvertent changes to the current tiddler
* <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/pull/6589">> "put" and "upload" savers (as used by TiddlyHost) to display error responses from the server
* <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/pull/6589">> "put" and "upload" savers (as used by [[TiddlyHost|Saving on TiddlyHost]] to display error responses from the server
* <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/pull/6655">> (and <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/pull/6661">>) various palettes to work with ''color-scheme: dark''
* <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/pull/6698">> the monospaced blocks and block quotes editor buttons so that they can be undone by clicking the button again
* <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/pull/6740">> field and tag editors to trim whitespace
@ -50,12 +58,13 @@ type: text/vnd.tiddlywiki
* <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/pull/6582">> DraggableWidget to pass additional context variables to the ''dragstartactions'' action string
* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6787">> refreshing of DraggableWidget
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/6786">> brittle selector implementation for the DraggableWidget
* <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/pull/6809">> the ImageWidget to support [[lazy loading of images|https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading]]
! Filter improvements
* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6771">> new [[insertafter Operator]] to match the existing [[insertbefore Operator]]
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/35b0833e0cafc477e402309c006a163eb59a94ca">> handling of `{!!title}` in a filter with no currentTiddler variable set
* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6806">> new "flat" option to the [[Map Filter Run Prefix]] enabling multiple items to be returned from each invocation of the filter run
! Hackability Improvements
@ -69,6 +78,7 @@ type: text/vnd.tiddlywiki
! Bug Fixes
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/6789">> issue with drag and drop running on mobile Chrome browsers
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/6628">> problem when switching fields in the editor causing their values to be cleared
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/6656">> incorrect ''color-scheme'' metatag for iframe content with the framed editor
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/6649">> crash when using the SaveCommand to attempt to save missing fields
@ -87,6 +97,11 @@ type: text/vnd.tiddlywiki
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/6755">> embedded SVG [[foreignObject|https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject]] namespace
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/6757">> anchor links not working when address bar is updated with a permalink, and animation duration is set to zero
* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/issues/6767">> positioning of server page control dropdown
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/6832">> "save changes" button in the menu bar not turning red when the wiki is dirty
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/6825">> hardcoded spaces in [[Table-of-Contents Macros]]
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/6840">> state handling in [[tabs Macro]]
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/34b1b8128f4832e111a5d71af36d5ca2e2a1e0d4">> fixed formatting of IPv6 URLs by ListenCommand and ServerCommand
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/667da96c970283cbf0fc2b3672fba3812886be65">> crash when closing multiple plugin libraries
! Developer Improvements
@ -133,4 +148,5 @@ Telumire
tobibeer
twMat
tw-FRed
xcazin
""">>

View File

@ -1,5 +1,5 @@
created: 20150419144523070
modified: 20220131165321472
modified: 20220802100223019
tags: About
title: Releases
type: text/vnd.tiddlywiki

View File

@ -5,5 +5,5 @@ type: text/vnd.tiddlywiki
<$button class="tc-btn-download">
<$action-sendmessage $message="tm-download-file" $param="$:/editions/tw5.com/download-empty" filename="empty.html"/>
Download Empty {{$:/core/images/save-button}}
Download {{$:/core/images/save-button}}
</$button>

View File

@ -18,4 +18,4 @@ The following tiddlers are tagged with <<tag>>
<td><$link/></td>
<td>{{!!caption}}</td>
</tr>
</$list></table></$list></$let></$list>
</$list></table></$list></$let></$list>

View File

@ -181,11 +181,9 @@ div.content {
}
.tc-btn-download {
width: 250px;
padding: 10px;
padding: 10px 30px;
border-radius: 5px;
background: #1462ff;
border-radius: 5px;
border: none;
box-shadow: 0 2px 2px 0 #4a74c9;
overflow: hidden;

View File

@ -1,8 +1,9 @@
title: ImageWidget
created: 20140416160234142
modified: 20220101205921813
tags: Widgets
caption: image
created: 20140416160234142
modified: 20220721102303815
tags: Widgets
title: ImageWidget
type: text/vnd.tiddlywiki
! Introduction
@ -19,6 +20,7 @@ Any content of the `<$image>` widget is ignored.
|tooltip |The tooltip to be displayed over the image |
|alt |The alternative text to be associated with the image |
|class |CSS classes to be assigned to the `<img>` element |
|loading|<<.from-version "5.2.3">>Optional. Set to `lazy` to enable lazy loading of images loaded from an external URI |
The width and the height can be specified as pixel values (eg "23" or "23px") or percentages (eg "23%"). They are both optional; if not provided the browser will use CSS rules to size the image.

View File

@ -117,7 +117,7 @@ Displays as:
</$list>
<<<
Note that using the `counter` attribute can can reduce performance when working with list items that dynamically reorder or update themselves. The best advice is only to use it when it is really necessary: to obtain a numeric index, or to detect the first or last entries in the list.
Note that using the `counter` attribute can reduce performance when working with list items that dynamically reorder or update themselves. The best advice is only to use it when it is really necessary: to obtain a numeric index, or to detect the first or last entries in the list.
!! Edit mode

View File

@ -1,5 +1,6 @@
title: $:/language/EditTemplate/
Caption: Editor
Body/External/Hint: Dieser Tiddler zeigt den Inhalt einer Datei, die nicht im TW file gespeichert ist. Sie können die "Tags" und "Feld" Texte ändern, jedoch nicht den Inhalt des Tiddlers!
Body/Placeholder: Geben Sie den Text für diesen Tiddler ein.
Body/Preview/Type/Output: Anzeige

View File

@ -33,5 +33,6 @@ Wichtig:
Beispiel:
* `--render "[!is[system]]" "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]"` ... Übersetzt alle Nicht-System Tiddler und schreibt sie in ein Unterverzeichnis `tiddlers/` mit URL-kodiertem Titel und der Erweiterung `.html`
* `--render '[!is[system]]' '[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]'` ... Übersetzt alle Nicht-System Tiddler und schreibt sie in ein Unterverzeichnis `tiddlers/` mit URL-kodiertem Titel und der Erweiterung `.html`
* `--render '.' 'tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[HelloThere]]'` -- Übersetzt all Tiddler mit dem Tag: "HelloThere" in eine JSON Datei mit dem namen "tiddlers.json"

View File

@ -1,5 +1,6 @@
title: $:/language/SideBar/
Caption: Seitenleiste
All/Caption: Alle
Contents/Caption: Inhalt
Drafts/Caption: Entwurf

View File

@ -27,10 +27,17 @@ Basics/Tiddlers/Prompt: Nombre de tiddlers :
Basics/Title/Prompt: Titre de ce ~TiddlyWiki :
Basics/Username/Prompt: Signer les modifications avec ce nom d'utilisateur :
Basics/Version/Prompt: Version de ~TiddlyWiki :
Cascades/Caption: Cascades
Cascades/Hint: Ces règles globales servent à choisir dynamiquement certains templates. Le résultat de la cascade est le résultat du premier filtre de la séquence qui retourne un résultat.
Cascades/TagPrompt: Filtres tagués <$macrocall $name="tag" tag=<<currentTiddler>>/>
EditorTypes/Caption: Types d'éditeur
EditorTypes/Editor/Caption: Éditeur
EditorTypes/Hint: Ces tiddlers déterminent l'éditeur à utiliser pour éditer tel ou tel type de tiddler.
EditorTypes/Type/Caption: Type
EditTemplateBody/Caption: Édition du corps
EditTemplateBody/Hint: Cette cascade de règles est utilisée par le template d'édition par défaut pour choisir dynamiquement le template à appliquer pour éditer le corps d'un tiddler.
FieldEditor/Caption: Éditeur de champ
FieldEditor/Hint: Cette cascade de règles sert à choisir dynamiquement le template de rendu d'un champ de tiddler en fonction de son nom. Il est utilisé dans le template d'édition.
Info/Caption: Info
Info/Hint: Information sur ce TiddlyWiki
KeyboardShortcuts/Add/Prompt: Entrez le raccourci ici
@ -122,6 +129,7 @@ Saving/TiddlySpot/Advanced/Heading: Paramètres avancés
Saving/TiddlySpot/BackupDir: Dossier des //sauvegardes//
Saving/TiddlySpot/Backups: Sauvegardes
Saving/TiddlySpot/Caption: Enregistreur ~TiddlySpot
Saving/TiddlySpot/ControlPanel: Panneau de contrôle ~TiddlySpot
Saving/TiddlySpot/Description: Ces paramètres ne servent que lors de la sauvegarde vers [[TiddlySpot|http://tiddlyspot.com]], [[TiddlyHost|https://tiddlyhost.com]] ou vers un serveur distant compatible. Voir [[ici|https://github.com/simonbaird/tiddlyhost/wiki/TiddlySpot-Saver-configuration-for-Tiddlyhost-and-Tiddlyspot]] pour plus d'informations sur la configuration de la sauvegarde sur ~TiddlySpot et ~TiddlyHost.
Saving/TiddlySpot/Filename: Nom du fichier enregistré
Saving/TiddlySpot/Heading: ~TiddlySpot
@ -190,6 +198,8 @@ Settings/TitleLinks/Yes/Description: Afficher les titres des tiddlers comme des
Settings/MissingLinks/Caption: Liens wiki
Settings/MissingLinks/Hint: Peut-on pointer vers des tiddlers qui n'existent pas encore ?
Settings/MissingLinks/Description: Active les liens vers les tiddlers inexistants
StoryTiddler/Caption: Tiddler dans le déroulé
StoryTiddler/Hint: Cette cascade de règles sert à choisir dynamiquement le template d'affichage d'un tiddler dans le déroulé.
StoryView/Caption: Vue sur le déroulé
StoryView/Prompt: Vue courante :
Stylesheets/Caption: Feuilles de style
@ -200,6 +210,10 @@ Theme/Caption: Thème
Theme/Prompt: Thème courant :
TiddlerFields/Caption: Champs des tiddlers
TiddlerFields/Hint: Il s'agit de la totalité des [[champs|TiddlerFields]] utilisés dans ce wiki (y compris les tiddlers système, mais non compris les tiddlers //shadow//).
TiddlerColour/Caption: Couleur du tiddler
TiddlerColour/Hint: Cette cascade de règle sert à choisir dynamiquement la couleur d'un tiddler (utilisée pour l'icone et la pastille du tag associé).
TiddlerIcon/Caption: Icone du tiddler
TiddlerIcon/Hint: Cette cascade de règles sert à déterminer dynamiquement l'icone d'un tiddler.
Toolbars/Caption: Barres d'outils
Toolbars/EditToolbar/Caption: Barre d'outils du mode édition
Toolbars/EditToolbar/Hint: Choix des boutons à afficher pour les tiddlers en cours d'édition
@ -211,3 +225,7 @@ Toolbars/EditorToolbar/Hint: Choix des boutons à afficher dans la barre d'outil
Toolbars/ViewToolbar/Caption: Barre d'outils du mode visualisation
Toolbars/ViewToolbar/Hint: Choix des boutons à afficher pour les tiddlers en mode visualisation
Tools/Download/Full/Caption: Télécharger le wiki complet
ViewTemplateBody/Caption: Visualisation du corps
ViewTemplateBody/Hint: Cette cascade de règles est utilisée par le template de visualisation par défaut pour choisir dynamiquement le template d'affichage du corps d'un tiddler.
ViewTemplateTitle/Caption: Template de visualisation du titre
ViewTemplateTitle/Hint: Cette cascade de règles est utilisée par le template de visualisation par défaut pour choisir dynamiquement le template d'affichage du titre d'un tiddler.

View File

@ -1,5 +1,6 @@
title: $:/language/EditTemplate/
Caption: Éditeur
Body/External/Hint: Ce tiddler affiche du contenu situé en dehors du fichier TiddlyWiki principal. Vous pouvez éditer les tags et les champs mais pas directement le contenu lui-même
Body/Placeholder: Entrez le texte ici
Body/Preview/Type/Output: sortie

View File

@ -3,6 +3,7 @@ title: $:/language/Docs/Fields/
_canonical_uri: L'URI complet vers le contenu externe d'un tiddler image
bag: Nom du <q>bag</q> d'où provient le tiddler
caption: Texte à afficher sur un onglet ou un bouton
code-body: Le template de visualisation affichera ce tiddler comme du code si la valeur est ''yes''
color: Couleur CSS associée au tiddler
component: Nom du composant responsable pour un [[tiddler d'alerte|AlertMechanism]]
current-tiddler: Sert à cacher le tiddler situé au début de l'[[historique|HistoryMechanism]]
@ -13,8 +14,9 @@ description: Texte de description d'un plugin, ou d'une boîte de dialogue
draft.of: Pour les tiddlers en cours d'édition, contient le titre du tiddler initial
draft.title: Pour les tiddlers en cours d'édition, contient le nouveau titre prévu pour le tiddler
footer: Texte de bas de page dans le cas d'un wizard
hide-body: Le template de visualisation cachera le corps des tiddlers si la valeur est ''yes''
icon: Titre du tiddler contenant l'icone associée à un tiddler
library: Avec une valeur à <q>yes</q>, indique qu'un tiddler doit être sauvegardé comme bibliothèque JavaScript
library: Si la valeur est <q>yes</q>, indique qu'un tiddler doit être sauvegardé comme bibliothèque JavaScript
list: Liste ordonnée de titres de tiddlers associée à un tiddler
list-before: Si présent, contient le titre du tiddler avant lequel ce tiddler doit être ajouté dans la liste ordonnée des titres de tiddlers. Si ce champ est présent mais vide, le titre doit être ajouté au début de la liste.
list-after: Si présent, contient le titre du tiddler après lequel ce tiddler doit être ajouté dans la liste ordonnée des titres de tiddlers.
@ -31,7 +33,7 @@ tags: Liste des tags associés à un tiddler
text: Texte du corps de ce tiddler
throttle.refresh: Si présent, ralentit les rafraîchissements de ce tiddler
title: Nom unique du tiddler
toc-link: Une valeur à ''no'' supprime le lien vers le tiddler dans l'arborescences des tables des matières
toc-link: Une valeur à ''no'' supprime le lien vers le tiddler dans l'arborescence des tables des matières
type: Type de contenu du tiddler
version: S'il s'agit d'un plugin, l'information de version
_is_skinny: Si présent, indique que le champ //text// du tiddler doit être chargé depuis le serveur

View File

@ -3,6 +3,7 @@ title: $:/language/Help/default
\define commandTitle()
$:/language/Help/$(command)$
\end
\whitespace trim
```
usage: tiddlywiki [<dossierwiki>] [--<commande> [<arguments>...]...]
```
@ -11,7 +12,9 @@ Liste des commandes disponibles :
<ul>
<$list filter="[commands[]sort[title]]" variable="command">
<li><$link to=<<commandTitle>>><$macrocall $name="command" $type="text/plain" $output="text/plain"/></$link> : <$transclude tiddler=<<commandTitle>> field="description"/></li>
<li><$link to=<<commandTitle>>><$macrocall $name="command" $type="text/plain" $output="text/plain"/></$link> :
&#32;
<$transclude tiddler=<<commandTitle>> field="description"/></li>
</$list>
</ul>

View File

@ -31,5 +31,6 @@ Notes :
Exemples :
* `--render "[!is[system]]" "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]"` -- enregistre le contenu exécuté de tous les tiddlers non-système vers des fichiers du sous-répertoire "tiddlers" nommés par encodage URL des titres et ajout d'une extension html.
* `--render "[!is[system]]" "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]"` -- enregistre le rendu HTML de tous les tiddlers non-système vers des fichiers du sous-répertoire "tiddlers", nommés après encodage URL des titres et ajout d'une extension html.
* `--render '.' 'tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[HelloThere]]'` -- enregistre le rendu JSON des tiddlers tagués "HelloThere" dans un fichier nommé "tiddlers.json"

View File

@ -14,7 +14,7 @@ ConfirmAction: Souhaitez-vous poursuivre ?
Count: total
DefaultNewTiddlerTitle: Nouveau tiddler
Diffs/CountMessage: <<diff-count>> différences
DropMessage: Déposer ici (ou appuyer sur « escape » pour annuler)
DropMessage: Déposer ici (ou taper sur la touche « Escape » pour annuler)
Encryption/Cancel: Annuler
Encryption/ConfirmClearPassword: Souhaitez-vous supprimer ce mot de passe ? Si oui, ce wiki ne sera plus chiffré lors de la sauvegarde
Encryption/PromptSetPassword: Choisir un nouveau mot de passe pour ce TiddlyWiki

View File

@ -1,5 +1,6 @@
title: $:/language/SideBar/
Caption: Barre latérale
All/Caption: Tout
Contents/Caption: Sommaire
Drafts/Caption: Brouillons

View File

@ -14,8 +14,8 @@ Close/Caption: 閉じる
Close/Hint: この Tiddler を閉じます
CloseAll/Caption: すべて閉じる
CloseAll/Hint: すべての Tiddler を閉じます
CloseOthers/Caption: 他の Tidder を閉じる
CloseOthers/Hint: 他の Tidder を非表示にします
CloseOthers/Caption: 他の Tiddler を閉じる
CloseOthers/Hint: 他の Tiddler を非表示にします
ControlPanel/Caption: コントロールパネル
ControlPanel/Hint: この Wiki の設定画面を開きます
CopyToClipboard/Caption: クリップボードへコピー

View File

@ -29,7 +29,7 @@ Tags/Dropdown/Hint: タグ一覧を表示
Title/BadCharacterWarning: 警告: Tiddler のタイトルに <<bad-chars>> という文字の使用は避けてください
Title/Exists/Prompt: 対象の Tiddler がすでに存在します
Title/References/Prompt: この Tiddler の次のリファレンスは、自動的には更新されません:
Title/Relink/Prompt: 他 Tiddler の //tags// と //list// 項目にある ''<$text text=<fromTitle>/>'' を ''<$text text=<toTitle>/>'' に更新します
Title/Relink/Prompt: 他 Tiddler の //tags// と //list// 項目にある ''<$text text=<<fromTitle>>/>'' を ''<$text text=<<toTitle>>/>'' に更新します
Type/Delete/Caption: コンテンツタイプを削除
Type/Delete/Hint: コンテンツタイプを削除
Type/Dropdown/Caption: コンテンツタイプ一覧

View File

@ -31,3 +31,4 @@ description: 呈现个别条目到文件
例子:
* `--render "[!is[system]]" "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]"` -- 呈现所有非系统条目为 "tiddlers" 子文件夹中的文件,文件名为 URL 编码的条目名称和扩展名 HTML
* `--render '.' 'tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[HelloThere]]'` -- 将标签为 "HelloThere" 的条目渲染到名为 "tiddlers.json" 的 JSON 文件

View File

@ -31,3 +31,4 @@ description: 呈現個別條目到檔案
範例:
* `--render "[!is[system]]" "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]"` -- 呈現所有非系統條目為 "tiddlers" 子資料夾中的檔案,檔名為 URL 編碼的條目名稱和副檔名 HTML
* `--render '.' 'tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[HelloThere]]'` -- 將標籤為 "HelloThere" 的條目渲染到名為 "tiddlers.json" 的 JSON 檔案

View File

@ -495,3 +495,5 @@ Max Schillinger, @MaxGyver83, 2022/05/11
Nolan Darilek, @NDarilek, 2022/06/21
Keiichi Shiga (🎈 BALLOON | FU-SEN), @fu-sen. 2022/07/07
Nathaniel Knight, @nathanielknight, 2022/07/26

View File

@ -1,7 +1,7 @@
{
"name": "tiddlywiki",
"preferGlobal": "true",
"version": "5.2.3-prerelease",
"version": "5.2.4",
"author": "Jeremy Ruston <jeremy@jermolene.com>",
"description": "a non-linear personal web notebook",
"contributors": [

File diff suppressed because one or more lines are too long

View File

@ -2808,7 +2808,7 @@ input.tc-palette-manager-colour-input {
** Dirty indicator
*/
body.tc-dirty span.tc-dirty-indicator, body.tc-dirty span.tc-dirty-indicator svg {
html body.tc-dirty span.tc-dirty-indicator, html body.tc-dirty span.tc-dirty-indicator svg {
fill: <<colour dirty-indicator>>;
color: <<colour dirty-indicator>>;
}