tiddlywiki 5.3.1 → 5.3.2

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 (364) 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 +31 -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 +176 -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 +0 -1
  44. package/core/templates/html-json-tiddler.tid +1 -1
  45. package/core/templates/store.area.template.html.tid +4 -4
  46. package/core/ui/ControlPanel/Basics.tid +2 -2
  47. package/core/ui/EditTemplate/body/default.tid +12 -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 +6 -0
  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.3.tid } +23 -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/WithExplicitTemplates.tid +29 -0
  116. package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplatesInBlockMode.tid +32 -0
  117. package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplatesOverriddenByAttributes.tid +33 -0
  118. package/editions/test/tiddlers/tests/data/list-widget/WithJoinTemplate.tid +30 -0
  119. package/editions/test/tiddlers/tests/data/list-widget/WithJoinTemplateInBlockMode.tid +32 -0
  120. package/editions/test/tiddlers/tests/data/list-widget/WithLimit.tid +25 -0
  121. package/editions/test/tiddlers/tests/data/list-widget/WithMissingTemplate.tid +26 -0
  122. package/editions/test/tiddlers/tests/data/transclude/CustomWidget-CodeblockOverride-TextParser.tid +20 -0
  123. package/editions/test/tiddlers/tests/data/transclude/Variable-Refreshing.tid +27 -0
  124. package/editions/test/tiddlers/tests/data/transclude/Variable-Static.tid +15 -0
  125. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/ButtonWidget-DataAttributes.tid +27 -0
  126. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/CheckboxWidget-DataAttributes.tid +22 -0
  127. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/DraggableWidget-DataAttributes.tid +27 -0
  128. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/DroppableWidget-DataAttributes.tid +27 -0
  129. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/LinkWidget-DataAttributes.tid +27 -0
  130. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/OrderedStyleAttributes.tid +15 -0
  131. package/editions/test/tiddlers/tests/data/widgets/DataAttributes/SelectWidget-DataAttributes.tid +27 -0
  132. package/editions/test/tiddlers/tests/data/widgets/ElementWidgetEventAttributes.tid +15 -0
  133. package/editions/test/tiddlers/tests/data/widgets/ElementWidgetStyleAttributes.tid +15 -0
  134. package/editions/test/tiddlers/tests/test-filters.js +1 -0
  135. package/editions/test/tiddlers/tests/test-json-filters.js +40 -0
  136. package/editions/test/tiddlers/tests/test-utils.js +23 -0
  137. package/editions/test/tiddlers/tests/test-widget.js +62 -0
  138. package/editions/tw.org/tiddlers/$__favicon.ico.png +0 -0
  139. package/editions/tw.org/tiddlywiki.info +1 -1
  140. package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.png +0 -0
  141. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{classic.tiddlywiki.com.ico.meta → classic.tiddlywiki.com.png.meta} +1 -1
  142. package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.png +0 -0
  143. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{links.tiddlywiki.org.ico.meta → links.tiddlywiki.org.png.meta} +1 -1
  144. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.png +0 -0
  145. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.dev.ico.meta → tiddlywiki.com.dev.png.meta} +1 -1
  146. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.png +0 -0
  147. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.ico.meta → tiddlywiki.com.png.meta} +1 -1
  148. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.png +0 -0
  149. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.prerelease.ico.meta → tiddlywiki.com.prerelease.png.meta} +1 -1
  150. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.png +0 -0
  151. package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.upgrade.ico.meta → tiddlywiki.com.upgrade.png.meta} +1 -1
  152. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.png +0 -0
  153. package/editions/tw5.com/tiddlers/about/Archive.tid +82 -0
  154. package/editions/tw5.com/tiddlers/community/Chinese Community.tid +20 -0
  155. package/editions/tw5.com/tiddlers/community/editions/Tidme by oflg.tid +16 -0
  156. package/editions/tw5.com/tiddlers/community/plugins/FSRS4TW by oflg.tid +10 -0
  157. package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +3 -1
  158. package/editions/tw5.com/tiddlers/concepts/Macros.tid +7 -3
  159. package/editions/tw5.com/tiddlers/concepts/Title List.tid +5 -1
  160. package/editions/tw5.com/tiddlers/filters/decodebase64 Operator.tid +6 -1
  161. package/editions/tw5.com/tiddlers/filters/encodebase64 Operator.tid +6 -1
  162. package/editions/tw5.com/tiddlers/filters/examples/jsonset.tid +59 -0
  163. package/editions/tw5.com/tiddlers/filters/examples/jsonstringify Operator (Examples).tid +7 -5
  164. package/editions/tw5.com/tiddlers/filters/examples/stringify_Operator_(Examples).tid +5 -3
  165. package/editions/tw5.com/tiddlers/filters/jsonextract.tid +8 -0
  166. package/editions/tw5.com/tiddlers/filters/jsonget.tid +8 -0
  167. package/editions/tw5.com/tiddlers/filters/jsonset.tid +64 -0
  168. package/editions/tw5.com/tiddlers/filters/jsonstringify Operator.tid +14 -15
  169. package/editions/tw5.com/tiddlers/filters/jsontype.tid +8 -0
  170. package/editions/tw5.com/tiddlers/filters/stringify_Operator.tid +12 -15
  171. package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +1 -1
  172. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +6 -1
  173. package/editions/tw5.com/tiddlers/howtos/Constructing JSON tiddlers.tid +3 -3
  174. package/editions/tw5.com/tiddlers/images/Favicon template.svg +296 -0
  175. package/editions/tw5.com/tiddlers/images/Favicon template.svg.meta +3 -0
  176. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  177. package/editions/tw5.com/tiddlers/images/favicon.png +0 -0
  178. package/editions/tw5.com/tiddlers/images/favicon.png.meta +2 -0
  179. package/editions/tw5.com/tiddlers/images/green_favicon.png +0 -0
  180. package/editions/tw5.com/tiddlers/images/green_favicon.png.meta +2 -0
  181. package/editions/tw5.com/tiddlers/macros/CoreMacros.tid +1 -1
  182. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +12 -5
  183. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permalink.tid +1 -1
  184. package/editions/tw5.com/tiddlers/pragmas/Pragma_ _whitespace.tid +7 -3
  185. package/editions/tw5.com/tiddlers/procedures/Procedure Definitions.tid +3 -1
  186. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.0.tid +1 -0
  187. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.1.tid +1 -0
  188. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.10.tid +1 -0
  189. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.11.tid +1 -0
  190. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.12.tid +1 -0
  191. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.13.tid +1 -0
  192. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.14.tid +1 -0
  193. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.15.tid +1 -0
  194. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.16.tid +1 -0
  195. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.17.tid +1 -0
  196. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.18.tid +1 -0
  197. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.19.tid +1 -0
  198. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.2.tid +1 -0
  199. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.20.tid +1 -0
  200. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.21.tid +1 -0
  201. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +1 -0
  202. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +1 -0
  203. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.3.tid +1 -0
  204. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.4.tid +1 -0
  205. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.5.tid +1 -0
  206. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.6.tid +1 -0
  207. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.7.tid +1 -0
  208. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.8.tid +1 -0
  209. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.9.tid +1 -0
  210. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +1 -0
  211. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +1 -0
  212. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +1 -0
  213. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.3.tid +1 -0
  214. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +1 -0
  215. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.5.tid +1 -0
  216. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.6.tid +1 -0
  217. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.7.tid +1 -0
  218. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.0.tid +1 -0
  219. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.1.tid +8 -1
  220. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.2.tid +184 -0
  221. package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +3 -1
  222. package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +5 -0
  223. package/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid +3 -1
  224. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +3 -1
  225. package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +3 -1
  226. package/editions/tw5.com/tiddlers/widgets/Custom Widgets.tid +3 -1
  227. package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +3 -2
  228. package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +3 -1
  229. package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +1 -1
  230. package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +2 -1
  231. package/editions/tw5.com/tiddlers/widgets/LinkWidget.tid +3 -1
  232. package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +25 -2
  233. package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +3 -1
  234. package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +3 -1
  235. package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +27 -2
  236. package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +4 -1
  237. package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +17 -1
  238. package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +2 -2
  239. package/editions/tw5.com/tiddlers/wikitext/Conditional Shortcut Syntax.tid +62 -0
  240. package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -3
  241. package/editions/tw5.com/tiddlywiki.info +9 -3
  242. package/editions/tw5.com-server/tiddlers/system/tiddlywiki.com.server.png +0 -0
  243. package/editions/tw5.com-server/tiddlers/system/tiddlywiki.com.server.png.meta +2 -0
  244. package/editions/zh-Hans/tiddlers/images/favicon.png +0 -0
  245. package/editions/zh-Hans/tiddlers/images/favicon.png.meta +2 -0
  246. package/editions/zh-Hans/tiddlers/images/green_favicon.png +0 -0
  247. package/editions/zh-Hans/tiddlers/images/green_favicon.png.meta +2 -0
  248. package/editions/zh-Hant/tiddlers/images/favicon.png +0 -0
  249. package/editions/zh-Hant/tiddlers/images/favicon.png.meta +2 -0
  250. package/editions/zh-Hant/tiddlers/images/green_favicon.png +0 -0
  251. package/editions/zh-Hant/tiddlers/images/green_favicon.png.meta +2 -0
  252. package/languages/de-DE/Exporters.multids +1 -1
  253. package/languages/de-DE/Help/commands.tid +2 -2
  254. package/languages/de-DE/Help/server.tid +1 -1
  255. package/languages/de-DE/Types/image_x-icon.tid +1 -1
  256. package/languages/es-ES/Buttons.multids +2 -0
  257. package/languages/es-ES/Fields.multids +4 -0
  258. package/languages/es-ES/Help/listen.tid +1 -1
  259. package/languages/es-ES/Help/savewikifolder.tid +16 -1
  260. package/languages/es-ES/Help/server.tid +1 -1
  261. package/languages/es-ES/Misc.multids +3 -0
  262. package/languages/es-ES/SiteTitle.tid +1 -1
  263. package/languages/pl-PL/Exporters.multids +1 -1
  264. package/languages/pl-PL/Help/commands.tid +1 -1
  265. package/languages/pl-PL/Help/savewikifolder.tid +3 -1
  266. package/languages/pl-PL/Help/server.tid +1 -1
  267. package/languages/zh-Hans/Exporters.multids +1 -1
  268. package/languages/zh-Hans/Help/commands.tid +1 -1
  269. package/languages/zh-Hans/Help/server.tid +1 -1
  270. package/languages/zh-Hans/Types/image_svg_xml.tid +1 -1
  271. package/languages/zh-Hans/Types/image_x-icon.tid +1 -1
  272. package/languages/zh-Hant/Exporters.multids +1 -1
  273. package/languages/zh-Hant/Help/commands.tid +1 -1
  274. package/languages/zh-Hant/Help/server.tid +1 -1
  275. package/languages/zh-Hant/Types/image_svg_xml.tid +1 -1
  276. package/languages/zh-Hant/Types/image_x-icon.tid +1 -1
  277. package/licenses/cla-individual.md +10 -0
  278. package/package.json +4 -1
  279. package/playwright.config.js +46 -0
  280. package/plugins/tiddlywiki/codemirror/styles.tid +5 -0
  281. package/plugins/tiddlywiki/comments/styles.tid +8 -8
  282. package/plugins/tiddlywiki/dynannotate/docs/readme.tid +1 -0
  283. package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +28 -27
  284. package/plugins/tiddlywiki/evernote/modules/enex-deserializer.js +82 -23
  285. package/plugins/tiddlywiki/evernote/readme.tid +1 -0
  286. package/plugins/tiddlywiki/evernote/samples/sample-enex-with-image.xml.enex +2 -2
  287. package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +1 -1
  288. package/plugins/tiddlywiki/qrcode/barcodereader.js +90 -0
  289. package/plugins/tiddlywiki/qrcode/docs/barcodereader.tid +44 -0
  290. package/plugins/tiddlywiki/qrcode/{doc/usage.tid → docs/makeqr.tid} +4 -4
  291. package/plugins/tiddlywiki/qrcode/docs.tid +3 -0
  292. package/plugins/tiddlywiki/qrcode/{MakeContactQR.tid → examples/make/MakeContactQR.tid} +1 -1
  293. package/plugins/tiddlywiki/qrcode/{MakeGenericQR.tid → examples/make/MakeGenericQR.tid} +1 -1
  294. package/plugins/tiddlywiki/qrcode/{MakeWifiQR.tid → examples/make/MakeWifiQR.tid} +1 -1
  295. package/plugins/tiddlywiki/qrcode/examples/make/make.tid +5 -0
  296. package/plugins/tiddlywiki/qrcode/examples/read/BarCodeReader.tid +17 -0
  297. package/plugins/tiddlywiki/qrcode/examples/read/read.tid +5 -0
  298. package/plugins/tiddlywiki/qrcode/examples.tid +3 -0
  299. package/plugins/tiddlywiki/qrcode/files/html5-qrcode/LICENSE +201 -0
  300. package/plugins/tiddlywiki/qrcode/files/html5-qrcode/README.md +398 -0
  301. package/plugins/tiddlywiki/qrcode/files/html5-qrcode/html5-qrcode.min.js +1 -0
  302. package/plugins/tiddlywiki/qrcode/files/tiddlywiki.files +20 -4
  303. package/plugins/tiddlywiki/qrcode/makeqr.js +1 -1
  304. package/plugins/tiddlywiki/qrcode/plugin.info +1 -1
  305. package/plugins/tiddlywiki/qrcode/readme.tid +15 -0
  306. package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +0 -1
  307. package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +1 -2
  308. package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +2 -2
  309. package/plugins/tiddlywiki/upgrade/favicon.png +0 -0
  310. package/plugins/tiddlywiki/upgrade/favicon.png.meta +2 -0
  311. package/readme.md +1 -1
  312. package/themes/tiddlywiki/vanilla/base.tid +37 -7
  313. package/themes/tiddlywiki/vanilla/settings.multids +1 -1
  314. package/editions/de-AT-server/tiddlers/system/favicon.ico +0 -0
  315. package/editions/dev/tiddlers/images/favicon.ico +0 -0
  316. package/editions/es-ES/tiddlers/images/favicon.ico +0 -0
  317. package/editions/es-ES/tiddlers/images/green_favicon.ico +0 -0
  318. package/editions/es-ES-server/tiddlers/system/favicon.ico +0 -0
  319. package/editions/fr-FR/tiddlers/images/favicon.ico +0 -0
  320. package/editions/fr-FR/tiddlers/images/favicon.ico.meta +0 -2
  321. package/editions/fr-FR/tiddlers/images/green_favicon.ico +0 -0
  322. package/editions/fr-FR-server/tiddlers/system/favicon.ico +0 -0
  323. package/editions/fr-FR-server/tiddlers/system/favicon.ico.meta +0 -2
  324. package/editions/ja-JP/tiddlers/images/favicon.ico +0 -0
  325. package/editions/ja-JP/tiddlers/images/favicon.ico.meta +0 -2
  326. package/editions/ja-JP/tiddlers/images/green_favicon.ico +0 -0
  327. package/editions/ko-KR/tiddlers/images/favicon.ico +0 -0
  328. package/editions/ko-KR/tiddlers/images/favicon.ico.meta +0 -2
  329. package/editions/ko-KR/tiddlers/images/green_favicon.ico +0 -0
  330. package/editions/ko-KR-server/tiddlers/system/favicon.ico +0 -0
  331. package/editions/ko-KR-server/tiddlers/system/favicon.ico.meta +0 -2
  332. package/editions/prerelease/tiddlers/system/favicon.ico +0 -0
  333. package/editions/prerelease/tiddlers/system/favicon.ico.meta +0 -2
  334. package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico +0 -0
  335. package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico +0 -0
  336. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico +0 -0
  337. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico +0 -0
  338. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico +0 -0
  339. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico +0 -0
  340. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico +0 -0
  341. package/editions/tw5.com/tiddlers/community/editions/TiddlyMemo by oflg.tid +0 -16
  342. package/editions/tw5.com/tiddlers/community/tutorials/Install and run TiddlyWiki on a CentOS 6 VPS using Nginx.tid +0 -16
  343. package/editions/tw5.com/tiddlers/images/favicon.ico +0 -0
  344. package/editions/tw5.com/tiddlers/images/favicon.ico.meta +0 -2
  345. package/editions/tw5.com/tiddlers/images/green_favicon.ico +0 -0
  346. package/editions/tw5.com/tiddlers/images/green_favicon.ico.meta +0 -2
  347. package/editions/tw5.com-server/tiddlers/system/favicon.ico +0 -0
  348. package/editions/tw5.com-server/tiddlers/system/favicon.ico.meta +0 -2
  349. package/editions/zh-Hans/tiddlers/images/favicon.ico +0 -0
  350. package/editions/zh-Hans/tiddlers/images/favicon.ico.meta +0 -2
  351. package/editions/zh-Hans/tiddlers/images/green_favicon.ico +0 -0
  352. package/editions/zh-Hans/tiddlers/images/green_favicon.ico.meta +0 -2
  353. package/editions/zh-Hant/tiddlers/images/favicon.ico +0 -0
  354. package/editions/zh-Hant/tiddlers/images/favicon.ico.meta +0 -2
  355. package/editions/zh-Hant/tiddlers/images/green_favicon.ico +0 -0
  356. package/editions/zh-Hant/tiddlers/images/green_favicon.ico.meta +0 -2
  357. package/plugins/tiddlywiki/qrcode/doc/examples.tid +0 -3
  358. package/plugins/tiddlywiki/qrcode/doc/readme.tid +0 -13
  359. package/plugins/tiddlywiki/upgrade/favicon.ico +0 -0
  360. package/plugins/tiddlywiki/upgrade/favicon.ico.meta +0 -2
  361. /package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.org.ico.meta → tiddlywiki.org.png.meta} +0 -0
  362. /package/plugins/tiddlywiki/qrcode/files/{LICENSE → qrcode/LICENSE} +0 -0
  363. /package/plugins/tiddlywiki/qrcode/files/{README.md → qrcode/README.md} +0 -0
  364. /package/plugins/tiddlywiki/qrcode/files/{qrcode.js → qrcode/qrcode.js} +0 -0
@@ -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: 圖片
@@ -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: 圖片
@@ -547,3 +547,13 @@ Eric Haberstroh, @pille1842, 2023/07/23
547
547
  @catter-fly, 2023/07/27
548
548
 
549
549
  @cmo-pomerium, 2023/08/03
550
+
551
+ BuckarooBanzay, @BuckarooBanzay, 2023/09/01
552
+
553
+ Timur, @T1mL3arn, 2023/10/04
554
+
555
+ Wang Ke, @Gk0Wk, 2023/10/17
556
+
557
+ @frittro, 2023/10/27
558
+
559
+ @etardiff, 2023/12/10
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tiddlywiki",
3
3
  "preferGlobal": "true",
4
- "version": "5.3.1",
4
+ "version": "5.3.2",
5
5
  "author": "Jeremy Ruston <jeremy@jermolene.com>",
6
6
  "description": "a non-linear personal web notebook",
7
7
  "contributors": [
@@ -32,6 +32,9 @@
32
32
  "node": ">=0.8.2"
33
33
  },
34
34
  "scripts": {
35
+ "dev": "node ./tiddlywiki.js ./editions/tw5.com-server --listen",
36
+ "test": "node ./tiddlywiki.js ./editions/test --verbose --version --build index",
37
+ "lint:fix": "eslint . --fix",
35
38
  "lint": "eslint ."
36
39
  }
37
40
  }
@@ -0,0 +1,46 @@
1
+ const { defineConfig, devices } = require('@playwright/test');
2
+
3
+ /**
4
+ * @see https://playwright.dev/docs/test-configuration
5
+ */
6
+ module.exports = defineConfig({
7
+ testDir: './editions/test/',
8
+
9
+ // Allow parallel tests
10
+ fullyParallel: true,
11
+
12
+ // Prevent accidentally committed "test.only" from wrecking havoc
13
+ forbidOnly: !!process.env.CI,
14
+
15
+ // Do not retry tests on failure
16
+ retries: 0,
17
+
18
+ // How many parallel workers
19
+ workers: process.env.CI ? 1 : undefined,
20
+
21
+ // Reporter to use. See https://playwright.dev/docs/test-reporters
22
+ reporter: 'html',
23
+
24
+ // Settings shared with all the tests
25
+ use: {
26
+ // Take a screenshot when the test fails
27
+ screenshot: {
28
+ mode: 'only-on-failure',
29
+ fullPage: true
30
+ }
31
+ },
32
+
33
+ /* Configure projects for major browsers */
34
+ projects: [
35
+ {
36
+ name: 'chromium',
37
+ use: { ...devices['Desktop Chrome'] },
38
+ },
39
+
40
+ {
41
+ name: 'firefox',
42
+ use: { ...devices['Desktop Firefox'] },
43
+ }
44
+ ],
45
+ });
46
+
@@ -56,6 +56,11 @@ name: tiddlywiki
56
56
  rendering-intent: auto;
57
57
  }
58
58
 
59
+ .tc-tiddler-frame .tc-tiddler-editor .tc-edit-texteditor,
60
+ .tc-tiddler-frame .tc-tiddler-editor .tc-tiddler-preview-preview {
61
+ overflow: auto;
62
+ }
63
+
59
64
  .cm-s-tiddlywiki.CodeMirror, .cm-s-tiddlywiki .CodeMirror-gutters { background-color: <<colour tiddler-editor-background>>; color: <<colour foreground>>; }
60
65
  .cm-s-tiddlywiki .CodeMirror-gutters {background: <<colour tiddler-editor-background>>; border-right: 1px solid <<colour tiddler-editor-border>>;}
61
66
  .cm-s-tiddlywiki .CodeMirror-linenumber {color: <<colour foreground>>;}