tiddlywiki 5.3.1 → 5.3.3

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.
Files changed (372) hide show
  1. package/.github/workflows/ci.yml +9 -2
  2. package/bin/build-site.sh +25 -5
  3. package/bin/ci-test.sh +16 -0
  4. package/boot/boot.js +12 -0
  5. package/core/language/en-GB/Exporters.multids +1 -1
  6. package/core/language/en-GB/Help/commands.tid +1 -1
  7. package/core/language/en-GB/Help/savewikifolder.tid +2 -2
  8. package/core/language/en-GB/Help/server.tid +1 -1
  9. package/core/language/en-GB/Types/image_svg_xml.tid +1 -1
  10. package/core/language/en-GB/Types/image_x-icon.tid +1 -1
  11. package/core/modules/commands/savetiddlers.js +1 -1
  12. package/core/modules/editor/engines/framed.js +1 -1
  13. package/core/modules/editor/engines/simple.js +1 -1
  14. package/core/modules/filters/all.js +5 -5
  15. package/core/modules/filters/encodings.js +6 -2
  16. package/core/modules/filters/json-ops.js +95 -1
  17. package/core/modules/filters/listops.js +1 -0
  18. package/core/modules/parsers/textparser.js +5 -4
  19. package/core/modules/parsers/wikiparser/rules/conditional.js +120 -0
  20. package/core/modules/parsers/wikiparser/wikiparser.js +33 -8
  21. package/core/modules/savers/github.js +1 -1
  22. package/core/modules/startup/windows.js +2 -1
  23. package/core/modules/syncer.js +160 -122
  24. package/core/modules/utils/dom/dom.js +3 -3
  25. package/core/modules/utils/dom/http.js +1 -1
  26. package/core/modules/utils/fakedom.js +5 -1
  27. package/core/modules/utils/utils.js +27 -4
  28. package/core/modules/widgets/browse.js +10 -0
  29. package/core/modules/widgets/button.js +15 -3
  30. package/core/modules/widgets/checkbox.js +11 -0
  31. package/core/modules/widgets/draggable.js +16 -5
  32. package/core/modules/widgets/droppable.js +14 -2
  33. package/core/modules/widgets/image.js +19 -14
  34. package/core/modules/widgets/link.js +12 -2
  35. package/core/modules/widgets/list.js +179 -19
  36. package/core/modules/widgets/radio.js +4 -0
  37. package/core/modules/widgets/range.js +4 -0
  38. package/core/modules/widgets/scrollable.js +66 -1
  39. package/core/modules/widgets/select.js +34 -26
  40. package/core/modules/widgets/transclude.js +19 -6
  41. package/core/modules/widgets/widget.js +35 -19
  42. package/core/modules/wiki.js +2 -2
  43. package/core/templates/html-json-skinny-tiddler.tid +1 -2
  44. package/core/templates/html-json-tiddler.tid +1 -1
  45. package/core/templates/store.area.template.html.tid +6 -8
  46. package/core/ui/ControlPanel/Basics.tid +2 -2
  47. package/core/ui/EditTemplate/body/default.tid +9 -8
  48. package/core/ui/EditTemplate/fields.tid +2 -2
  49. package/core/ui/EditTemplate/type.tid +1 -1
  50. package/core/ui/EditorToolbar/preview.tid +5 -8
  51. package/core/ui/PageTemplate.tid +1 -1
  52. package/core/ui/ViewTemplate/subtitle.tid +2 -5
  53. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  54. package/core/wiki/macros/colour-picker.tid +6 -6
  55. package/core/wiki/macros/image-picker.tid +5 -5
  56. package/core/wiki/macros/list.tid +95 -78
  57. package/core/wiki/macros/tabs.tid +9 -1
  58. package/core/wiki/macros/tag-picker.tid +2 -2
  59. package/core/wiki/macros/tag.tid +2 -1
  60. package/core/wiki/macros/toc.tid +2 -2
  61. package/editions/de-AT/tiddlers/HelloThere.tid +2 -2
  62. package/editions/de-AT/tiddlers/community/Fur_Entwickler.tid +1 -1
  63. package/editions/de-AT-server/tiddlers/system/favicon.png +0 -0
  64. package/editions/{es-ES-server/tiddlers/system/favicon.ico.meta → de-AT-server/tiddlers/system/favicon.png.meta} +1 -1
  65. package/editions/dev/tiddlers/images/favicon.png +0 -0
  66. package/editions/{de-AT-server/tiddlers/system/favicon.ico.meta → dev/tiddlers/images/favicon.png.meta} +1 -1
  67. package/editions/dev/tiddlers/new/HookMechanism.tid +28 -3
  68. package/editions/empty/tiddlywiki.info +5 -2
  69. package/editions/es-ES/tiddlers/Forums.tid +4 -5
  70. package/editions/es-ES/tiddlers/HelloThere.tid +2 -2
  71. package/editions/es-ES/tiddlers/Typography.tid +1 -1
  72. package/editions/es-ES/tiddlers/images/favicon.png +0 -0
  73. package/editions/{dev/tiddlers/images/favicon.ico.meta → es-ES/tiddlers/images/favicon.png.meta} +1 -1
  74. package/editions/es-ES/tiddlers/images/green_favicon.png +0 -0
  75. package/editions/es-ES/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
  76. package/editions/es-ES-server/tiddlers/system/favicon.png +0 -0
  77. package/editions/{es-ES/tiddlers/images/favicon.ico.meta → es-ES-server/tiddlers/system/favicon.png.meta} +1 -1
  78. package/editions/fr-FR/tiddlers/images/favicon.png +0 -0
  79. package/editions/fr-FR/tiddlers/images/favicon.png.meta +2 -0
  80. package/editions/fr-FR/tiddlers/images/green_favicon.png +0 -0
  81. package/editions/fr-FR/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
  82. package/editions/fr-FR-server/tiddlers/system/favicon.png +0 -0
  83. package/editions/fr-FR-server/tiddlers/system/favicon.png.meta +2 -0
  84. package/editions/highlightdemo/tiddlywiki.info +1 -1
  85. package/editions/ja-JP/tiddlers/images/favicon.png +0 -0
  86. package/editions/ja-JP/tiddlers/images/favicon.png.meta +2 -0
  87. package/editions/ja-JP/tiddlers/images/green_favicon.png +0 -0
  88. package/editions/ja-JP/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
  89. package/editions/katexdemo/tiddlywiki.info +1 -1
  90. package/editions/ko-KR/tiddlers/images/favicon.png +0 -0
  91. package/editions/ko-KR/tiddlers/images/favicon.png.meta +2 -0
  92. package/editions/ko-KR/tiddlers/images/green_favicon.png +0 -0
  93. package/editions/ko-KR/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
  94. package/editions/ko-KR-server/tiddlers/system/favicon.png +0 -0
  95. package/editions/ko-KR-server/tiddlers/system/favicon.png.meta +2 -0
  96. package/editions/pluginlibrary/tiddlywiki.info +2 -2
  97. package/editions/prerelease/tiddlers/{Release 5.3.2.tid → Release 5.3.4.tid } +26 -25
  98. package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
  99. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  100. package/editions/prerelease/tiddlers/system/favicon.png +0 -0
  101. package/editions/prerelease/tiddlers/system/favicon.png.meta +2 -0
  102. package/editions/prerelease/tiddlers/system/temp-my-scroll-position.tid +3 -0
  103. package/editions/resumebuilder/tiddlywiki.info +1 -1
  104. package/editions/server/tiddlywiki.info +1 -1
  105. package/editions/server-external-js/tiddlywiki.info +1 -1
  106. package/editions/test/playwright.spec.js +25 -0
  107. package/editions/test/tiddlers/tests/data/conditionals/Basic.tid +26 -0
  108. package/editions/test/tiddlers/tests/data/conditionals/BlockMode.tid +37 -0
  109. package/editions/test/tiddlers/tests/data/conditionals/Else.tid +26 -0
  110. package/editions/test/tiddlers/tests/data/conditionals/Elseif.tid +32 -0
  111. package/editions/test/tiddlers/tests/data/conditionals/MissingEndIf.tid +26 -0
  112. package/editions/test/tiddlers/tests/data/conditionals/MultipleResults.tid +12 -0
  113. package/editions/test/tiddlers/tests/data/conditionals/Nested.tid +38 -0
  114. package/editions/test/tiddlers/tests/data/conditionals/NestedElseif.tid +60 -0
  115. package/editions/test/tiddlers/tests/data/list-widget/WithEmptyParagraphTemplate.tid +13 -0
  116. package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplates.tid +29 -0
  117. package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplatesInBlockMode.tid +32 -0
  118. package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplatesOverriddenByAttributes.tid +33 -0
  119. package/editions/test/tiddlers/tests/data/list-widget/WithJoinTemplate.tid +30 -0
  120. package/editions/test/tiddlers/tests/data/list-widget/WithJoinTemplateInBlockMode.tid +32 -0
  121. package/editions/test/tiddlers/tests/data/list-widget/WithLimit.tid +25 -0
  122. package/editions/test/tiddlers/tests/data/list-widget/WithMissingTemplate.tid +26 -0
  123. package/editions/test/tiddlers/tests/data/pragmas/WhitespaceAfterPragma.tid +64 -0
  124. package/editions/test/tiddlers/tests/data/pragmas/WhitespaceNoPragma.tid +32 -0
  125. package/editions/test/tiddlers/tests/data/transclude/CustomWidget-CodeblockOverride-TextParser.tid +20 -0
  126. package/editions/test/tiddlers/tests/data/transclude/Variable-Refreshing.tid +27 -0
  127. package/editions/test/tiddlers/tests/data/transclude/Variable-Static.tid +15 -0
  128. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/ButtonWidget-DataAttributes.tid +27 -0
  129. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/CheckboxWidget-DataAttributes.tid +22 -0
  130. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/DraggableWidget-DataAttributes.tid +27 -0
  131. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/DroppableWidget-DataAttributes.tid +27 -0
  132. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/LinkWidget-DataAttributes.tid +27 -0
  133. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/OrderedStyleAttributes.tid +15 -0
  134. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/SelectWidget-DataAttributes.tid +27 -0
  135. package/editions/test/tiddlers/tests/data/widgets/ElementWidgetEventAttributes.tid +15 -0
  136. package/editions/test/tiddlers/tests/data/widgets/ElementWidgetStyleAttributes.tid +15 -0
  137. package/editions/test/tiddlers/tests/test-filters.js +1 -0
  138. package/editions/test/tiddlers/tests/test-json-filters.js +40 -0
  139. package/editions/test/tiddlers/tests/test-utils.js +23 -0
  140. package/editions/test/tiddlers/tests/test-widget.js +62 -0
  141. package/editions/tw.org/tiddlers/$__favicon.ico.png +0 -0
  142. package/editions/tw.org/tiddlywiki.info +1 -1
  143. package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.png +0 -0
  144. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{classic.tiddlywiki.com.ico.meta → classic.tiddlywiki.com.png.meta} +1 -1
  145. package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.png +0 -0
  146. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{links.tiddlywiki.org.ico.meta → links.tiddlywiki.org.png.meta} +1 -1
  147. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.png +0 -0
  148. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.dev.ico.meta → tiddlywiki.com.dev.png.meta} +1 -1
  149. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.png +0 -0
  150. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.ico.meta → tiddlywiki.com.png.meta} +1 -1
  151. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.png +0 -0
  152. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.prerelease.ico.meta → tiddlywiki.com.prerelease.png.meta} +1 -1
  153. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.png +0 -0
  154. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.upgrade.ico.meta → tiddlywiki.com.upgrade.png.meta} +1 -1
  155. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.png +0 -0
  156. package/editions/tw5.com/tiddlers/about/Archive.tid +82 -0
  157. package/editions/tw5.com/tiddlers/community/Chinese Community.tid +20 -0
  158. package/editions/tw5.com/tiddlers/community/editions/Tidme by oflg.tid +16 -0
  159. package/editions/tw5.com/tiddlers/community/plugins/FSRS4TW by oflg.tid +10 -0
  160. package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +3 -1
  161. package/editions/tw5.com/tiddlers/concepts/Macros.tid +7 -3
  162. package/editions/tw5.com/tiddlers/concepts/Title List.tid +5 -1
  163. package/editions/tw5.com/tiddlers/filters/decodebase64 Operator.tid +6 -1
  164. package/editions/tw5.com/tiddlers/filters/encodebase64 Operator.tid +6 -1
  165. package/editions/tw5.com/tiddlers/filters/examples/jsonset.tid +59 -0
  166. package/editions/tw5.com/tiddlers/filters/examples/jsonstringify Operator (Examples).tid +7 -5
  167. package/editions/tw5.com/tiddlers/filters/examples/stringify_Operator_(Examples).tid +5 -3
  168. package/editions/tw5.com/tiddlers/filters/jsonextract.tid +8 -0
  169. package/editions/tw5.com/tiddlers/filters/jsonget.tid +8 -0
  170. package/editions/tw5.com/tiddlers/filters/jsonset.tid +64 -0
  171. package/editions/tw5.com/tiddlers/filters/jsonstringify Operator.tid +14 -15
  172. package/editions/tw5.com/tiddlers/filters/jsontype.tid +8 -0
  173. package/editions/tw5.com/tiddlers/filters/stringify_Operator.tid +12 -15
  174. package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +1 -1
  175. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +6 -1
  176. package/editions/tw5.com/tiddlers/howtos/Constructing JSON tiddlers.tid +3 -3
  177. package/editions/tw5.com/tiddlers/images/Favicon template.svg +296 -0
  178. package/editions/tw5.com/tiddlers/images/Favicon template.svg.meta +3 -0
  179. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  180. package/editions/tw5.com/tiddlers/images/favicon.png +0 -0
  181. package/editions/tw5.com/tiddlers/images/favicon.png.meta +2 -0
  182. package/editions/tw5.com/tiddlers/images/green_favicon.png +0 -0
  183. package/editions/tw5.com/tiddlers/images/green_favicon.png.meta +2 -0
  184. package/editions/tw5.com/tiddlers/macros/CoreMacros.tid +1 -1
  185. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-delete-tiddler.tid +3 -1
  186. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +12 -5
  187. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permalink.tid +1 -1
  188. package/editions/tw5.com/tiddlers/pragmas/Pragma_ _define.tid +3 -1
  189. package/editions/tw5.com/tiddlers/pragmas/Pragma_ _whitespace.tid +7 -3
  190. package/editions/tw5.com/tiddlers/procedures/Procedure Definitions.tid +3 -1
  191. package/editions/tw5.com/tiddlers/releasenotes/BetaReleases.tid +2 -2
  192. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.0.tid +1 -0
  193. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.1.tid +1 -0
  194. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.10.tid +1 -0
  195. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.11.tid +1 -0
  196. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.12.tid +1 -0
  197. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.13.tid +1 -0
  198. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.14.tid +1 -0
  199. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.15.tid +1 -0
  200. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.16.tid +1 -0
  201. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.17.tid +1 -0
  202. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.18.tid +1 -0
  203. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.19.tid +1 -0
  204. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.2.tid +1 -0
  205. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.20.tid +1 -0
  206. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.21.tid +1 -0
  207. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +1 -0
  208. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +1 -0
  209. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.3.tid +1 -0
  210. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.4.tid +1 -0
  211. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.5.tid +1 -0
  212. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.6.tid +1 -0
  213. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.7.tid +1 -0
  214. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.8.tid +1 -0
  215. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.9.tid +1 -0
  216. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +1 -0
  217. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +1 -0
  218. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +1 -0
  219. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.3.tid +1 -0
  220. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +1 -0
  221. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.5.tid +1 -0
  222. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.6.tid +1 -0
  223. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.7.tid +1 -0
  224. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.0.tid +1 -0
  225. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.1.tid +8 -1
  226. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.2.tid +184 -0
  227. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.3.tid +30 -0
  228. package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +3 -1
  229. package/editions/tw5.com/tiddlers/releasenotes/alpha/AlphaReleases.tid +2 -2
  230. package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +5 -0
  231. package/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid +3 -1
  232. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +3 -1
  233. package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +3 -1
  234. package/editions/tw5.com/tiddlers/widgets/Custom Widgets.tid +3 -1
  235. package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +3 -2
  236. package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +3 -1
  237. package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +3 -2
  238. package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +2 -1
  239. package/editions/tw5.com/tiddlers/widgets/LinkWidget.tid +3 -1
  240. package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +25 -2
  241. package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +3 -1
  242. package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +3 -1
  243. package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +27 -2
  244. package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +4 -1
  245. package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +17 -1
  246. package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +2 -2
  247. package/editions/tw5.com/tiddlers/wikitext/Conditional Shortcut Syntax.tid +62 -0
  248. package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -3
  249. package/editions/tw5.com/tiddlywiki.info +9 -3
  250. package/editions/tw5.com-server/tiddlers/system/tiddlywiki.com.server.png +0 -0
  251. package/editions/tw5.com-server/tiddlers/system/tiddlywiki.com.server.png.meta +2 -0
  252. package/editions/zh-Hans/tiddlers/images/favicon.png +0 -0
  253. package/editions/zh-Hans/tiddlers/images/favicon.png.meta +2 -0
  254. package/editions/zh-Hans/tiddlers/images/green_favicon.png +0 -0
  255. package/editions/zh-Hans/tiddlers/images/green_favicon.png.meta +2 -0
  256. package/editions/zh-Hant/tiddlers/images/favicon.png +0 -0
  257. package/editions/zh-Hant/tiddlers/images/favicon.png.meta +2 -0
  258. package/editions/zh-Hant/tiddlers/images/green_favicon.png +0 -0
  259. package/editions/zh-Hant/tiddlers/images/green_favicon.png.meta +2 -0
  260. package/languages/de-DE/Exporters.multids +1 -1
  261. package/languages/de-DE/Help/commands.tid +2 -2
  262. package/languages/de-DE/Help/server.tid +1 -1
  263. package/languages/de-DE/Types/image_x-icon.tid +1 -1
  264. package/languages/es-ES/Buttons.multids +2 -0
  265. package/languages/es-ES/Fields.multids +4 -0
  266. package/languages/es-ES/Help/listen.tid +1 -1
  267. package/languages/es-ES/Help/savewikifolder.tid +16 -1
  268. package/languages/es-ES/Help/server.tid +1 -1
  269. package/languages/es-ES/Misc.multids +3 -0
  270. package/languages/es-ES/SiteTitle.tid +1 -1
  271. package/languages/pl-PL/Exporters.multids +1 -1
  272. package/languages/pl-PL/Help/commands.tid +1 -1
  273. package/languages/pl-PL/Help/savewikifolder.tid +3 -1
  274. package/languages/pl-PL/Help/server.tid +1 -1
  275. package/languages/zh-Hans/Exporters.multids +1 -1
  276. package/languages/zh-Hans/Help/commands.tid +1 -1
  277. package/languages/zh-Hans/Help/server.tid +1 -1
  278. package/languages/zh-Hans/Types/image_svg_xml.tid +1 -1
  279. package/languages/zh-Hans/Types/image_x-icon.tid +1 -1
  280. package/languages/zh-Hant/Exporters.multids +1 -1
  281. package/languages/zh-Hant/Help/commands.tid +1 -1
  282. package/languages/zh-Hant/Help/server.tid +1 -1
  283. package/languages/zh-Hant/Types/image_svg_xml.tid +1 -1
  284. package/languages/zh-Hant/Types/image_x-icon.tid +1 -1
  285. package/licenses/cla-individual.md +12 -0
  286. package/package.json +4 -1
  287. package/playwright.config.js +46 -0
  288. package/plugins/tiddlywiki/codemirror/styles.tid +5 -0
  289. package/plugins/tiddlywiki/comments/styles.tid +8 -8
  290. package/plugins/tiddlywiki/dynannotate/docs/readme.tid +1 -0
  291. package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +28 -27
  292. package/plugins/tiddlywiki/evernote/modules/enex-deserializer.js +82 -23
  293. package/plugins/tiddlywiki/evernote/readme.tid +1 -0
  294. package/plugins/tiddlywiki/evernote/samples/sample-enex-with-image.xml.enex +2 -2
  295. package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +1 -1
  296. package/plugins/tiddlywiki/qrcode/barcodereader.js +90 -0
  297. package/plugins/tiddlywiki/qrcode/docs/barcodereader.tid +44 -0
  298. package/plugins/tiddlywiki/qrcode/{doc/usage.tid → docs/makeqr.tid} +4 -4
  299. package/plugins/tiddlywiki/qrcode/docs.tid +3 -0
  300. package/plugins/tiddlywiki/qrcode/{MakeContactQR.tid → examples/make/MakeContactQR.tid} +1 -1
  301. package/plugins/tiddlywiki/qrcode/{MakeGenericQR.tid → examples/make/MakeGenericQR.tid} +1 -1
  302. package/plugins/tiddlywiki/qrcode/{MakeWifiQR.tid → examples/make/MakeWifiQR.tid} +1 -1
  303. package/plugins/tiddlywiki/qrcode/examples/make/make.tid +5 -0
  304. package/plugins/tiddlywiki/qrcode/examples/read/BarCodeReader.tid +17 -0
  305. package/plugins/tiddlywiki/qrcode/examples/read/read.tid +5 -0
  306. package/plugins/tiddlywiki/qrcode/examples.tid +3 -0
  307. package/plugins/tiddlywiki/qrcode/files/html5-qrcode/LICENSE +201 -0
  308. package/plugins/tiddlywiki/qrcode/files/html5-qrcode/README.md +398 -0
  309. package/plugins/tiddlywiki/qrcode/files/html5-qrcode/html5-qrcode.min.js +1 -0
  310. package/plugins/tiddlywiki/qrcode/files/tiddlywiki.files +20 -4
  311. package/plugins/tiddlywiki/qrcode/makeqr.js +1 -1
  312. package/plugins/tiddlywiki/qrcode/plugin.info +1 -1
  313. package/plugins/tiddlywiki/qrcode/readme.tid +15 -0
  314. package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +1 -2
  315. package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +1 -2
  316. package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +2 -2
  317. package/plugins/tiddlywiki/upgrade/favicon.png +0 -0
  318. package/plugins/tiddlywiki/upgrade/favicon.png.meta +2 -0
  319. package/readme.md +1 -1
  320. package/themes/tiddlywiki/vanilla/base.tid +37 -7
  321. package/themes/tiddlywiki/vanilla/settings.multids +1 -1
  322. package/editions/de-AT-server/tiddlers/system/favicon.ico +0 -0
  323. package/editions/dev/tiddlers/images/favicon.ico +0 -0
  324. package/editions/es-ES/tiddlers/images/favicon.ico +0 -0
  325. package/editions/es-ES/tiddlers/images/green_favicon.ico +0 -0
  326. package/editions/es-ES-server/tiddlers/system/favicon.ico +0 -0
  327. package/editions/fr-FR/tiddlers/images/favicon.ico +0 -0
  328. package/editions/fr-FR/tiddlers/images/favicon.ico.meta +0 -2
  329. package/editions/fr-FR/tiddlers/images/green_favicon.ico +0 -0
  330. package/editions/fr-FR-server/tiddlers/system/favicon.ico +0 -0
  331. package/editions/fr-FR-server/tiddlers/system/favicon.ico.meta +0 -2
  332. package/editions/ja-JP/tiddlers/images/favicon.ico +0 -0
  333. package/editions/ja-JP/tiddlers/images/favicon.ico.meta +0 -2
  334. package/editions/ja-JP/tiddlers/images/green_favicon.ico +0 -0
  335. package/editions/ko-KR/tiddlers/images/favicon.ico +0 -0
  336. package/editions/ko-KR/tiddlers/images/favicon.ico.meta +0 -2
  337. package/editions/ko-KR/tiddlers/images/green_favicon.ico +0 -0
  338. package/editions/ko-KR-server/tiddlers/system/favicon.ico +0 -0
  339. package/editions/ko-KR-server/tiddlers/system/favicon.ico.meta +0 -2
  340. package/editions/prerelease/tiddlers/system/favicon.ico +0 -0
  341. package/editions/prerelease/tiddlers/system/favicon.ico.meta +0 -2
  342. package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico +0 -0
  343. package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico +0 -0
  344. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico +0 -0
  345. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico +0 -0
  346. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico +0 -0
  347. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico +0 -0
  348. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico +0 -0
  349. package/editions/tw5.com/tiddlers/community/editions/TiddlyMemo by oflg.tid +0 -16
  350. package/editions/tw5.com/tiddlers/community/tutorials/Install and run TiddlyWiki on a CentOS 6 VPS using Nginx.tid +0 -16
  351. package/editions/tw5.com/tiddlers/images/favicon.ico +0 -0
  352. package/editions/tw5.com/tiddlers/images/favicon.ico.meta +0 -2
  353. package/editions/tw5.com/tiddlers/images/green_favicon.ico +0 -0
  354. package/editions/tw5.com/tiddlers/images/green_favicon.ico.meta +0 -2
  355. package/editions/tw5.com-server/tiddlers/system/favicon.ico +0 -0
  356. package/editions/tw5.com-server/tiddlers/system/favicon.ico.meta +0 -2
  357. package/editions/zh-Hans/tiddlers/images/favicon.ico +0 -0
  358. package/editions/zh-Hans/tiddlers/images/favicon.ico.meta +0 -2
  359. package/editions/zh-Hans/tiddlers/images/green_favicon.ico +0 -0
  360. package/editions/zh-Hans/tiddlers/images/green_favicon.ico.meta +0 -2
  361. package/editions/zh-Hant/tiddlers/images/favicon.ico +0 -0
  362. package/editions/zh-Hant/tiddlers/images/favicon.ico.meta +0 -2
  363. package/editions/zh-Hant/tiddlers/images/green_favicon.ico +0 -0
  364. package/editions/zh-Hant/tiddlers/images/green_favicon.ico.meta +0 -2
  365. package/plugins/tiddlywiki/qrcode/doc/examples.tid +0 -3
  366. package/plugins/tiddlywiki/qrcode/doc/readme.tid +0 -13
  367. package/plugins/tiddlywiki/upgrade/favicon.ico +0 -0
  368. package/plugins/tiddlywiki/upgrade/favicon.ico.meta +0 -2
  369. /package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.org.ico.meta → tiddlywiki.org.png.meta} +0 -0
  370. /package/plugins/tiddlywiki/qrcode/files/{LICENSE → qrcode/LICENSE} +0 -0
  371. /package/plugins/tiddlywiki/qrcode/files/{README.md → qrcode/README.md} +0 -0
  372. /package/plugins/tiddlywiki/qrcode/files/{qrcode.js → qrcode/qrcode.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  caption: list
2
2
  created: 20131024141900000
3
- modified: 20230725203601441
3
+ modified: 20230831182949930
4
4
  tags: Widgets Lists
5
5
  title: ListWidget
6
6
  type: text/vnd.tiddlywiki
@@ -70,6 +70,8 @@ See GroupedLists for how to generate nested and grouped lists using the ListWidg
70
70
 
71
71
  The content of the `<$list>` widget is an optional template to use for rendering each tiddler in the list.
72
72
 
73
+ <<.from-version "5.3.2">> If the widgets `<$list-template>` or `<$list-empty>` are found as immediate children of the <<.wid "ListWidget">> widget then the content of those widgets are used as the list item template and/or the empty template. Note that the <<.attr "emptyMessage">> and <<.attr "template">> attributes take precedence if they are present.
74
+
73
75
  The action of the list widget depends on the results of the filter combined with several options for specifying the template:
74
76
 
75
77
  * If the filter evaluates to an empty list, the text of the ''emptyMessage'' attribute is rendered, and all other templates are ignored
@@ -79,8 +81,10 @@ The action of the list widget depends on the results of the filter combined with
79
81
 
80
82
  |!Attribute |!Description |
81
83
  |filter |The [[tiddler filter|Filters]] to display |
84
+ |limit |<<.from-version "5.3.2">> Optional numeric limit for the number of results that are returned. Negative values will return the results from the end of the list |
82
85
  |template |The title of a template tiddler for transcluding each tiddler in the list. When no template is specified, the body of the ListWidget serves as the item template. With no body, a simple link to the tiddler is returned. |
83
86
  |editTemplate |An alternative template to use for [[DraftTiddlers|DraftMechanism]] in edit mode |
87
+ |join |<<.from-version "5.3.2">> Text to include between each list item |
84
88
  |variable |The name for a [[variable|Variables]] in which the title of each listed tiddler is stored. Defaults to ''currentTiddler'' |
85
89
  |counter |<<.from-version "5.2.0">> Optional name for a [[variable|Variables]] in which the 1-based numeric index of each listed tiddler is stored (see below) |
86
90
  |emptyMessage |Message to be displayed when the list is empty |
@@ -117,10 +121,29 @@ Displays as:
117
121
  </$list>
118
122
  <<<
119
123
 
120
- 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.
124
+ 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. Note that if you are only using it to insert something (like a comma) between list items, the `join` attribute performs much better and you should use it instead of `counter`.
121
125
 
122
126
  Setting `counter="transclusion"` is a handy way to make child elements for each list element be identified as unique. A common use case are multiple [[tag macros|tag Macro]] for the same tag generated by a list widget. Refer to [[tag macro examples|tag Macro (Examples)]] for more details.
123
127
 
128
+ !! `join` attribute
129
+
130
+ <<.from-version "5.3.2">> The optional `join` attribute allow you to insert some [[WikiText]] between each list item without needing to use the `counter` attribute, which can become quite slow if the list is updated frequently.
131
+
132
+ <<.from-version "5.3.2">> If the widget `<$list-join>` is found as an immediate child of the <<.wid "ListWidget">> widget then the content of that widget is used as the "join" template, included between two list items. Note that the <<.attr "join">> attribute takes precedence if it is present.
133
+
134
+ For example:
135
+
136
+
137
+ ```
138
+ <$list filter="[tag[About]sort[title]]" join=", " variable="item"><<item>></$list>
139
+ ```
140
+
141
+ Displays as:
142
+
143
+ <<<
144
+ <$list filter="[tag[About]sort[title]]" join=", " variable="item"><<item>></$list>
145
+ <<<
146
+
124
147
  !! Edit mode
125
148
 
126
149
  The `<$list>` widget can optionally render draft tiddlers through a different template to handle editing, see DraftMechanism.
@@ -1,6 +1,6 @@
1
1
  caption: radio
2
2
  created: 20131212195353929
3
- modified: 20211009121654734
3
+ modified: 20231113093304323
4
4
  tags: Widgets TriggeringWidgets
5
5
  title: RadioWidget
6
6
  type: text/vnd.tiddlywiki
@@ -22,6 +22,8 @@ The content of the `<$radio>` widget is displayed within an HTML `<label>` eleme
22
22
  |class |The CSS classes assigned to the label around the radio button <<.from-version "5.1.14">> `tc-radio` is always applied by default, as well as `tc-radio-selected` when selected |
23
23
  |actions|<<.from-version "5.1.23">> Optional string containing ActionWidgets to be triggered when the value changes. <br>The variable: ''actionValue'' is available for the actions |
24
24
  |disabled|<<.from-version "5.1.23">> Optional. Set to "yes" to disable the radio input. Defaults to "no" |
25
+ |data-* |<<.from-version "5.3.2">> Optional [[data attributes|https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes]] to be assigned to the `<input>` HTML element |
26
+ |style.* |<<.from-version "5.3.2">> Optional [[CSS properties|https://developer.mozilla.org/en-US/docs/Web/CSS/Reference]] to be assigned to the `<input>` HTML element |
25
27
 
26
28
  !! Field Mode
27
29
 
@@ -1,6 +1,6 @@
1
1
  caption: range
2
2
  created: 20171102134825376
3
- modified: 20211009121606405
3
+ modified: 20231113093304323
4
4
  tags: Widgets TriggeringWidgets
5
5
  title: RangeWidget
6
6
  type: text/vnd.tiddlywiki
@@ -26,6 +26,8 @@ The content of the `<$range>` widget is ignored.
26
26
  |actionsStart|<<.from-version "5.1.23">> Optional, A string containing ~ActionWidgets to be triggered when the "handle" is ''clicked''. <br>The variable: ''actionValueHasChanged'' is always `no` here|
27
27
  |actionsStop|<<.from-version "5.1.23">> Optional, A string containing ~ActionWidgets to be triggered when the "handle" is ''released''. <br>The variable: ''actionValueHasChanged'' is `yes`, ''if'' the new-value is different to the start-value |
28
28
  |disabled|<<.from-version "5.1.23">> Optional, disables the range input if set to "yes". Defaults to "no"|
29
+ |data-* |<<.from-version "5.3.2">> Optional [[data attributes|https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes]] to be assigned to the `<input>` HTML element |
30
+ |style.* |<<.from-version "5.3.2">> Optional [[CSS properties|https://developer.mozilla.org/en-US/docs/Web/CSS/Reference]] to be assigned to the `<input>` HTML element |
29
31
 
30
32
  ! Examples
31
33
 
@@ -1,6 +1,6 @@
1
1
  caption: scrollable
2
2
  created: 20140324223413403
3
- modified: 20220620115347910
3
+ modified: 20230731100903977
4
4
  tags: Widgets
5
5
  title: ScrollableWidget
6
6
  type: text/vnd.tiddlywiki
@@ -16,12 +16,15 @@ The content of the `<$scrollable>` widget is displayed within a pair of wrapper
16
16
  |!Attribute |!Description |
17
17
  |class |The CSS class(es) to be applied to the outer DIV |
18
18
  |fallthrough |See below |
19
+ |bind |<<.from-version "5.3.2">> Optional title of tiddler to which the scroll position should be bound |
20
+
21
+ Binding the scroll position to a tiddler automatically copies the scroll coordinates into the `scroll-left` and `scroll-top` fields after scrolling occurs. Conversely, setting those field values will automatically cause the scrollable to scroll if it can.
19
22
 
20
23
  <$macrocall $name=".note" _="""If a scrollable widget can't handle the `tm-scroll` message because the inner DIV fits within the outer DIV, then by default the message falls through to the parent widget. Setting the ''fallthrough'' attribute to `no` prevents this behaviour."""/>
21
24
 
22
25
  ! Examples
23
26
 
24
- This example requires the following CSS definitions from [[$:/_tw5.com-styles]]:
27
+ These examples require the following CSS definitions from [[$:/_tw5.com-styles]]:
25
28
 
26
29
  ```
27
30
  .tc-scrollable-demo {
@@ -33,6 +36,8 @@ This example requires the following CSS definitions from [[$:/_tw5.com-styles]]:
33
36
  }
34
37
  ```
35
38
 
39
+ !! Simple Usage
40
+
36
41
  This wiki text shows how to display a list within the scrollable widget:
37
42
 
38
43
  <<wikitext-example-without-html "<$scrollable class='tc-scrollable-demo'>
@@ -46,3 +51,23 @@ This wiki text shows how to display a list within the scrollable widget:
46
51
  </$scrollable>
47
52
  ">>
48
53
 
54
+ !! Binding scroll position to a tiddler
55
+
56
+ [[Current scroll position|$:/my-scroll-position]]: {{$:/my-scroll-position!!scroll-left}}, {{$:/my-scroll-position!!scroll-top}}
57
+
58
+ <$button>
59
+ <$action-setfield $tiddler="$:/my-scroll-position" scroll-left="100" scroll-top="100"/>
60
+ Set current scroll position to 100,100
61
+ </$button>
62
+
63
+ <<wikitext-example-without-html "<$scrollable class='tc-scrollable-demo' bind='$:/my-scroll-position'>
64
+ <$list filter='[tag[Reference]]'>
65
+
66
+ <$view field='title'/>: <$list filter='[all[current]links[]sort[title]]' storyview='pop'>
67
+ <$link><$view field='title'/></$link>
68
+ </$list>
69
+
70
+ </$list>
71
+ </$scrollable>
72
+ ">>
73
+
@@ -1,6 +1,6 @@
1
1
  caption: select
2
2
  created: 20131024141900000
3
- modified: 20211108165037846
3
+ modified: 20231113093304323
4
4
  tags: TriggeringWidgets Widgets
5
5
  title: SelectWidget
6
6
  type: text/vnd.tiddlywiki
@@ -42,6 +42,9 @@ The content of the `<$select>` widget should be one or more HTML `<option>` or `
42
42
  |actions |A string containing ActionWidgets to be triggered when the key combination is detected |
43
43
  |focus |<<.from-version "5.2.4">> Optional. Set to "yes" to automatically focus the HTML select element after creation |
44
44
  |tabindex |<<.from-version "5.3.1">> Optional. Sets the `tabindex` attribute of the HTML select element to the given value |
45
+ |data-* |<<.from-version "5.3.2">> Optional [[data attributes|https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes]] to be assigned to the HTML element |
46
+ |style.* |<<.from-version "5.3.2">> Optional [[CSS properties|https://developer.mozilla.org/en-US/docs/Web/CSS/Reference]] to be assigned to the HTML element |
47
+
45
48
  ! Examples
46
49
 
47
50
  !! Simple Lists
@@ -1,6 +1,6 @@
1
1
  caption: set
2
2
  created: 20131115182700000
3
- modified: 20220523075522407
3
+ modified: 20230720174707977
4
4
  tags: Widgets
5
5
  title: SetWidget
6
6
  type: text/vnd.tiddlywiki
@@ -120,3 +120,19 @@ src='<$set name="myTiddler" value="HelloThere">
120
120
  </$set>'/>
121
121
 
122
122
  <<<
123
+
124
+ !! Using the Set Widget to Create Global Variables
125
+
126
+ There are times when it makes sense to use the features of the [[SetWidget]] rather than procedures or functions to create global variables. This can be accomplished by placing the set variable widget in a tiddler that is tagged [[$:/tags/Global|SystemTag: $:/tags/Global]]. If multiple variables are required, the set variable widget can be nested as shown here:
127
+
128
+ <<<
129
+ <div class="doc-example">
130
+
131
+ ```
132
+ <$set name="myGlobalVariable" value="I am global">
133
+ <$set name="myOtherGlobalVariable" value="I am also a global variable.">
134
+ </$set>
135
+ </$set>
136
+ ```
137
+ </div>
138
+ <<<
@@ -18,11 +18,11 @@ Transclusion is the underlying mechanism for many higher level wikitext features
18
18
  Here is a complete example showing the important features of the <<.wlink TranscludeWidget>> widget:
19
19
 
20
20
  ```
21
- \procedure mymacro(name,age)
21
+ \procedure myproc(name,age)
22
22
  My name is <<name>> and my age is <<age>>.
23
23
  \end
24
24
 
25
- <$transclude $variable="mymacro" name="James" age="19"/>
25
+ <$transclude $variable="myproc" name="James" age="19"/>
26
26
  ```
27
27
 
28
28
  * `\procedure` defines a variable as a procedure with two parameters, ''name'' and ''age''
@@ -0,0 +1,62 @@
1
+ created: 20230901122740573
2
+ modified: 20230901123102263
3
+ tags: WikiText
4
+ title: Conditional Shortcut Syntax
5
+ type: text/vnd.tiddlywiki
6
+
7
+ <<.from-version "5.3.2">> The conditional shortcut syntax provides a convenient way to express if-then-else logic within WikiText. It evaluates a [[filter expression|Filter Expression]] and considers the condition to be true if there is at least one result (regardless of the value of that result).
8
+
9
+ Within an "if" or "elseif" clause, the variable `condition` contains the value of the first result of evaluating the filter condition.
10
+
11
+ A simple example:
12
+
13
+ <$macrocall $name='wikitext-example-without-html'
14
+ src='<% if [{$:/info/url/protocol}match[file:]] %>
15
+ Loaded from a file URI
16
+ <% else %>
17
+ Not loaded from a file URI
18
+ <% endif %>
19
+ '/>
20
+
21
+ One or more `<% elseif %>` clauses may be included before the `<% else %>` clause:
22
+
23
+ <$macrocall $name='wikitext-example-without-html'
24
+ src='<% if [{$:/info/url/protocol}match[file:]] %>
25
+ Loaded from a file URI
26
+ <% elseif [{$:/info/url/protocol}match[https:]] %>
27
+ Loaded from an HTTPS URI
28
+ <% elseif [{$:/info/url/protocol}match[http:]] %>
29
+ Loaded from an HTTP URI
30
+ <% else %>
31
+ Loaded from an unknown protocol
32
+ <% endif %>
33
+ '/>
34
+
35
+ The conditional shortcut syntax can be nested:
36
+
37
+ <$macrocall $name='wikitext-example-without-html'
38
+ src='\procedure test(animal)
39
+ <% if [<animal>match[Elephant]] %>
40
+ It is an elephant
41
+ <% else %>
42
+ <% if [<animal>match[Giraffe]] %>
43
+ It is a giraffe
44
+ <% else %>
45
+ It is completely unknown
46
+ <% endif %>
47
+ <% endif %>
48
+ \end
49
+
50
+ <<test "Giraffe">>
51
+
52
+ <<test "Elephant">>
53
+
54
+ <<test "Antelope">>
55
+ '/>
56
+
57
+ Notes:
58
+
59
+ * Clauses are parsed in inline mode by default. Force block mode parsing by following the opening `<% if %>`, `<% elseif %>` or `<% else %>` with two line breaks
60
+ * Widgets and HTML elements must be within a single conditional clause; it is not possible to start an element in one conditional clause and end it in another
61
+ * The conditional shortcut syntax cannot contain pragmas such as procedure definitions
62
+
@@ -1,5 +1,5 @@
1
1
  created: 20141018090608643
2
- modified: 20230419103154329
2
+ modified: 20231030124224424
3
3
  tags: WikiText
4
4
  title: Transclusion and Substitution
5
5
  type: text/vnd.tiddlywiki
@@ -55,6 +55,6 @@ As described in [[Introduction to filter notation]], you can also transclude a v
55
55
 
56
56
  ! Textual Substitution
57
57
 
58
- Textual substitution occurs when the value of a macro/variable is used. It is described in [[Macros]].
58
+ Textual substitution occurs when the value of a macro/variable is used. It is described in [[Substituted Attribute Values]] and [[substitute Operator]]
59
59
 
60
- The key difference between substitution and transclusion is that substitution occurs before WikiText parsing. This means that you can use substitution to build WikiText constructions. Transclusions are processed independently, and cannot be combined with adjacent text to define WikiText constructions.
60
+ The key difference between substitution and transclusion is that substitution occurs before WikiText parsing. This means that you can use substitution to build ~WikiText constructions. Transclusions are processed independently, and cannot be combined with adjacent text to define ~WikiText constructions.
@@ -6,7 +6,8 @@
6
6
  "tiddlywiki/railroad",
7
7
  "tiddlywiki/evernote",
8
8
  "tiddlywiki/internals",
9
- "tiddlywiki/menubar"
9
+ "tiddlywiki/menubar",
10
+ "tiddlywiki/qrcode"
10
11
  ],
11
12
  "themes": [
12
13
  "tiddlywiki/vanilla",
@@ -49,11 +50,16 @@
49
50
  "static": [
50
51
  "--render","$:/core/templates/static.template.html","static.html","text/plain",
51
52
  "--render","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
52
- "--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain","$:/core/templates/static.tiddler.html",
53
+ "--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain","$:/core/templates/static.tiddler.html",
53
54
  "--render","$:/core/templates/static.template.css","static/static.css","text/plain"],
54
55
  "external-js": [
55
56
  "--render","$:/core/save/offline-external-js","[[external-]addsuffix<version>addsuffix[.html]]","text/plain",
56
- "--render","$:/core/templates/tiddlywiki5.js","[[tiddlywikicore-]addsuffix<version>addsuffix[.js]]","text/plain"]
57
+ "--render","$:/core/templates/tiddlywiki5.js","[[tiddlywikicore-]addsuffix<version>addsuffix[.js]]","text/plain"],
58
+ "archive":[
59
+ "--render","$:/core/save/all","[[archive/TiddlyWiki-]addsuffix<version>addsuffix[.html]]","text/plain",
60
+ "--render","$:/editions/tw5.com/download-empty","[[archive/Empty-TiddlyWiki-]addsuffix<version>addsuffix[.html]]","text/plain",
61
+ "--render","[[TiddlyWiki Archive]]","archive/index.html","text/plain","$:/core/templates/static.tiddler.html",
62
+ "--render","$:/core/templates/static.template.css","archive/static.css","text/plain"]
57
63
  },
58
64
  "config": {
59
65
  "retain-original-tiddler-path": true
@@ -0,0 +1,2 @@
1
+ title: $:/favicon.ico
2
+ type: image/png
@@ -0,0 +1,2 @@
1
+ title: $:/favicon.ico
2
+ type: image/png
@@ -0,0 +1,2 @@
1
+ title: $:/green_favicon.ico
2
+ type: image/png
@@ -0,0 +1,2 @@
1
+ title: $:/favicon.ico
2
+ type: image/png
@@ -0,0 +1,2 @@
1
+ title: $:/green_favicon.ico
2
+ type: image/png
@@ -3,4 +3,4 @@ title: $:/language/Exporters/
3
3
  StaticRiver: HTML - Statisch
4
4
  JsonFile: JSON - Format
5
5
  CsvFile: CSV - Format
6
- TidFile: .tid - Format
6
+ TidFile: TID - Text Format
@@ -1,7 +1,7 @@
1
1
  title: $:/language/Help/commands
2
2
  description: Ausführen von Befehlen aus einem Tiddler
3
3
 
4
- Sequentielle Abarbeitung von Befehlen aus einem Tiddler.
4
+ Sequentielle Abarbeitung von Befehlen aus einem Tiddler.
5
5
 
6
6
  ```
7
7
  --commands <filter>
@@ -9,6 +9,6 @@ Sequentielle Abarbeitung von Befehlen aus einem Tiddler.
9
9
 
10
10
  Beispiele
11
11
 
12
- `--commands "[enlist{$:/build-commands-as-text}]"`
12
+ `--commands "[enlist:raw{$:/build-commands-as-text}]"`
13
13
 
14
14
  `--commands "[{$:/build-commands-as-json}jsonindexes[]] :map[{$:/build-commands-as-json}jsonget<currentTiddler>]"`
@@ -1,5 +1,5 @@
1
1
  title: $:/language/Help/server
2
- description: Stellt einen HTTP server für TiddlyWiki zur Verfügung. (Dieser Befehl ist abgekündigt! - Neu ist: "listen")
2
+ description: (Dieser Befehl ist abgekündigt! - Neu ist: "listen") -- Stellt einen HTTP server für TiddlyWiki zur Verfügung.
3
3
 
4
4
  TiddlyWiki bringt einen einfachen Web-Server mit.
5
5
 
@@ -1,4 +1,4 @@
1
1
  title: $:/language/Docs/Types/image/x-icon
2
- description: ICO - Piktogramm Format
2
+ description: ICO - Piktogramm (Icon)
3
3
  name: image/x-icon
4
4
  group: Bilder
@@ -67,6 +67,8 @@ More/Caption: Más
67
67
  More/Hint: Otras acciones
68
68
  NewHere/Caption: Nuevo aquí
69
69
  NewHere/Hint: Crea un nuevo tiddler etiquetado con el título de este tiddler
70
+ NetworkActivity/Caption: actividad de red
71
+ NetworkActivity/Hint: Cancelar la actividad de red
70
72
  NewJournal/Caption: Nueva entrada
71
73
  NewJournal/Hint: Crea una nueva entrada de diario
72
74
  NewJournalHere/Caption: Entrada nueva aquí
@@ -1,11 +1,13 @@
1
1
  title: $:/language/Docs/Fields/
2
2
 
3
3
  _canonical_uri: Dirección (URI) completa -absoluta o relativa- de un tiddler externo de imagen
4
+ author: Nombre del autor de un plugin
4
5
  bag: Nombre de la bolsa de la que procede un tiddler
5
6
  caption: Texto que se muestra en una pestaña o botón, con independencia del título del tiddler que lo define
6
7
  code-body: La plantilla de vista mostrará el tiddler como código si se establece en ''yes''
7
8
  color: Valor CSS del color de fondo asociado a un tiddler
8
9
  component: Nombre del componente responsable de un [[tiddler de alerta|AlertMechanism]]
10
+ core-version: Para un plugin, indica con qué versión de TiddlyWiki es compatible
9
11
  current-tiddler: Usado para incluir el tiddler superior en una [[historia|HistoryMechanism]]
10
12
  created: Fecha de creación del tiddler
11
13
  creator: Nombre del autor del tiddler
@@ -22,7 +24,9 @@ list-before: Título del tiddler antes del que el presente será añadido a una
22
24
  list-after: Título del tiddler tras el que el presente será añadido a una lista de tiddlers.
23
25
  modified: Fecha y hora de última modificación
24
26
  modifier: Nombre del tiddler asociado con quien modificó por última vez el presente tiddler
27
+ module-type: Para los tiddlers javascript, especifica de qué tipo de módulo se trata
25
28
  name: Nombre asociado con un complemento o extensión
29
+ parent-plugin: Para un plugin, especifica de qué plugin es un subplugin
26
30
  plugin-priority: Valor numérico que indica la prioridad de un complemento o extensión
27
31
  plugin-type: Tipo de complemento o extensión
28
32
  revision: Revisión del tiddler existente en el servidor
@@ -18,7 +18,7 @@ Todos los parámetros son opcionales con valores predeterminados seguros y se pu
18
18
  * ''anon-username'' - el nombre de usuario para firmar ediciones de usuarios anónimos
19
19
  * ''username'' - nombre de usuario opcional para autenticación básica
20
20
  * ''password'' - contraseña opcional para autenticación básica
21
- * ''authenticated-user-header'' - nombre opcional del encabezado que se utilizará para la autenticación de confianza
21
+ * ''authenticated-user-header'' - nombre opcional del encabezado de solicitud que se utilizará para la autenticación de confianza.
22
22
  * ''readers'' - lista separada por comas de los usuarios autorizados a leer de este wiki
23
23
  * ''writers'' - lista separada por comas de los usuarios autorizados a escribir en este wiki
24
24
  * ''csrf-disable'' - establecer a "yes" para deshabilitar las comprobaciones CSRF (el valor predeterminado es "no")
@@ -4,7 +4,7 @@ description: Guarda un wiki en una nueva carpeta de wiki
4
4
  <<.from-version "5.1.20">> Guarda el wiki actual como una carpeta de wiki, incluidos tiddlers, complementos y configuración:
5
5
 
6
6
  ```
7
- --savewikifolder <wikifolderpath> [<filter>]
7
+ --savewikifolder <wikifolderpath> [<filter>] [ [<name>=<value>] ]*
8
8
  ```
9
9
 
10
10
  * La carpeta wiki de destino debe estar vacía o no existir
@@ -12,8 +12,23 @@ description: Guarda un wiki en una nueva carpeta de wiki
12
12
  * Los complementos de la biblioteca oficial de complementos se reemplazan con referencias a esos complementos en el archivo `tiddlywiki.info`
13
13
  * Los complementos personalizados se descomprimen en su propia carpeta
14
14
 
15
+ Se admiten las siguientes opciones:
16
+
17
+ * ''filter'': una expresión de filtro que define los tiddlers que se incluirán en la salida.
18
+ * ''explodePlugins'': por defecto "yes".
19
+ ** ''yes'' desplegará los plugins en archivos tiddler separados y los guardará en el directorio de plugins dentro de la carpeta wiki
20
+ ** ''no'' no realizará el despliegue del plugin en sus archivos tiddler constituyentes si no que guardará el plugin como un único tiddler JSON en la carpeta tiddlers.
21
+
22
+ Ten en cuenta que ambas opciones ''explodePlugins'' producirán carpetas wiki que construirán exactamente el mismo wiki original. La diferencia radica en cómo se representan los plugins en la carpeta wiki.
23
+
15
24
  Un uso común es convertir un archivo HTML de TiddlyWiki en una carpeta wiki:
16
25
 
17
26
  ```
18
27
  tiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder
19
28
  ```
29
+
30
+ Guarda el plugin en el directorio tiddlers de la carpeta wiki de destino:
31
+
32
+ ```
33
+ tiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder explodePlugins=no
34
+ ```
@@ -1,5 +1,5 @@
1
1
  title: $:/language/Help/server
2
- description: Proporciona interfaz de servidor HTTP a TiddlyWiki (en desuso a favor del nuevo comando listen)
2
+ description: (en desuso: utiliza el comando 'listen') Proporciona interfaz de servidor HTTP a TiddlyWiki
3
3
 
4
4
  Comando obsoleto para servir una wiki a través de HTTP.
5
5
 
@@ -25,6 +25,8 @@ Encryption/RepeatPassword: Repite la contraseña
25
25
  Encryption/PasswordNoMatch: Las contraseñas no coinciden
26
26
  Encryption/SetPassword: Establecer contraseña
27
27
  Error/Caption: Error
28
+ Error/DeserializeOperator/MissingOperand: Error de filtro: Falta el operando 'deserialize
29
+ Error/DeserializeOperator/UnknownDeserializer: Error de filtro: Deserializador desconocido proporcionado como operando para el operador 'deserialize'.
28
30
  Error/Filter: Error de filtro
29
31
  Error/FilterSyntax: Error de sintaxis en la expresión de filtro
30
32
  Error/FilterRunPrefix: Error en Filtro: Prefijo desconocido para la ejecución del filtro
@@ -40,6 +42,7 @@ Error/RetrievingSkinny: Error al recuperar la lista resumida de tiddlers
40
42
  Error/SavingToTWEdit: Error al guardar en TWEdit
41
43
  Error/WhileSaving: Error al guardar
42
44
  Error/XMLHttpRequest: Código de error XMLHttpRequest
45
+ Error/ZoominTextNode: Error de vista de historia: Parece que has intentado interactuar con un tiddler que se muestra en un contenedor personalizado. La causa más probable es el uso de `$:/tags/StoryTiddlerTemplateFilter` con una plantilla que contiene texto o espacios en blanco al principio. Utiliza el pragma `\whitespace trim` y asegúrate de que todo el contenido del tiddler está envuelto en un único elemento HTML. El texto que causó este problema:
43
46
  InternalJavaScriptError/Hint: Hay un problema. Se recomienda que reinicies TiddlyWiki
44
47
  InternalJavaScriptError/Title: Error interno de JavaScript
45
48
  LayoutSwitcher/Description: Abre el selector de diseño
@@ -1,3 +1,3 @@
1
1
  title: $:/SiteTitle
2
2
 
3
- Mi ~TiddlyWiki
3
+ Mi TiddlyWiki
@@ -3,5 +3,5 @@ title: $:/language/Exporters/
3
3
  StaticRiver: Statyczny HTML
4
4
  JsonFile: Plik JSON
5
5
  CsvFile: Plik CSV
6
- TidFile: Plik ".tid"
6
+ TidFile: Plik tekstowy TID
7
7
 
@@ -10,7 +10,7 @@ Uruchamia komendy zwrócone przez filtr.
10
10
  Dla przykładu:
11
11
 
12
12
  ```
13
- --commands "[enlist{$:/build-commands-as-text}]"
13
+ --commands "[enlist:raw{$:/build-commands-as-text}]"
14
14
  ```
15
15
 
16
16
  ```
@@ -19,6 +19,8 @@ Wspierane argumenty:
19
19
  ** `yes` rozdzieli wtyczki na osobne pliki tiddlerów i zapisze je do podfolderu z wtyczkami
20
20
  ** `no` każda wtyczka będzie zapisana jako jeden zbiorczy plik w formacie JSON w folderze z tiddlerami
21
21
 
22
+ Obie wartości dla `explodePlugins` stworzą taką samą wiki. Różnica będzie jedynie w sposobie rozlokowania wtyczek.
23
+
22
24
  Typowe zastosowanie to konwersja pliku TiddlyWiki w formie pliku HTML do formatu folderu:
23
25
 
24
26
  ```
@@ -29,4 +31,4 @@ Zapisanie wtyczek jako zwykłych tiddlerów:
29
31
 
30
32
  ```
31
33
  tiddlywiki --load ./mojawiki.html --savewikifolder ./folderwiki explodePlugins=no
32
- ```
34
+ ```
@@ -1,5 +1,5 @@
1
1
  title: $:/language/Help/server
2
- description: Tworzy serwer HTTP wystawiający TiddlyWiki (zalecamy użycie komendy "--listen" zamiast tej)
2
+ description: (nieaktualne: patrz komenda 'listen') Tworzy serwer HTTP wystawiający TiddlyWiki (zalecamy użycie komendy "--listen" zamiast tej)
3
3
 
4
4
  Dawna komenda do stawiania serwera wystawiającego wiki.
5
5
 
@@ -3,4 +3,4 @@ title: $:/language/Exporters/
3
3
  StaticRiver: 静态 HTML
4
4
  JsonFile: JSON 文件
5
5
  CsvFile: CSV 文件
6
- TidFile: ".tid" 文件
6
+ TidFile: TID 文本文件
@@ -10,7 +10,7 @@ description: 运行从筛选器传回的命令
10
10
  示例
11
11
 
12
12
  ```
13
- --commands "[enlist{$:/build-commands-as-text}]"
13
+ --commands "[enlist:raw{$:/build-commands-as-text}]"
14
14
  ```
15
15
 
16
16
  ```
@@ -1,5 +1,5 @@
1
1
  title: $:/language/Help/server
2
- description: 提供一个 HTTP 服务器界面到 TiddlyWiki (已弃用,支持新的 listen 命令)
2
+ description: (已弃用:请参阅 'listen' 命令)提供一个 HTTP 服务器界面到 TiddlyWiki
3
3
 
4
4
  在服务器中内置 TiddlyWiki5 是非常简单。虽与 TiddlyWeb 兼容,但不支持许多健全互联网面向的使用方式所需的功能。
5
5
 
@@ -1,4 +1,4 @@
1
1
  title: $:/language/Docs/Types/image/svg+xml
2
- description: 结构式矢量图
2
+ description: SVG 图像
3
3
  name: image/svg+xml
4
4
  group: 图像
@@ -1,4 +1,4 @@
1
1
  title: $:/language/Docs/Types/image/x-icon
2
- description: 图标
2
+ description: ICO 图标
3
3
  name: image/x-icon
4
4
  group: 图像
@@ -3,4 +3,4 @@ title: $:/language/Exporters/
3
3
  StaticRiver: 靜態 HTML
4
4
  JsonFile: JSON 檔案
5
5
  CsvFile: CSV 檔案
6
- TidFile: ".tid" 檔案
6
+ TidFile: TID 文字檔案
@@ -10,7 +10,7 @@ description: 執行從篩選器傳回的命令
10
10
  範例
11
11
 
12
12
  ```
13
- --commands "[enlist{$:/build-commands-as-text}]"
13
+ --commands "[enlist:raw{$:/build-commands-as-text}]"
14
14
  ```
15
15
 
16
16
  ```
@@ -1,5 +1,5 @@
1
1
  title: $:/language/Help/server
2
- description: 提供一個 HTTP 伺服器介面到 TiddlyWiki (已棄用,支持新的 listen 命令)
2
+ description: (已棄用:請參閱 'listen' 命令)提供一個 HTTP 伺服器介面到 TiddlyWiki
3
3
 
4
4
  在伺服器中內建 TiddlyWiki5 是非常簡單。雖與 TiddlyWeb 相容,但不支援許多健全網際網路面向的使用方式所需的功能。
5
5
 
@@ -1,4 +1,4 @@
1
1
  title: $:/language/Docs/Types/image/svg+xml
2
- description: 結構式向量圖
2
+ description: SVG 圖片
3
3
  name: image/svg+xml
4
4
  group: 圖片