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,22 +1,34 @@
1
- caption: 5.3.2
2
- created: 20230820114855583
3
- modified: 20230820114855583
1
+ caption: 5.3.4
2
+ created: 20231223102229103
3
+ modified: 20231223102229103
4
4
  tags: ReleaseNotes
5
- title: Release 5.3.2
5
+ title: Release 5.3.4
6
6
  type: text/vnd.tiddlywiki
7
+ description: Under development
7
8
 
8
- //[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.1...master]]//
9
+ //[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.3...master]]//
9
10
 
10
- ! Translation improvement
11
+ ! Major Improvements
12
+
13
+
14
+ ! Translation improvements
11
15
 
12
16
  Improvements to the following translations:
13
17
 
14
18
  *
15
19
 
20
+ ! Plugin Improvements
21
+
22
+ *
23
+
16
24
  ! Widget Improvements
17
25
 
18
26
  *
19
27
 
28
+ ! Usability Improvements
29
+
30
+ *
31
+
20
32
  ! Hackability Improvements
21
33
 
22
34
  *
@@ -29,32 +41,21 @@ Improvements to the following translations:
29
41
 
30
42
  *
31
43
 
44
+ ! Performance Improvements
45
+
46
+ *
47
+
32
48
  ! Developer Improvements
33
49
 
34
50
  *
35
51
 
52
+ ! Infrastructure Improvements
53
+
54
+ *
55
+
36
56
  ! Acknowledgements
37
57
 
38
58
  [[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:
39
59
 
40
60
  <<.contributors """
41
- AnthonyMuscio
42
- btheado
43
- catter-fly
44
- cmo-pomerium
45
- CrossEye
46
- flibbles
47
- hffqyd
48
- lilscribby
49
- linonetwo
50
- Marxsal
51
- mateuszwilczek
52
- pille1842
53
- pmario
54
- rmunn
55
- saqimtiaz
56
- stevesunypoly
57
- TiddlyTweeter
58
- twMat
59
- yaisog
60
61
  """>>
@@ -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.1/index.html
3
+ url: http://127.0.0.1:8080/prerelease/library/v5.3.2/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.1/index.html
3
+ url: https://tiddlywiki.com/prerelease/library/v5.3.3/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,2 @@
1
+ title: $:/favicon.ico
2
+ type: image/png
@@ -0,0 +1,3 @@
1
+ title: $:/my-scroll-position
2
+ scroll-left: 0
3
+ scroll-top: 100
@@ -20,4 +20,4 @@
20
20
  "favicon": [
21
21
  "--savetiddler","$:/favicon.ico","favicon.ico"]
22
22
  }
23
- }
23
+ }
@@ -15,7 +15,7 @@
15
15
  "static": [
16
16
  "--render","$:/core/templates/static.template.html","static.html","text/plain",
17
17
  "--render","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
18
- "--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain",
18
+ "--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain","$:/core/templates/static.tiddler.html",
19
19
  "--render","$:/core/templates/static.template.css","static/static.css","text/plain"]
20
20
  }
21
21
  }
@@ -17,7 +17,7 @@
17
17
  "static": [
18
18
  "--render","$:/core/templates/static.template.html","static.html","text/plain",
19
19
  "--render","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
20
- "--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain",
20
+ "--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain","$:/core/templates/static.tiddler.html",
21
21
  "--render","$:/core/templates/static.template.css","static/static.css","text/plain"],
22
22
  "tiddlywikicore": [
23
23
  "--render","$:/core/templates/tiddlywiki5.js","[[tiddlywikicore-]addsuffix<version>addsuffix[.js]]","text/plain"]
@@ -0,0 +1,25 @@
1
+ const { test, expect } = require('@playwright/test');
2
+ const {resolve} = require('path');
3
+
4
+ const indexPath = resolve(__dirname, 'output', 'test.html');
5
+ const crossPlatformIndexPath = indexPath.replace(/^\/+/, '');
6
+
7
+
8
+ test('get started link', async ({ page }) => {
9
+ // The tests can take a while to run
10
+ const timeout = 1000 * 30;
11
+ test.setTimeout(timeout);
12
+
13
+ // Load the generated test TW html
14
+ await page.goto(`file:///${crossPlatformIndexPath}`);
15
+
16
+ // Sanity check
17
+ await expect(page.locator('.tc-site-title'), "Expected correct page title to verify the test page was loaded").toHaveText('TiddlyWiki5');
18
+
19
+ // Wait for jasmine results bar to appear
20
+ await expect(page.locator('.jasmine-overall-result'), "Expected jasmine test results bar to be present").toBeVisible({timeout});
21
+
22
+ // Assert the tests have passed
23
+ await expect(page.locator('.jasmine-overall-result.jasmine-failed'), "Expected jasmine tests to not have failed").not.toBeVisible();
24
+ await expect(page.locator('.jasmine-overall-result.jasmine-passed'), "Expected jasmine tests to have passed").toBeVisible();
25
+ });
@@ -0,0 +1,26 @@
1
+ title: Conditionals/Basic
2
+ description: Basic conditional shortcut syntax
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ title: Text
7
+
8
+ This is a <% if [<something>match[one]] %>Elephant<% endif %>, I think.
9
+ +
10
+ title: Output
11
+
12
+ <$let something="one">
13
+ {{Text}}
14
+ </$let>
15
+
16
+ <$let something="two">
17
+ {{Text}}
18
+ </$let>
19
+ +
20
+ title: ExpectedResult
21
+
22
+ <p>
23
+ This is a Elephant, I think.
24
+ </p><p>
25
+ This is a , I think.
26
+ </p>
@@ -0,0 +1,37 @@
1
+ title: Conditionals/BlockMode
2
+ description: Basic conditional shortcut syntax in block mode
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ title: Output
7
+
8
+ \procedure test(animal)
9
+ <% if [<animal>match[Elephant]] %>
10
+
11
+ ! It is an elephant
12
+
13
+ <% else %>
14
+
15
+ <% if [<animal>match[Giraffe]] %>
16
+
17
+ ! It is a giraffe
18
+
19
+ <% else %>
20
+
21
+ ! It is completely unknown
22
+
23
+ <% endif %>
24
+
25
+ <% endif %>
26
+
27
+ \end
28
+
29
+ <<test "Giraffe">>
30
+
31
+ <<test "Elephant">>
32
+
33
+ <<test "Antelope">>
34
+ +
35
+ title: ExpectedResult
36
+
37
+ <h1 class="">It is a giraffe</h1><h1 class="">It is an elephant</h1><h1 class="">It is completely unknown</h1>
@@ -0,0 +1,26 @@
1
+ title: Conditionals/Else
2
+ description: Else conditional shortcut syntax
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ title: Text
7
+
8
+ This is a <% if [<something>match[one]] %>Elephant<% else %>Crocodile<% endif %>, I think.
9
+ +
10
+ title: Output
11
+
12
+ <$let something="one">
13
+ {{Text}}
14
+ </$let>
15
+
16
+ <$let something="two">
17
+ {{Text}}
18
+ </$let>
19
+ +
20
+ title: ExpectedResult
21
+
22
+ <p>
23
+ This is a Elephant, I think.
24
+ </p><p>
25
+ This is a Crocodile, I think.
26
+ </p>
@@ -0,0 +1,32 @@
1
+ title: Conditionals/Elseif
2
+ description: Elseif conditional shortcut syntax
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ title: Text
7
+
8
+ This is a <% if [<something>match[one]] %>Elephant<% elseif [<something>match[two]] %>Antelope<% else %>Crocodile<% endif %>, I think.
9
+ +
10
+ title: Output
11
+
12
+ <$let something="one">
13
+ {{Text}}
14
+ </$let>
15
+
16
+ <$let something="two">
17
+ {{Text}}
18
+ </$let>
19
+
20
+ <$let something="three">
21
+ {{Text}}
22
+ </$let>
23
+ +
24
+ title: ExpectedResult
25
+
26
+ <p>
27
+ This is a Elephant, I think.
28
+ </p><p>
29
+ This is a Antelope, I think.
30
+ </p><p>
31
+ This is a Crocodile, I think.
32
+ </p>
@@ -0,0 +1,26 @@
1
+ title: Conditionals/MissingEndif
2
+ description: Conditional shortcut syntax with missing endif
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ title: Text
7
+
8
+ This is a <% if [<something>match[one]] %>Elephant
9
+ +
10
+ title: Output
11
+
12
+ <$let something="one">
13
+ {{Text}}
14
+ </$let>
15
+
16
+ <$let something="two">
17
+ {{Text}}
18
+ </$let>
19
+ +
20
+ title: ExpectedResult
21
+
22
+ <p>
23
+ This is a Elephant
24
+ </p><p>
25
+ This is a
26
+ </p>
@@ -0,0 +1,12 @@
1
+ title: Conditionals/MultipleResults
2
+ description: Check that multiple results from the filter are ignored
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ title: Output
7
+
8
+ This is a <% if 1 2 3 4 5 6 %>Elephant<% endif %>, I think.
9
+ +
10
+ title: ExpectedResult
11
+
12
+ <p>This is a Elephant, I think.</p>
@@ -0,0 +1,38 @@
1
+ title: Conditionals/Nested
2
+ description: Nested conditional shortcut syntax
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ title: Output
7
+
8
+ \procedure test(animal)
9
+ <% if [<animal>match[Elephant]] %>
10
+ It is an elephant
11
+ <% else %>
12
+ <% if [<animal>match[Giraffe]] %>
13
+ It is a giraffe
14
+ <% else %>
15
+ It is completely unknown
16
+ <% endif %>
17
+ <% endif %>
18
+ \end
19
+
20
+ <<test "Giraffe">>
21
+
22
+ <<test "Elephant">>
23
+
24
+ <<test "Antelope">>
25
+
26
+ +
27
+ title: ExpectedResult
28
+
29
+
30
+
31
+ It is a giraffe
32
+
33
+
34
+ It is an elephant
35
+
36
+
37
+ It is completely unknown
38
+
@@ -0,0 +1,60 @@
1
+ title: Conditionals/NestedElseif
2
+ description: Nested elseif conditional shortcut syntax
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ title: Text
7
+
8
+ \whitespace trim
9
+ This is a&#32;
10
+ <% if [<something>match[one]] %>
11
+ <% if [<another>match[one]] %>
12
+ Indian
13
+ <% elseif [<another>match[two]] %>
14
+ African
15
+ <% else %>
16
+ Unknown
17
+ <% endif %>
18
+ &#32;Elephant
19
+ <% elseif [<something>match[two]] %>
20
+ Antelope
21
+ <% else %>
22
+ Crocodile
23
+ <% endif %>
24
+ , I think.
25
+ +
26
+ title: Output
27
+
28
+ <$let something="one" another="one">
29
+ {{Text}}
30
+ </$let>
31
+
32
+ <$let something="one" another="two">
33
+ {{Text}}
34
+ </$let>
35
+
36
+ <$let something="one" another="three">
37
+ {{Text}}
38
+ </$let>
39
+
40
+ <$let something="two">
41
+ {{Text}}
42
+ </$let>
43
+
44
+ <$let something="three">
45
+ {{Text}}
46
+ </$let>
47
+ +
48
+ title: ExpectedResult
49
+
50
+ <p>
51
+ This is a Indian Elephant, I think.
52
+ </p><p>
53
+ This is a African Elephant, I think.
54
+ </p><p>
55
+ This is a Unknown Elephant, I think.
56
+ </p><p>
57
+ This is a Antelope, I think.
58
+ </p><p>
59
+ This is a Crocodile, I think.
60
+ </p>
@@ -0,0 +1,13 @@
1
+ title: ListWidget/WithEmptyParagraphTemplate
2
+ description: List widget with an empty paragraph as inline template
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ +
7
+ title: Output
8
+
9
+ <$list filter="1"><p/></$list>
10
+ +
11
+ title: ExpectedResult
12
+
13
+ <p><p></p></p>
@@ -0,0 +1,29 @@
1
+ title: ListWidget/WithExplicitTemplates
2
+ description: List widget with explicit templates
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ +
7
+ title: Output
8
+
9
+ \whitespace trim
10
+
11
+ \procedure test(filter)
12
+ <$list filter=<<filter>>>
13
+ <$list-template>
14
+ <$text text=<<currentTiddler>>/>
15
+ </$list-template>
16
+ <$list-empty>
17
+ None!
18
+ </$list-empty>
19
+ </$list>
20
+ \end
21
+
22
+ <<test "1 2 3">>
23
+
24
+ <<test "">>
25
+
26
+ +
27
+ title: ExpectedResult
28
+
29
+ <p>123</p><p>None!</p>
@@ -0,0 +1,32 @@
1
+ title: ListWidget/WithExplicitTemplatesInBlockMode
2
+ description: List widget with explicit templates in block mode
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ +
7
+ title: Output
8
+
9
+ \whitespace trim
10
+
11
+ \procedure test(filter)
12
+ <$list filter=<<filter>>>
13
+
14
+ <$list-template>
15
+ <$text text=<<currentTiddler>>/>
16
+ </$list-template>
17
+
18
+ <$list-empty>
19
+ None!
20
+ </$list-empty>
21
+
22
+ </$list>
23
+ \end
24
+
25
+ <<test "1 2 3">>
26
+
27
+ <<test "">>
28
+
29
+ +
30
+ title: ExpectedResult
31
+
32
+ 123None!
@@ -0,0 +1,33 @@
1
+ title: ListWidget/WithExplicitTemplatesOverriddenByAttributes
2
+ description: List widget with explicit templates
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ +
7
+ title: Output
8
+
9
+ \whitespace trim
10
+
11
+ \procedure test(filter)
12
+ <$list filter=<<filter>> emptyMessage="Zero" template="Template">
13
+ <$list-template>
14
+ <$text text=<<currentTiddler>>/>
15
+ </$list-template>
16
+ <$list-empty>
17
+ None!
18
+ </$list-empty>
19
+ </$list>
20
+ \end
21
+
22
+ <<test "1 2 3">>
23
+
24
+ <<test "">>
25
+
26
+ +
27
+ title: Template
28
+
29
+ <$text text=<<currentTiddler>>/><$text text=<<currentTiddler>>/>
30
+ +
31
+ title: ExpectedResult
32
+
33
+ <p>112233</p><p>Zero</p>
@@ -0,0 +1,30 @@
1
+ title: ListWidget/WithJoinTemplate
2
+ description: List widget with join template and $list-empty
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ +
7
+ title: Output
8
+
9
+ \whitespace trim
10
+
11
+ \procedure test(filter)
12
+ <$list filter=<<filter>>>
13
+ Item:<<currentTiddler>>
14
+
15
+ <$list-empty>
16
+ None!
17
+ </$list-empty>
18
+
19
+ <$list-join>,</$list-join>
20
+ </$list>
21
+ \end
22
+
23
+ <<test "1 2 3">>
24
+
25
+ <<test "">>
26
+
27
+ +
28
+ title: ExpectedResult
29
+
30
+ <p>Item:1,Item:2,Item:3</p><p>None!</p>
@@ -0,0 +1,32 @@
1
+ title: ListWidget/WithJoinTemplateInBlockMode
2
+ description: List widget with join template and $list-empty in block mode
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ +
7
+ title: Output
8
+
9
+ \whitespace trim
10
+
11
+ \procedure test(filter)
12
+ <$list filter=<<filter>>>
13
+
14
+ Item:<<currentTiddler>>
15
+
16
+ <$list-empty>
17
+ None!
18
+ </$list-empty>
19
+
20
+ <$list-join><br></$list-join>
21
+ </$list>
22
+ \end
23
+
24
+ <<test "1 2 3">>
25
+
26
+ <<test "">>
27
+
28
+ +
29
+ title: ExpectedResult
30
+ comment: I wish there was a good way to get rid of these extraneous paragraph elements
31
+
32
+ <p>Item:1</p><p></p><p></p><br><p>Item:2</p><p></p><p></p><br><p>Item:3</p><p></p><p></p>None!
@@ -0,0 +1,25 @@
1
+ title: ListWidget/WithLimit
2
+ description: List widget with limit
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ +
7
+ title: Output
8
+
9
+ Zero: <$list filter="1 2 3 4" limit="0" template="Template"/>
10
+
11
+ One: <$list filter="1 2 3 4" limit="1" template="Template"/>
12
+
13
+ Two: <$list filter="1 2 3 4" limit="2" template="Template"/>
14
+
15
+ Minus Two: <$list filter="1 2 3 4" limit="-2" template="Template"/>
16
+
17
+ +
18
+ title: Template
19
+
20
+ <$text text=<<currentTiddler>>/>
21
+ +
22
+ title: ExpectedResult
23
+
24
+ <p>Zero: </p><p>One: 1</p><p>Two: 12</p><p>Minus Two: 34
25
+ </p>
@@ -0,0 +1,26 @@
1
+ title: ListWidget/WithMissingTemplate
2
+ description: List widget with explicit templates
3
+ type: text/vnd.tiddlywiki-multiple
4
+ tags: [[$:/tags/wiki-test-spec]]
5
+
6
+ +
7
+ title: Output
8
+
9
+ \whitespace trim
10
+
11
+ \procedure test(filter)
12
+ <$list filter=<<filter>>>
13
+ <$list-empty>
14
+ None!
15
+ </$list-empty>
16
+ </$list>
17
+ \end
18
+
19
+ <<test "1 2 3">>
20
+
21
+ <<test "">>
22
+
23
+ +
24
+ title: ExpectedResult
25
+
26
+ <p><span><a class="tc-tiddlylink tc-tiddlylink-missing" href="#1">1</a></span><span><a class="tc-tiddlylink tc-tiddlylink-missing" href="#2">2</a></span><span><a class="tc-tiddlylink tc-tiddlylink-missing" href="#3">3</a></span></p><p>None!</p>