tiddlywiki 5.3.4 → 5.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/build-site.sh +1 -1
- package/core/images/input-button.tid +5 -0
- package/core/modules/startup/plugins.js +1 -1
- package/core/modules/widgets/data.js +3 -1
- package/core/palettes/GruvBoxDark.tid +4 -0
- package/core/palettes/Nord.tid +4 -0
- package/core/palettes/SolarizedDark.tid +5 -1
- package/core/palettes/SolarizedLight.tid +5 -1
- package/core/ui/TestCases/DefaultTemplate.tid +1 -1
- package/core/ui/TestCases/actions/Import.tid +1 -1
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/macros/CSS.tid +6 -7
- package/core/wiki/macros/tag-picker.tid +16 -10
- package/editions/multiwikiserver/tiddlers/$__StoryList.tid +2 -0
- package/editions/prerelease/tiddlers/{Release 5.3.5.tid → Release 5.3.6.tid } +6 -14
- package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/tw5.com/tiddlers/Operators without parameters.tid +18 -0
- package/editions/tw5.com/tiddlers/Selection Constructors: Conditional.tid +9 -0
- package/editions/tw5.com/tiddlers/about/Archive.tid +3 -3
- package/editions/tw5.com/tiddlers/concepts/Dominant Append.tid +3 -1
- package/editions/tw5.com/tiddlers/concepts/Selection Constructors.tid +5 -1
- package/editions/tw5.com/tiddlers/currentTab Variable.tid +12 -0
- package/editions/tw5.com/tiddlers/features/AutoSave.tid +1 -1
- package/editions/tw5.com/tiddlers/fields/_canonical_uriField.tid +5 -0
- package/editions/tw5.com/tiddlers/filters/minlength.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +3 -1
- package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/unique.tid +4 -0
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +1 -1
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/macros/TabsMacro.tid +2 -2
- package/editions/tw5.com/tiddlers/macros/tag-picker_Macro.tid +3 -2
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.4.tid +2 -2
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.5.tid +49 -0
- package/editions/tw5.com/tiddlers/tag-picker Macro (Examples).tid +13 -13
- package/editions/tw5.com/tiddlers/testcases/DataWidget/FilterMissingTiddler.tid +17 -0
- package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +18 -1
- package/editions/tw5.com/tiddlers/widgets/EditWidget.tid +14 -1
- package/editions/tw5.com/tiddlers/wikitext/Lists in WikiText.tid +1 -1
- package/licenses/cla-individual.md +8 -0
- package/package.json +1 -1
- package/plugins/tiddlywiki/tiddlyweb/configOfficialPluginLibrary.tid +1 -1
- package/plugins/tiddlywiki/tour/styles.tid +1 -0
- package/readme.md +1 -1
package/bin/build-site.sh
CHANGED
@@ -0,0 +1,5 @@
|
|
1
|
+
title: $:/core/images/input-button
|
2
|
+
tags: $:/tags/Image
|
3
|
+
|
4
|
+
\parameters (size:"22pt")
|
5
|
+
<svg width=<<size>> height=<<size>> class="tc-image-input-button tc-image-button" viewBox="0 0 22 22"><path d="M1.375 22h19.249c.365 0 .716-.145.973-.404v.001c.258-.257.404-.607.403-.972v-11a1.376 1.376 0 0 0-2.75 0v9.625H2.75V9.625a1.376 1.376 0 0 0-2.75 0v11C0 21.384.617 22 1.375 22Z"/><path d="m9.732 11.904-1.541-1.541a1.375 1.375 0 1 0-1.944 1.944l3.887 3.888c.258.258.608.402.973.402h-.001c.353 0 .705-.134.974-.402l3.888-3.889a1.376 1.376 0 0 0 .001-1.944 1.377 1.377 0 0 0-1.946 0l-1.541 1.542V1.376a1.375 1.375 0 1 0-2.75 0v10.528Z"/></svg>
|
@@ -61,7 +61,7 @@ exports.startup = function() {
|
|
61
61
|
// Collect the shadow tiddlers of any modified plugins
|
62
62
|
$tw.utils.each(changes.modifiedPlugins,function(pluginTitle) {
|
63
63
|
var pluginInfo = $tw.wiki.getPluginInfo(pluginTitle);
|
64
|
-
if(pluginInfo) {
|
64
|
+
if(pluginInfo && pluginInfo.tiddlers) {
|
65
65
|
$tw.utils.each(Object.keys(pluginInfo.tiddlers),function(title) {
|
66
66
|
changedShadowTiddlers[title] = false;
|
67
67
|
});
|
@@ -91,7 +91,9 @@ DataWidget.prototype.computeDataTiddlerValues = function() {
|
|
91
91
|
var titles = this.wiki.filterTiddlers(filter);
|
92
92
|
$tw.utils.each(titles,function(title) {
|
93
93
|
var tiddler = self.wiki.getTiddler(title);
|
94
|
-
|
94
|
+
if(tiddler) {
|
95
|
+
tiddlers.push(tiddler);
|
96
|
+
}
|
95
97
|
});
|
96
98
|
}
|
97
99
|
}
|
@@ -82,6 +82,10 @@ sidebar-tab-foreground: <<colour tab-foreground>>
|
|
82
82
|
sidebar-tiddler-link-foreground-hover: #458588
|
83
83
|
sidebar-tiddler-link-foreground: #98971a
|
84
84
|
site-title-foreground: <<colour tiddler-title-foreground>>
|
85
|
+
stability-deprecated: #cc241d
|
86
|
+
stability-experimental: #d79921
|
87
|
+
stability-legacy: #458588
|
88
|
+
stability-stable: #98971a
|
85
89
|
static-alert-foreground: #B48EAD
|
86
90
|
tab-background-selected: #ebdbb2
|
87
91
|
tab-background: #665c54
|
package/core/palettes/Nord.tid
CHANGED
@@ -82,6 +82,10 @@ sidebar-tab-foreground: <<colour tab-foreground>>
|
|
82
82
|
sidebar-tiddler-link-foreground-hover: #A3BE8C
|
83
83
|
sidebar-tiddler-link-foreground: #81A1C1
|
84
84
|
site-title-foreground: <<colour tiddler-title-foreground>>
|
85
|
+
stability-deprecated: #bf616a
|
86
|
+
stability-experimental: #d08770
|
87
|
+
stability-legacy: #88c0d0
|
88
|
+
stability-stable: #a3be8c
|
85
89
|
static-alert-foreground: #B48EAD
|
86
90
|
tab-background-selected: #ECEFF4
|
87
91
|
tab-background: #4C566A
|
@@ -18,7 +18,7 @@ button-foreground: #93a1a1
|
|
18
18
|
code-background: #073642
|
19
19
|
code-border: #586e75
|
20
20
|
code-foreground: #93a1a1
|
21
|
-
dirty-indicator:
|
21
|
+
dirty-indicator: #dc322f
|
22
22
|
download-background: #859900
|
23
23
|
download-foreground: #073642
|
24
24
|
dragger-background: #073642
|
@@ -72,6 +72,10 @@ sidebar-tab-foreground-selected: #93a1a1
|
|
72
72
|
sidebar-tiddler-link-foreground: #2aa198
|
73
73
|
sidebar-tiddler-link-foreground-hover: #eee8d5
|
74
74
|
site-title-foreground: #d33682
|
75
|
+
stability-deprecated: #dc322f
|
76
|
+
stability-experimental: #b58900
|
77
|
+
stability-legacy: #268bd2
|
78
|
+
stability-stable: #859900
|
75
79
|
static-alert-foreground: #93a1a1
|
76
80
|
tab-background: #073642
|
77
81
|
tab-background-selected: #002b36
|
@@ -18,7 +18,7 @@ button-foreground: #586e75
|
|
18
18
|
code-background: #eee8d5
|
19
19
|
code-border: #93a1a1
|
20
20
|
code-foreground: #586e75
|
21
|
-
dirty-indicator:
|
21
|
+
dirty-indicator: #dc322f
|
22
22
|
download-background: #859900
|
23
23
|
download-foreground: #eee8d5
|
24
24
|
dragger-background: #eee8d5
|
@@ -72,6 +72,10 @@ sidebar-tab-foreground-selected: #586e75
|
|
72
72
|
sidebar-tiddler-link-foreground: #2aa198
|
73
73
|
sidebar-tiddler-link-foreground-hover: #002b36
|
74
74
|
site-title-foreground: #d33682
|
75
|
+
stability-deprecated: #dc322f
|
76
|
+
stability-experimental: #b58900
|
77
|
+
stability-legacy: #268bd2
|
78
|
+
stability-stable: #859900
|
75
79
|
static-alert-foreground: #586e75
|
76
80
|
tab-background: #eee8d5
|
77
81
|
tab-background-selected: #fdf6e3
|
@@ -15,7 +15,7 @@ title: $:/core/ui/testcases/DefaultTemplate
|
|
15
15
|
<div class="tc-test-case-wrapper">
|
16
16
|
<div class="tc-test-case-header">
|
17
17
|
<h2>
|
18
|
-
<$genesis $type={{{ [<linkTarget>!match[]then[$link]else[
|
18
|
+
<$genesis $type={{{ [<linkTarget>!match[]then[$link]else[span]] }}} to=<<testcaseTiddler>>>
|
19
19
|
<%if [<testResult>!match[]] %>
|
20
20
|
<span class={{{ tc-test-case-result-icon [<testResult>!match[fail]then[tc-test-case-result-icon-pass]] [<testResult>match[fail]then[tc-test-case-result-icon-fail]] +[join[ ]] }}}>
|
21
21
|
<%if [<testResult>!match[fail]] %>
|
@@ -4,7 +4,7 @@ tags: $:/tags/TestCase/Actions
|
|
4
4
|
\whitespace trim
|
5
5
|
<$button tooltip={{$:/language/Buttons/TestCaseImport/Hint}} aria-label={{$:/language/Buttons/TestCaseImport/Caption}} class=<<tv-config-toolbar-class>>>
|
6
6
|
<$action-sendmessage $message="tm-import-tiddlers" $param=<<payloadTiddlers>>/>
|
7
|
-
{{$:/core/images/
|
7
|
+
{{$:/core/images/input-button}}
|
8
8
|
<span class="tc-btn-text">
|
9
9
|
<$text text={{$:/language/Buttons/TestCaseImport/Caption}}/>
|
10
10
|
</span>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
title: $:/config/OfficialPluginLibrary
|
2
2
|
tags: $:/tags/PluginLibrary
|
3
|
-
url: https://tiddlywiki.com/library/v5.3.
|
3
|
+
url: https://tiddlywiki.com/library/v5.3.5/index.html
|
4
4
|
caption: {{$:/language/OfficialPluginLibrary}}
|
5
5
|
|
6
6
|
{{$:/language/OfficialPluginLibrary/Hint}}
|
package/core/wiki/macros/CSS.tid
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
title: $:/core/macros/CSS
|
2
2
|
tags: $:/tags/Macro $:/tags/Global
|
3
3
|
|
4
|
-
|
4
|
+
<!-- Needs to stay that way for backwards compatibility. See GH issue: #8326 -->
|
5
|
+
\define colour(name)
|
5
6
|
\whitespace trim
|
6
|
-
<$transclude
|
7
|
-
<$transclude
|
8
|
-
<$transclude
|
7
|
+
<$transclude tiddler={{$:/palette}} index="$name$">
|
8
|
+
<$transclude tiddler="$:/palettes/Vanilla" index="$name$">
|
9
|
+
<$transclude tiddler="$:/config/DefaultColourMappings/$name$"/>
|
9
10
|
</$transclude>
|
10
11
|
</$transclude>
|
11
12
|
\end
|
12
13
|
|
13
|
-
\
|
14
|
-
<$macrocall $name=colour name=`$(name)$`/>
|
15
|
-
\end
|
14
|
+
\define color(name) <<colour $name$>>
|
16
15
|
|
17
16
|
\function box-shadow(shadow)
|
18
17
|
[[ -webkit-box-shadow: $(shadow)$;
|
@@ -1,9 +1,12 @@
|
|
1
1
|
title: $:/core/macros/tag-picker
|
2
|
-
tags:
|
3
|
-
first-search-filter: [subfilter<tagListFilter>!is[system]search:title<userInput>
|
4
|
-
second-search-filter: [subfilter<tagListFilter>is[system]search:title<userInput>
|
2
|
+
tags: $:/tags/Macro $:/tags/Global
|
3
|
+
first-search-filter: [subfilter<tagListFilter>!is[system]search:title<userInput>]
|
4
|
+
second-search-filter: [subfilter<tagListFilter>is[system]search:title<userInput>]
|
5
5
|
|
6
|
-
<!--
|
6
|
+
<!--
|
7
|
+
Fields: "first-search-filter", "second-search-filter" are assigned to the keyboard-driven input macro with parameter: "configTiddlerFilter"
|
8
|
+
They __need to be the same__ as used for variables: "nonSystemTagsFilter" and "systemTagsFilter". See code below!
|
9
|
+
-->
|
7
10
|
|
8
11
|
\whitespace trim
|
9
12
|
|
@@ -150,12 +153,15 @@ The second ESC tries to close the "draft tiddler"
|
|
150
153
|
\end
|
151
154
|
|
152
155
|
<!-- prepare all variables for tag-picker keyboard handling -->
|
153
|
-
\procedure tag-picker(actions, tagField:"tags", tiddler, tagListFilter:"[tags[]]")
|
156
|
+
\procedure tag-picker(actions, tagField:"tags", tiddler, tagListFilter:"[tags[]sort[]]")
|
154
157
|
|
155
158
|
\function _tf.getUserInput() [<storeTitle>get[text]]
|
156
159
|
\function _tf.getTag() [<newTagNameTiddler>get[text]]
|
160
|
+
<!-- Use this function if tag-picker is a stand alone macro. Otherwise use "newTagNameTiddler" defined for fieldmangler in EditTemplate -->
|
161
|
+
\function _tf.makeTagNameTiddler() [[$:/temp/NewTagName]] [<tagField>!match[tags]] +[join[/]] [<qualify>] +[join[]]
|
157
162
|
|
158
|
-
<!-- keep those variables because they may "
|
163
|
+
<!-- keep those variables because they may "bleed" into macros using old syntax -->
|
164
|
+
<!-- "nonSystemTagsFilter", "systemTagsFilter" __need to be the same__ as fields: "first-search-filter", "second-search-filter" -->
|
159
165
|
<$let
|
160
166
|
palette={{$:/palette}}
|
161
167
|
colourA={{{ [<palette>getindex[foreground]] }}}
|
@@ -164,7 +170,7 @@ The second ESC tries to close the "draft tiddler"
|
|
164
170
|
|
165
171
|
saveTiddler={{{ [<tiddler>is[blank]then<currentTiddler>else<tiddler>] }}}
|
166
172
|
|
167
|
-
newTagNameTiddler={{{ [[
|
173
|
+
newTagNameTiddler={{{ [[newTagNameTiddler]is[variable]then<newTagNameTiddler>] :else[<_tf.makeTagNameTiddler>] }}}
|
168
174
|
storeTitle={{{ [[$:/temp/NewTagName/input]] [<tagField>!match[tags]] +[join[/]] [<qualify>] +[join[]] }}}
|
169
175
|
|
170
176
|
newTagNameSelectionTiddlerQualified=<<qualify "$:/temp/NewTagName/selected-item">>
|
@@ -172,11 +178,11 @@ The second ESC tries to close the "draft tiddler"
|
|
172
178
|
|
173
179
|
refreshTitle=<<qualify "$:/temp/NewTagName/refresh">>
|
174
180
|
|
175
|
-
nonSystemTagsFilter="[subfilter<tagListFilter>!is[system]search:title<userInput>
|
176
|
-
systemTagsFilter="[subfilter<tagListFilter>is[system]search:title<userInput>
|
181
|
+
nonSystemTagsFilter="[subfilter<tagListFilter>!is[system]search:title<userInput>]"
|
182
|
+
systemTagsFilter="[subfilter<tagListFilter>is[system]search:title<userInput>]"
|
177
183
|
|
178
184
|
cancelPopups="yes"
|
179
185
|
>
|
180
186
|
<$macrocall $name="tag-picker-inner"/>
|
181
187
|
</$let>
|
182
|
-
\end
|
188
|
+
\end
|
@@ -1,18 +1,18 @@
|
|
1
|
-
caption: 5.3.
|
2
|
-
created:
|
3
|
-
modified:
|
1
|
+
caption: 5.3.6
|
2
|
+
created: 20240710120027897
|
3
|
+
modified: 20240710120027897
|
4
4
|
tags: ReleaseNotes
|
5
|
-
title: Release 5.3.
|
5
|
+
title: Release 5.3.6
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
description: Under development
|
8
8
|
|
9
|
-
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.
|
9
|
+
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.5...master]]//
|
10
10
|
|
11
11
|
! Major Improvements
|
12
12
|
|
13
13
|
! Translation improvements
|
14
14
|
|
15
|
-
This release
|
15
|
+
This release includes improvements to the following translations:
|
16
16
|
|
17
17
|
*
|
18
18
|
|
@@ -42,20 +42,12 @@ This release also includes improvements to the following translations:
|
|
42
42
|
|
43
43
|
! Node.js Improvements
|
44
44
|
|
45
|
-
*
|
46
|
-
|
47
|
-
! Performance Improvements
|
48
|
-
|
49
45
|
*
|
50
46
|
|
51
47
|
! Developer Improvements
|
52
48
|
|
53
49
|
*
|
54
50
|
|
55
|
-
! Infrastructure Improvements
|
56
|
-
|
57
|
-
*
|
58
|
-
|
59
51
|
! Acknowledgements
|
60
52
|
|
61
53
|
[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
title: $:/config/LocalPluginLibrary
|
2
2
|
tags: $:/tags/PluginLibrary
|
3
|
-
url: http://127.0.0.1:8080/prerelease/library/v5.3.
|
3
|
+
url: http://127.0.0.1:8080/prerelease/library/v5.3.5/index.html
|
4
4
|
caption: {{$:/language/OfficialPluginLibrary}} (Prerelease Local)
|
5
5
|
|
6
6
|
A locally installed version of the official ~TiddlyWiki plugin library at tiddlywiki.com for testing and debugging. //Requires a local web server to share the library//
|
@@ -1,6 +1,6 @@
|
|
1
1
|
title: $:/config/OfficialPluginLibrary
|
2
2
|
tags: $:/tags/PluginLibrary
|
3
|
-
url: https://tiddlywiki.com/prerelease/library/v5.3.
|
3
|
+
url: https://tiddlywiki.com/prerelease/library/v5.3.5/index.html
|
4
4
|
caption: {{$:/language/OfficialPluginLibrary}} (Prerelease)
|
5
5
|
|
6
6
|
The prerelease version of the official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.
|
@@ -0,0 +1,18 @@
|
|
1
|
+
created: 20240708171243370
|
2
|
+
modified: 20240708201827711
|
3
|
+
tags:
|
4
|
+
title: Operators without parameters
|
5
|
+
|
6
|
+
Many [[Filter Operators]] have no [[parameter|Filter Parameter]] available. Still, each operator must be followed by a bracketed parameter expression — even if it is empty — as with the <<.olink backlinks>> operator below:
|
7
|
+
|
8
|
+
`[<currentTiddler>backlinks[]]`
|
9
|
+
|
10
|
+
(Even though an expression such as `[<currentTiddler>backlinks]` may at first <<.em seem>> well-formed — insofar as closing brackets seem to pair properly with opening brackets — each operator needs its own parameter brackets, even if empty. See [[Filter Syntax]].)
|
11
|
+
|
12
|
+
The following [[Filter Operators]] accept no parameters:
|
13
|
+
|
14
|
+
<div>
|
15
|
+
|
16
|
+
<<list-links filter:"[op-parameter[none]] [tag[Filter Operators]!has[op-parameter]] -[search:op-purpose[same]]" class:"multi-columns">>
|
17
|
+
|
18
|
+
</div>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
created: 20240708174435694
|
2
|
+
modified: 20240708175546166
|
3
|
+
title: Selection Constructors: Conditional
|
4
|
+
|
5
|
+
Most [[filter Operators|filter Operator]] are either ''selection modifiers'' or [[Selection Constructors]].
|
6
|
+
|
7
|
+
Within the exceptional category <<tag>> are a tiny minority that //usually// act as ''selection modifiers'', but which can construct a fresh selection under special conditions — namely, whenever their [[parameter|Filter Parameter]] is specified with a selection constructor.
|
8
|
+
|
9
|
+
<<list-links "[tag<currentTiddler>]">>
|
@@ -1,14 +1,14 @@
|
|
1
|
-
title: TiddlyWiki Archive
|
2
1
|
created: 20231005205623086
|
3
|
-
modified:
|
2
|
+
modified: 20240628132622052
|
4
3
|
tags: About
|
4
|
+
title: TiddlyWiki Archive
|
5
5
|
|
6
6
|
\procedure versions()
|
7
7
|
5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9
|
8
8
|
5.1.10 5.1.11 5.1.12 5.1.13 5.1.14 5.1.15 5.1.16 5.1.17 5.1.18 5.1.19
|
9
9
|
5.1.20 5.1.21 5.1.22 5.1.23
|
10
10
|
5.2.0 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7
|
11
|
-
5.3.0 5.3.1 5.3.2 5.3.3
|
11
|
+
5.3.0 5.3.1 5.3.2 5.3.3 5.3.4
|
12
12
|
\end
|
13
13
|
|
14
14
|
Older versions of TiddlyWiki are available in the [[archive|https://github.com/Jermolene/jermolene.github.io/tree/master/archive]]:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
created: 20150123220223000
|
2
|
-
modified:
|
2
|
+
modified: 20240709170746678
|
3
3
|
tags: Filters
|
4
4
|
title: Dominant Append
|
5
5
|
type: text/vnd.tiddlywiki
|
@@ -13,3 +13,5 @@ For example, if a selection contains `Andrew Becky Clara Daniel` and `Andrew Bar
|
|
13
13
|
This behaviour can cause unexpected results when working with [[Mathematics Operators]]. For example, `1 2 3 +[sum[]]` evaluates to `6`, as expected. But `1 1 1 +[sum[]]` evaluates to `1`. Removing the `+[sum[]]` from each filter reveals the problem: `1 2 3` evaluates to the list `1`, `2`, `3`, while `1 1 1` evaluates to the single item `1` due to de-duplication.
|
14
14
|
|
15
15
|
In such situations, the `=` prefix can be used to disable the de-duplication. For example, `=1 =1 =1 +[sum[]]` evaluates to `3` as expected. Alternatively, the [[split Operator]] can be used: `[[1,1,1]split[,]sum[]]`.
|
16
|
+
|
17
|
+
<<.tip """To build a list of unique values that retains only the <<.em earliest>> copy of each value (the opposite behavior from <<.link "Dominant Append" "Dominant Append">>), first use the <<.link `:all` "All Filter Run Prefix">> filter run prefix (or its short form `=`) to retain all duplicate values while building your list. Then finish your filter run with the <<.olink unique>> operator to remove later duplicates.""">>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
created: 20150117204109000
|
2
|
-
modified:
|
2
|
+
modified: 20240708201746542
|
3
3
|
tags: Filters
|
4
4
|
title: Selection Constructors
|
5
5
|
type: text/vnd.tiddlywiki
|
@@ -11,3 +11,7 @@ The output of a [[Filter Step]] depends on its [[operator|Filter Operators]]:
|
|
11
11
|
* A few operators ignore their input and generate an independent output instead. These are called <<.def "selection constructors">>: they construct an entirely new [[selection|Title Selection]].
|
12
12
|
|
13
13
|
A good example of a constructor is <<.olink title>>. The output of `[title[A]title[B]]` is just <<.tid B>>. But the <<.olink field>> operator is a modifier, so `[title[A]field:title[B]` outputs nothing at all.
|
14
|
+
|
15
|
+
The following [[filter Operators|filter Operator]] are tagged <<tag>>:
|
16
|
+
|
17
|
+
<<list-links "[tag<currentTiddler>]" class:"multi-columns">>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
caption: currentTab
|
2
|
+
created: 20240627195924480
|
3
|
+
modified: 20240627201655746
|
4
|
+
tags: Variables [[Core Variables]]
|
5
|
+
title: currentTab Variable
|
6
|
+
type: text/vnd.tiddlywiki
|
7
|
+
|
8
|
+
The <<.def currentTab>> [[variable|Variables]] contains the title of the current tab within an enclosing set of tabs generated by the [[tabs Macro]].
|
9
|
+
|
10
|
+
When a tiddler is [[transcluded|Transclusion]] within a tab, any use of the [[currentTiddler Variable]] will point to the tiddler containing the [[tabs Macro]] call. This may lead to surprises if the transcluded tiddler was originally written to display by itself in the [[Story River]] in ways that rely on self-reference. The currentTab macro enables a similar effect to currentTiddler for the special case of a tiddler rendered as a tab.
|
11
|
+
|
12
|
+
Compare <<.vlink currentTiddler>>.
|
@@ -4,7 +4,7 @@ tags: Features
|
|
4
4
|
title: AutoSave
|
5
5
|
type: text/vnd.tiddlywiki
|
6
6
|
|
7
|
-
If there is a
|
7
|
+
If there is a SavingMechanism available that supports it, TiddlyWiki will automatically trigger a save of the current document on clicking <<.icon $:/core/images/done-button>> ''ok'' or <<.icon $:/core/images/delete-button>> ''delete'' when editing a tiddler.
|
8
8
|
|
9
9
|
You should see a yellow notification at the top right of the window to confirm that an automatic save has taken place.
|
10
10
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
caption: minlength
|
2
2
|
created: 20161011074235805
|
3
3
|
from-version: 5.1.14
|
4
|
-
modified:
|
4
|
+
modified: 20240709161140504
|
5
5
|
op-input: a list of items
|
6
6
|
op-output: those items at least as long as the specified minimum length
|
7
7
|
op-parameter: the minimum length for items
|
8
8
|
op-parameter-name: minlength
|
9
|
-
op-purpose: filter items whose length is greater than the specified minimum length
|
9
|
+
op-purpose: filter items whose length is greater than or equal to the specified minimum length
|
10
10
|
tags: [[Filter Operators]]
|
11
11
|
title: minlength Operator
|
12
12
|
type: text/vnd.tiddlywiki
|
@@ -1,5 +1,5 @@
|
|
1
1
|
created: 20150220152540000
|
2
|
-
modified:
|
2
|
+
modified: 20240708202234843
|
3
3
|
tags: [[Filter Step]]
|
4
4
|
title: Filter Parameter
|
5
5
|
type: text/vnd.tiddlywiki
|
@@ -29,6 +29,8 @@ The parameter to a [[filter operator|Filter Operators]] can be:
|
|
29
29
|
:: The parameter is the current value of the [[variable|Variables]] whose name appears between the angle brackets. Macro parameters are <<.em not>> supported up to v5.2.0
|
30
30
|
::<<.from-version "5.2.0">> Literal macro parameters are supported. For example: `[<now [UTC]YYYY0MM0DD0hh0mm0ssXXX>]`.
|
31
31
|
|
32
|
+
<<.note """Every [[filter Operator]] must be followed by a parameter expression. In the case of [[Operators without parameters]], that expression is empty, as with the filter Operator <<.olink links>> in `[<currentTiddler>links[]]`.""">>
|
33
|
+
|
32
34
|
---
|
33
35
|
|
34
36
|
<<.from-version "5.1.23">> [[Filter Step]]s support multiple parameters which are separated by a `,` character.
|
@@ -4,7 +4,7 @@ tags: [[Filter Run Prefix]]
|
|
4
4
|
title: Named Filter Run Prefix
|
5
5
|
type: text/vnd.tiddlywiki
|
6
6
|
|
7
|
-
In <<.from-version "5.1.23">> the named filter run prefixes
|
7
|
+
In <<.from-version "5.1.23">> the named filter run prefixes were implemented. `:cascade`, `:map` and `:sort` have been added later as shown in the diagrams.
|
8
8
|
|
9
9
|
A named filter run prefix can precede any [[run|Filter Run]] of a [[filter expression|Filter Expression]] in place of a [[shortcut run prefix|Shortcut Filter Run Prefix]].
|
10
10
|
|
@@ -1,4 +1,6 @@
|
|
1
1
|
caption: unique
|
2
|
+
created: 20240709151018238
|
3
|
+
modified: 20240709151336906
|
2
4
|
op-input: a list of items
|
3
5
|
op-output: a list of unique items
|
4
6
|
op-parameter: ignored
|
@@ -7,4 +9,6 @@ tags: [[Filter Operators]] [[Order Operators]] [[Listops Operators]]
|
|
7
9
|
title: unique Operator
|
8
10
|
type: text/vnd.tiddlywiki
|
9
11
|
|
12
|
+
<<.note """Unlike the default <<.link "Dominant Append" "Dominant Append">> handling of duplication, the effect of <<.op unique>> is to retain only the <<.em earliest>> instance among duplicated values.""">>
|
13
|
+
|
10
14
|
<<.operator-examples "unique">>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
created: 20130822170200000
|
2
2
|
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?]]
|
3
|
-
modified:
|
3
|
+
modified: 20240710115948992
|
4
4
|
tags: TableOfContents
|
5
5
|
title: HelloThere
|
6
6
|
type: text/vnd.tiddlywiki
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: tabs
|
2
2
|
created: 20131228162203521
|
3
|
-
modified:
|
3
|
+
modified: 20240627201724476
|
4
4
|
tags: Macros [[Core Macros]]
|
5
5
|
title: tabs Macro
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -34,7 +34,7 @@ By default the tabs are arranged horizontally above the content. To get vertical
|
|
34
34
|
|
35
35
|
Within the template, the title of the selected tab is available in the <<.var currentTab>> variable.
|
36
36
|
|
37
|
-
The <<.vlink currentTiddler>> variable is not affected by the <<.var tabs>> macro. This can put you in trouble if the list of tabs includes tiddlers that depend on the value of the <<.vlink currentTiddler>>, for example tiddlers listing children based on its own name. To overcome this problem you can use a [[TemplateTiddler|TemplateTiddlers]]
|
37
|
+
The <<.vlink currentTiddler>> variable is not affected by the <<.var tabs>> macro. This can put you in trouble if the list of tabs includes tiddlers that depend on the value of the <<.vlink currentTiddler>>, for example tiddlers listing children based on its own name. To overcome this problem you can make use of the <<.vlink currentTab>> variable, which can be used in a [[TemplateTiddler|TemplateTiddlers]] such as the following:
|
38
38
|
|
39
39
|
```
|
40
40
|
<$tiddler tiddler=<<currentTab>>>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: tag-picker
|
2
2
|
created: 20161128191316701
|
3
|
-
modified:
|
3
|
+
modified: 20240708175550512
|
4
4
|
tags: Macros [[Core Macros]]
|
5
5
|
title: tag-picker Macro
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -19,7 +19,8 @@ The <<.def tag-picker>> [[macro|Macros]] generates a combination of a text box a
|
|
19
19
|
: <<.from-version 5.3.4>> Defines the target tiddler, which should be manipulated. Defaults to: <<.var currentTiddler>>.
|
20
20
|
|
21
21
|
; tagListFilter
|
22
|
-
: <<.from-version 5.3.4>> This parameter defaults to: `[tags[]]` which creates a list of all existing tags. If the tag list should come from a different source the filter should look similar to eg: `[<listSource>get[field-name]enlist-input[]]`.
|
22
|
+
: <<.from-version 5.3.4>> This parameter defaults to: `[tags[]]` which creates a list of all existing tags. If the tag list should come from a different source the filter should look similar to eg: `[<listSource>get[field-name]enlist-input[]]`. See examples.
|
23
|
+
: <<.from-version 5.3.5>> This parameter defaults to: `[tags[]sort[]]`. This change allows a custom sort order, since `sort[]` is not hardcoded into the tag-picker macro anymore.
|
23
24
|
|
24
25
|
|
25
26
|
<<.macro-examples "tag-picker">>
|
@@ -1,11 +1,11 @@
|
|
1
1
|
caption: 5.3.4
|
2
2
|
created: 20240627165458407
|
3
|
-
|
3
|
+
description: Testcase Widget, Tour Plugin, Geospatial Plugin, transcludes- backtranscludes operators, ...
|
4
|
+
modified: 20240628132840367
|
4
5
|
released: 20240627165458407
|
5
6
|
tags: ReleaseNotes
|
6
7
|
title: Release 5.3.4
|
7
8
|
type: text/vnd.tiddlywiki
|
8
|
-
description: Under development
|
9
9
|
|
10
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.3...v5.3.4]]//
|
11
11
|
|
@@ -0,0 +1,49 @@
|
|
1
|
+
caption: 5.3.5
|
2
|
+
created: 20240710115948992
|
3
|
+
modified: 20240710115948992
|
4
|
+
tags: ReleaseNotes
|
5
|
+
title: Release 5.3.5
|
6
|
+
type: text/vnd.tiddlywiki
|
7
|
+
description: Under development
|
8
|
+
|
9
|
+
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.4...v5.3.5]]//
|
10
|
+
|
11
|
+
<<.banner-credits
|
12
|
+
credit:"""Congratulations to [[duarte.framos|https://talk.tiddlywiki.org/u/duarte.framos]] for their winning design for the banner for this release (here is the [[competition thread|https://talk.tiddlywiki.org/t/banner-image-competition-for-v5-3-4/9940]]).
|
13
|
+
"""
|
14
|
+
url:"https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/a9b6de8c35f0789a27a36218e8422bb11066f115/editions/tw5.com/tiddlers/images/New%20Release%20Banner.png"
|
15
|
+
>>
|
16
|
+
|
17
|
+
This is a bug fix release to address a number of bugs that were introduced with [[Release 5.3.4]].
|
18
|
+
|
19
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8327">> backwards compatibility issues with [[colour Macro]] as a procedure
|
20
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8322">> typo extra "tags: "
|
21
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8332">> adding fields without clicking the "add" button
|
22
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8317">> stability badges colors in the Gruvbox, Nord and Solarized palettes
|
23
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8333">> crash with DataWidget if `$filter` attribute specifies a missing tiddler
|
24
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/6554b5c9f4f6888f0c25c833b775c3a74ea15531">> reapplies [[#8246 Link to correct plugin instructions for Node.js|https://github.com/Jermolene/TiddlyWiki5/pull/8246]] which had accidentally been reverted
|
25
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/d2c2ada33ccd3d73d39d8c0461f327e4dee68234">> tour display in "zoomin" storyview
|
26
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/8f1792df2059378db0f038c563551373e5d95fbe">> test case import icon
|
27
|
+
* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/8354">> crash when editing JSON text of a plugin tiddler
|
28
|
+
|
29
|
+
! Acknowledgements for v5.3.5
|
30
|
+
|
31
|
+
[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:
|
32
|
+
|
33
|
+
<<.contributors """
|
34
|
+
andrewgoz
|
35
|
+
btheado
|
36
|
+
Leilei332
|
37
|
+
michaeljmcd
|
38
|
+
oeyoews
|
39
|
+
pmario
|
40
|
+
springerspandrel
|
41
|
+
""">>
|
42
|
+
|
43
|
+
---
|
44
|
+
|
45
|
+
! Release Note for v5.3.4
|
46
|
+
|
47
|
+
Since v5.3.5 replaces v5.3.4 after only a couple of weeks, here is the release note for v5.3.4.
|
48
|
+
|
49
|
+
{{Release 5.3.4}}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
created: 20230616104546608
|
2
|
-
modified:
|
2
|
+
modified: 20240708132312901
|
3
3
|
tags: [[tag-picker Macro]] [[Macro Examples]]
|
4
4
|
title: tag-picker Macro (Examples)
|
5
5
|
type: text/vnd.tiddlywiki
|
6
6
|
|
7
|
-
<<.warning """The first example will
|
7
|
+
<<.warning """The first example will add tags to the <<.tid currentTiddler>> so you should copy / paste it to a new tiddler for testing. Otherwise you'll change "this tiddler" """>>
|
8
8
|
|
9
|
-
<$
|
10
|
-
eg="""
|
9
|
+
<$transclude $variable=".example" n="1"
|
10
|
+
eg="""Add tags to this tiddler's ''tags'' field (selecting from a list of all tags): <<tag-picker>>
|
11
11
|
"""/>
|
12
12
|
|
13
13
|
----
|
@@ -17,41 +17,41 @@ eg="""Use all existing tags and set the ''tags'' field here: <<tag-picker>>
|
|
17
17
|
<<.tip """The following examples use a temporary tiddler: $:/temp/test/tag-picker. So this tiddler will not be changed """>>
|
18
18
|
|
19
19
|
|
20
|
-
<$
|
20
|
+
<$transclude $variable=".example" n="2"
|
21
21
|
eg="""$:/temp/test/tag-picker ''tags'': <$text text={{{ [[$:/temp/test/tag-picker]get[tags]enlist-input[]join[, ]else[n/a]] }}}/>
|
22
22
|
|
23
|
-
|
23
|
+
Add tags to the $:/temp/test/tag-picker ''tags'' field (selecting from a list of all tags): <<tag-picker tiddler:"$:/temp/test/tag-picker">>
|
24
24
|
"""/>
|
25
25
|
|
26
26
|
----
|
27
27
|
|
28
28
|
<<.tip """Use the following example to populate the $:/temp/test/tag-picker ''foo''-field, which are needed by some examples below """>>
|
29
29
|
|
30
|
-
<$
|
30
|
+
<$transclude $variable=".example" n="3"
|
31
31
|
eg="""$:/temp/test/tag-picker ''foo'': <$text text={{{ [[$:/temp/test/tag-picker]get[foo]enlist-input[]join[, ]else[n/a]] }}}/>
|
32
32
|
|
33
|
-
|
33
|
+
Add tags to the $:/temp/test/tag-picker ''foo'' field (selecting from a list of all tags): <<tag-picker tagField:"foo" tiddler:"$:/temp/test/tag-picker">>
|
34
34
|
"""/>
|
35
35
|
|
36
36
|
----
|
37
37
|
|
38
38
|
<<.tip """The following example expects some values in the "foo" field of the tiddler $:/temp/test/tag-picker, which can be created by the example above.""">>
|
39
39
|
|
40
|
-
<$
|
40
|
+
<$transclude $variable=".example" n="4" eg="""\procedure listSource() $:/temp/test/tag-picker
|
41
41
|
|
42
42
|
$:/temp/test/tag-picker foo: <$text text={{{ [[$:/temp/test/tag-picker]get[foo]enlist-input[]join[, ]else[n/a]] }}}/><br>
|
43
43
|
$:/temp/test/tag-picker bar: <$text text={{{ [[$:/temp/test/tag-picker]get[bar]enlist-input[]join[, ]else[n/a]] }}}/>
|
44
44
|
|
45
|
-
|
45
|
+
Add tags to the ''bar'' field, selecting from values in ''foo'' field of $:/temp/test/tag-picker: <<tag-picker tagField:"bar" tagListFilter:"[<listSource>get[foo]enlist-input[]]" tiddler:"$:/temp/test/tag-picker">>
|
46
46
|
"""/>
|
47
47
|
|
48
48
|
----
|
49
49
|
|
50
50
|
<<.tip """The following example expects some values in the "foo" field of the tiddler $:/temp/test/tag-picker, which can be created by the example above.<br>
|
51
|
-
It will also add completely new tags to the bar-field and the source
|
51
|
+
It will also add completely new tags to the bar-field and the source tiddler‘s foo-field. New tags can be entered by typing into the tag-name input
|
52
52
|
""">>
|
53
53
|
|
54
|
-
<$
|
54
|
+
<$transclude $variable=".example" n="5" eg="""
|
55
55
|
\procedure listSource() $:/temp/test/tag-picker
|
56
56
|
\procedure listSourceField() foo
|
57
57
|
|
@@ -62,7 +62,7 @@ It will also add completely new tags to the bar-field and the source tiddlers fo
|
|
62
62
|
$:/temp/test/tag-picker foo: <$text text={{{ [[$:/temp/test/tag-picker]get[foo]enlist-input[]join[, ]else[n/a]] }}}/><br>
|
63
63
|
$:/temp/test/tag-picker ''bar'': <$text text={{{ [[$:/temp/test/tag-picker]get[bar]enlist-input[]join[, ]else[n/a]] }}}/>
|
64
64
|
|
65
|
-
|
65
|
+
Add tags to ''bar'' field, selecting from values in ''foo'' field of $:/temp/test/tag-picker: <$macrocall $name="tag-picker" tagField="bar" tagListFilter="[<listSource>get<listSourceField>enlist-input[]]" tiddler="$:/temp/test/tag-picker" actions=<<addNewTagToSource>>/>
|
66
66
|
|
67
67
|
"""/>
|
68
68
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
title: TestCases/DataWidget/FilterMissingTiddler
|
2
|
+
type: text/vnd.tiddlywiki-multiple
|
3
|
+
tags: [[$:/tags/wiki-test-spec]]
|
4
|
+
description: Filter returns title of missing tiddler
|
5
|
+
display-format: plaintext
|
6
|
+
|
7
|
+
title: Narrative
|
8
|
+
|
9
|
+
When the $filter attribute of the data widget returns the title of a missing tiddler, no tiddler should be added to the output array of tiddlers.
|
10
|
+
+
|
11
|
+
title: Output
|
12
|
+
|
13
|
+
<$data $filter="missing"/>
|
14
|
+
+
|
15
|
+
title: ExpectedResult
|
16
|
+
|
17
|
+
<p>[]</p>
|
@@ -1,7 +1,9 @@
|
|
1
1
|
caption: edit-text
|
2
2
|
created: 20131024141900000
|
3
|
-
|
3
|
+
heading:
|
4
|
+
modified: 20240627184331133
|
4
5
|
tags: Widgets
|
6
|
+
temp:
|
5
7
|
title: EditTextWidget
|
6
8
|
type: text/vnd.tiddlywiki
|
7
9
|
|
@@ -66,3 +68,18 @@ Provide a dated heading for this example where only the placeholder (but not the
|
|
66
68
|
<$macrocall $name=".example" n="3"
|
67
69
|
eg="""<$edit-text tiddler=<<currentTiddler>> field="heading" size="25" focus="yes" focusSelectFromEnd="13" default={{{ [[Heading Text (]] [<now YYYY-0MM-0DD>] [[)]] +[join[]] }}} />
|
68
70
|
"""/>
|
71
|
+
|
72
|
+
!!! Input Actions, with class attribute
|
73
|
+
|
74
|
+
<$macrocall $name=".example" n="4"
|
75
|
+
eg="""\procedure onInput()
|
76
|
+
<%if [get[temp]match[$:/]] %>
|
77
|
+
<$action-confirm $message="Yes, this is how system tiddler names begin!"/>
|
78
|
+
<% endif %>
|
79
|
+
\end
|
80
|
+
|
81
|
+
Type a new tiddler name, starting with the system prefix `$:/`: <$edit-text inputActions=<<onInput>> field="temp" class="tc-edit-texteditor"/>
|
82
|
+
|
83
|
+
"""/>
|
84
|
+
|
85
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: edit
|
2
2
|
created: 20131024141900000
|
3
|
-
modified:
|
3
|
+
modified: 20240627220419761
|
4
4
|
tags: Widgets TriggeringWidgets
|
5
5
|
title: EditWidget
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -24,3 +24,16 @@ The content of the `<$edit>` widget is ignored.
|
|
24
24
|
|inputActions |<<.from-version 5.1.23>> Optional actions that are triggered every time an input event occurs within the input field or textarea |
|
25
25
|
|refreshTitle |<<.from-version 5.1.23>> An optional tiddler title that makes the input field update whenever the specified tiddler changes |
|
26
26
|
|
27
|
+
! Examples
|
28
|
+
|
29
|
+
!! Edit the contents (text field) of a tiddler titled <%if [<now YYYY-0MM-0DD>is[tiddler]] %> <$tiddler tiddler=<<now YYYY-0MM-0DD>> > <$link/></$tiddler> <%else %> with today’s date <% endif %>
|
30
|
+
|
31
|
+
<$macrocall $name=".example" n="1"
|
32
|
+
eg="""<$edit tiddler=<<now YYYY-0MM-0DD>> class="tc-edit-texteditor"/>
|
33
|
+
"""/>
|
34
|
+
|
35
|
+
!! Edit $:/status/UserName with single-line input box, have browser offer autocomplete for email
|
36
|
+
|
37
|
+
<$macrocall $name=".example" n="2"
|
38
|
+
eg="""<$edit-text tiddler="$:/status/UserName" tag="input" size=40 autocomplete="email"/>
|
39
|
+
"""/>
|
@@ -48,7 +48,7 @@ Here's an example the other way around, with numbers as the first level:
|
|
48
48
|
You can also assign a CSS class to an individual member of a list with this notation:
|
49
49
|
|
50
50
|
<<wikitext-example src:"* List One
|
51
|
-
*.
|
51
|
+
*.tc-muted List Two
|
52
52
|
* List Three
|
53
53
|
">>
|
54
54
|
|
@@ -573,3 +573,11 @@ Anders Jarmund, @andjar, 2024/04/05
|
|
573
573
|
Fokzo Kat, @CyberFoxar, 2024/05/20
|
574
574
|
|
575
575
|
Andrei Rybak, @rybak, 2024/06/09
|
576
|
+
|
577
|
+
@Leilei332, 2024/06/28
|
578
|
+
|
579
|
+
@springerspandrel, 2024/06/27
|
580
|
+
|
581
|
+
@andrewgoz, 2024/07/10
|
582
|
+
|
583
|
+
Michael McDermott, @michaeljmcd, 2024-07-09
|
package/package.json
CHANGED
@@ -4,4 +4,4 @@ url: https://tiddlywiki.com/library/v5.1.23/index.html
|
|
4
4
|
caption: {{$:/language/OfficialPluginLibrary}}
|
5
5
|
enabled: no
|
6
6
|
|
7
|
-
The official plugin library is disabled when using the client-server configuration. Instead, plugins should be installed via the `tiddlywiki.info` file, as described [[here|https://tiddlywiki.com/#Installing%
|
7
|
+
The official plugin library is disabled when using the client-server configuration. Instead, plugins should be installed via the `tiddlywiki.info` file, as described [[here|https://tiddlywiki.com/#Installing%20official%20plugins%20on%20Node.js]].
|
package/readme.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<p>Welcome to <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a>, a non-linear personal web notebook that anyone can use and keep forever, independently of any corporation.</p><p><a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> is a complete interactive wiki in <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/JavaScript.html">JavaScript</a>. It can be used as a single HTML file in the browser or as a powerful Node.js application. It is highly customisable: the entire user interface is itself implemented in hackable <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/WikiText.html">WikiText</a>.</p><p>Learn more and see it in action at <a class="tc-tiddlylink-external" href="https://tiddlywiki.com/" rel="noopener noreferrer" target="_blank">https://tiddlywiki.com/</a></p><p>Developer documentation is in progress at <a class="tc-tiddlylink-external" href="https://tiddlywiki.com/dev/" rel="noopener noreferrer" target="_blank">https://tiddlywiki.com/dev/</a></p><h1 class="">Join the Community</h1><p>
|
2
2
|
<h2 class="">Official Forums</h2><p>The new official forum for talking about TiddlyWiki: requests for help, announcements of new releases and plugins, debating new features, or just sharing experiences. You can participate via the associated website, or subscribe via email.</p><p><a class="tc-tiddlylink-external" href="https://talk.tiddlywiki.org/" rel="noopener noreferrer" target="_blank">https://talk.tiddlywiki.org/</a></p><p>Note that talk.tiddlywiki.org is a community run service that we host and maintain ourselves. The modest running costs are covered by community contributions.</p><p>For the convenience of existing users, we also continue to operate the original TiddlyWiki group (hosted on Google Groups since 2005):</p><p><a class="tc-tiddlylink-external" href="https://groups.google.com/group/TiddlyWiki" rel="noopener noreferrer" target="_blank">https://groups.google.com/group/TiddlyWiki</a></p><h2 class="">Developer Forums</h2><p>There are several resources for developers to learn more about <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> and to discuss and contribute to its development.</p><ul><li><a class="tc-tiddlylink-external" href="https://tiddlywiki.com/dev" rel="noopener noreferrer" target="_blank">tiddlywiki.com/dev</a> is the official developer documentation</li><li>Get involved in the <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5" rel="noopener noreferrer" target="_blank">development on GitHub</a><ul><li><img class=" tc-image-loading" src="https://repobeats.axiom.co/api/embed/5a3bb51fd1ebe84a2da5548f78d2d74e456cebf3.svg"></li><li><a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/discussions" rel="noopener noreferrer" target="_blank">Discussions</a> are for Q&A and open-ended discussion</li><li><a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/issues" rel="noopener noreferrer" target="_blank">Issues</a> are for raising bug reports and proposing specific, actionable new ideas</li></ul></li><li>The older TiddlyWikiDev Google Group is now closed in favour of <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/discussions" rel="noopener noreferrer" target="_blank">GitHub Discussions</a> but remains a useful archive: <a class="tc-tiddlylink-external" href="https://groups.google.com/group/TiddlyWikiDev" rel="noopener noreferrer" target="_blank">https://groups.google.com/group/TiddlyWikiDev</a><ul><li>An enhanced group search facility is available on <a class="tc-tiddlylink-external" href="https://www.mail-archive.com/tiddlywikidev@googlegroups.com/" rel="noopener noreferrer" target="_blank">mail-archive.com</a></li></ul></li><li>Follow <a class="tc-tiddlylink-external" href="http://twitter.com/#!/TiddlyWiki" rel="noopener noreferrer" target="_blank">@TiddlyWiki on Twitter</a> for the latest news</li><li>Chat at <a class="tc-tiddlylink-external" href="https://gitter.im/TiddlyWiki/public" rel="noopener noreferrer" target="_blank">https://gitter.im/TiddlyWiki/public</a> (development room coming soon)</li></ul><h2 class="">Other Forums</h2><ul><li><a class="tc-tiddlylink-external" href="https://www.reddit.com/r/TiddlyWiki5/" rel="noopener noreferrer" target="_blank">TiddlyWiki Subreddit</a></li><li>Chat with Gitter at <a class="tc-tiddlylink-external" href="https://gitter.im/TiddlyWiki/public" rel="noopener noreferrer" target="_blank">https://gitter.im/TiddlyWiki/public</a> !</li><li>Chat on Discord at <a class="tc-tiddlylink-external" href="https://discord.gg/HFFZVQ8" rel="noopener noreferrer" target="_blank">https://discord.gg/HFFZVQ8</a></li></ul><h3 class="">Documentation</h3><p>There is also a discussion group specifically for discussing <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> documentation improvement initiatives: <a class="tc-tiddlylink-external" href="https://groups.google.com/group/tiddlywikidocs" rel="noopener noreferrer" target="_blank">https://groups.google.com/group/tiddlywikidocs</a>
|
3
3
|
</p>
|
4
|
-
</p><h1 class="">Installing <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> on Node.js</h1><ol><li>Install <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/Node.js.html">Node.js</a><ul><li>Linux: <blockquote><div><em>Debian/Ubuntu</em>:<br><code>apt install nodejs</code><br>May need to be followed up by:<br><code>apt install npm</code></div><div><em>Arch Linux</em><br><code>yay -S tiddlywiki</code> <br>(installs node and tiddlywiki)</div></blockquote></li><li>Mac<blockquote><div><code>brew install node</code></div></blockquote></li><li>Android<blockquote><div><a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/Serving%2520TW5%2520from%2520Android.html">Termux for Android</a></div></blockquote></li><li>Other <blockquote><div>See <a class="tc-tiddlylink-external" href="http://nodejs.org" rel="noopener noreferrer" target="_blank">http://nodejs.org</a></div></blockquote></li></ul></li><li>Open a command line terminal and type:<blockquote><div><code>npm install -g tiddlywiki</code></div><div>If it fails with an error you may need to re-run the command as an administrator:</div><div><code>sudo npm install -g tiddlywiki</code> (Mac/Linux)</div></blockquote></li><li>Ensure TiddlyWiki is installed by typing:<blockquote><div><code>tiddlywiki --version</code></div></blockquote><ul><li>In response, you should see <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> report its current version (eg "5.3.
|
4
|
+
</p><h1 class="">Installing <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> on Node.js</h1><ol><li>Install <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/Node.js.html">Node.js</a><ul><li>Linux: <blockquote><div><em>Debian/Ubuntu</em>:<br><code>apt install nodejs</code><br>May need to be followed up by:<br><code>apt install npm</code></div><div><em>Arch Linux</em><br><code>yay -S tiddlywiki</code> <br>(installs node and tiddlywiki)</div></blockquote></li><li>Mac<blockquote><div><code>brew install node</code></div></blockquote></li><li>Android<blockquote><div><a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/Serving%2520TW5%2520from%2520Android.html">Termux for Android</a></div></blockquote></li><li>Other <blockquote><div>See <a class="tc-tiddlylink-external" href="http://nodejs.org" rel="noopener noreferrer" target="_blank">http://nodejs.org</a></div></blockquote></li></ul></li><li>Open a command line terminal and type:<blockquote><div><code>npm install -g tiddlywiki</code></div><div>If it fails with an error you may need to re-run the command as an administrator:</div><div><code>sudo npm install -g tiddlywiki</code> (Mac/Linux)</div></blockquote></li><li>Ensure TiddlyWiki is installed by typing:<blockquote><div><code>tiddlywiki --version</code></div></blockquote><ul><li>In response, you should see <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> report its current version (eg "5.3.5". You may also see other debugging information reported.)</li></ul></li><li>Try it out:<ol><li><code>tiddlywiki mynewwiki --init server</code> to create a folder for a new wiki that includes server-related components</li><li><code>tiddlywiki mynewwiki --listen</code> to start <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a></li><li>Visit <a class="tc-tiddlylink-external" href="http://127.0.0.1:8080/" rel="noopener noreferrer" target="_blank">http://127.0.0.1:8080/</a> in your browser</li><li>Try editing and creating tiddlers</li></ol></li><li>Optionally, make an offline copy:<ul><li>click the <span class="doc-icon"><svg class="tc-image-save-button-dynamic tc-image-button" height="22pt" viewBox="0 0 128 128" width="22pt">
|
5
5
|
<g class="tc-image-save-button-dynamic-clean">
|
6
6
|
<path d="M120.783 34.33c4.641 8.862 7.266 18.948 7.266 29.646 0 35.347-28.653 64-64 64-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64 18.808 0 35.72 8.113 47.43 21.03l2.68-2.68c3.13-3.13 8.197-3.132 11.321-.008 3.118 3.118 3.121 8.193-.007 11.32l-4.69 4.691zm-12.058 12.058a47.876 47.876 0 013.324 17.588c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48c14.39 0 27.3 6.332 36.098 16.362L58.941 73.544 41.976 56.578c-3.127-3.127-8.201-3.123-11.32-.005-3.123 3.124-3.119 8.194.006 11.319l22.617 22.617a7.992 7.992 0 005.659 2.347c2.05 0 4.101-.783 5.667-2.349l44.12-44.12z" fill-rule="evenodd"></path>
|
7
7
|
</g>
|