tiddlywiki 5.1.23 → 5.2.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 (1303) hide show
  1. package/.eslintignore +5 -12
  2. package/.eslintrc.yml +17 -1
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +5 -0
  4. package/.github/workflows/ci.yml +3 -0
  5. package/bin/build-site.sh +2 -2
  6. package/bin/build-tw-org.sh +97 -0
  7. package/bin/optimise-svgs.js +43 -41
  8. package/boot/boot.js +155 -47
  9. package/boot/bootprefix.js +1 -0
  10. package/contributing.md +1 -1
  11. package/core/copyright.tid +1 -1
  12. package/core/images/minus-button.tid +4 -0
  13. package/core/images/plugin-generic-language.tid +1 -1
  14. package/core/images/plugin-generic-plugin.tid +1 -1
  15. package/core/images/plugin-generic-theme.tid +1 -1
  16. package/core/images/plus-button.tid +4 -0
  17. package/core/language/en-GB/ControlPanel.multids +19 -2
  18. package/core/language/en-GB/Docs/ModuleTypes.multids +1 -0
  19. package/core/language/en-GB/EditTemplate.multids +2 -0
  20. package/core/language/en-GB/Fields.multids +4 -3
  21. package/core/language/en-GB/Help/listen.tid +3 -2
  22. package/core/language/en-GB/Help/render.tid +5 -4
  23. package/core/language/en-GB/Help/save.tid +1 -1
  24. package/core/language/en-GB/Import.multids +6 -0
  25. package/core/language/en-GB/Misc.multids +4 -3
  26. package/core/modules/commander.js +1 -1
  27. package/core/modules/commands/fetch.js +1 -1
  28. package/core/modules/commands/init.js +1 -1
  29. package/core/modules/commands/render.js +55 -54
  30. package/core/modules/commands/rendertiddlers.js +1 -1
  31. package/core/modules/commands/savelibrarytiddlers.js +1 -1
  32. package/core/modules/commands/savewikifolder.js +18 -4
  33. package/core/modules/config.js +1 -1
  34. package/core/modules/deserializers.js +102 -89
  35. package/core/modules/editor/engines/framed.js +20 -4
  36. package/core/modules/editor/engines/simple.js +6 -2
  37. package/core/modules/editor/factory.js +85 -12
  38. package/core/modules/editor/operations/text/focus-editor.js +17 -0
  39. package/core/modules/editor/operations/text/insert-text.js +23 -0
  40. package/core/modules/editor/operations/text/wrap-lines.js +5 -3
  41. package/core/modules/filterrunprefixes/cascade.js +53 -0
  42. package/core/modules/filterrunprefixes/filter.js +22 -4
  43. package/core/modules/filterrunprefixes/map.js +46 -0
  44. package/core/modules/filterrunprefixes/reduce.js +19 -19
  45. package/core/modules/filterrunprefixes/sort.js +62 -0
  46. package/core/modules/filters/all.js +3 -3
  47. package/core/modules/filters/backlinks.js +3 -3
  48. package/core/modules/filters/contains.js +1 -1
  49. package/core/modules/filters/crypto.js +27 -0
  50. package/core/modules/filters/deserializers.js +27 -0
  51. package/core/modules/filters/editiondescription.js +1 -1
  52. package/core/modules/filters/encodings.js +3 -13
  53. package/core/modules/filters/field.js +1 -1
  54. package/core/modules/filters/fields.js +1 -1
  55. package/core/modules/filters/filter.js +12 -1
  56. package/core/modules/filters/format/date.js +2 -2
  57. package/core/modules/filters/format/relativedate.js +2 -2
  58. package/core/modules/filters/format/titlelist.js +25 -0
  59. package/core/modules/filters/has.js +1 -1
  60. package/core/modules/filters/insertbefore.js +1 -1
  61. package/core/modules/filters/is/draft.js +3 -3
  62. package/core/modules/filters/links.js +3 -3
  63. package/core/modules/filters/listops.js +14 -1
  64. package/core/modules/filters/lookup.js +29 -6
  65. package/core/modules/filters/math.js +102 -7
  66. package/core/modules/filters/moduleproperty.js +30 -0
  67. package/core/modules/filters/modules.js +16 -4
  68. package/core/modules/filters/prefix.js +30 -12
  69. package/core/modules/filters/range.js +7 -3
  70. package/core/modules/filters/reduce.js +2 -0
  71. package/core/modules/filters/regexp.js +1 -1
  72. package/core/modules/filters/removeprefix.js +16 -6
  73. package/core/modules/filters/removesuffix.js +20 -6
  74. package/core/modules/filters/search.js +1 -0
  75. package/core/modules/filters/sortsub.js +7 -4
  76. package/core/modules/filters/strings.js +26 -14
  77. package/core/modules/filters/suffix.js +32 -10
  78. package/core/modules/filters/tag.js +1 -1
  79. package/core/modules/filters/untagged.js +7 -14
  80. package/core/modules/filters/x-listops.js +5 -5
  81. package/core/modules/filters.js +32 -14
  82. package/core/modules/indexers/field-indexer.js +1 -1
  83. package/core/modules/indexers/tag-indexer.js +2 -2
  84. package/core/modules/info/platform.js +1 -1
  85. package/core/modules/keyboard.js +15 -7
  86. package/core/modules/macros/{uniquetitle.js → unusedtitle.js} +8 -7
  87. package/core/modules/parsers/htmlparser.js +4 -2
  88. package/core/modules/parsers/imageparser.js +1 -0
  89. package/core/modules/parsers/parseutils.js +41 -11
  90. package/core/modules/parsers/wikiparser/rules/commentblock.js +8 -2
  91. package/core/modules/parsers/wikiparser/rules/commentinline.js +1 -1
  92. package/core/modules/parsers/wikiparser/rules/html.js +7 -10
  93. package/core/modules/parsers/wikiparser/rules/import.js +1 -1
  94. package/core/modules/parsers/wikiparser/rules/macrocallblock.js +24 -28
  95. package/core/modules/parsers/wikiparser/rules/macrocallinline.js +17 -27
  96. package/core/modules/parsers/wikiparser/rules/table.js +1 -1
  97. package/core/modules/parsers/wikiparser/wikiparser.js +48 -25
  98. package/core/modules/pluginswitcher.js +1 -1
  99. package/core/modules/saver-handler.js +2 -1
  100. package/core/modules/savers/andtidwiki.js +1 -1
  101. package/core/modules/savers/download.js +1 -1
  102. package/core/modules/savers/gitea.js +3 -3
  103. package/core/modules/savers/github.js +3 -3
  104. package/core/modules/savers/gitlab.js +3 -3
  105. package/core/modules/savers/put.js +6 -3
  106. package/core/modules/savers/tiddlyfox.js +1 -1
  107. package/core/modules/savers/twedit.js +1 -1
  108. package/core/modules/savers/upload.js +15 -3
  109. package/core/modules/server/routes/delete-tiddler.js +1 -1
  110. package/core/modules/server/routes/get-favicon.js +1 -2
  111. package/core/modules/server/routes/get-file.js +21 -17
  112. package/core/modules/server/routes/get-index.js +1 -23
  113. package/core/modules/server/routes/get-login-basic.js +3 -2
  114. package/core/modules/server/routes/get-status.js +1 -2
  115. package/core/modules/server/routes/get-tiddler-html.js +3 -3
  116. package/core/modules/server/routes/get-tiddler.js +2 -3
  117. package/core/modules/server/routes/get-tiddlers-json.js +1 -2
  118. package/core/modules/server/routes/put-tiddler.js +3 -3
  119. package/core/modules/server/server.js +113 -17
  120. package/core/modules/startup/browser-messaging.js +2 -2
  121. package/core/modules/startup/favicon.js +1 -1
  122. package/core/modules/startup/load-modules.js +3 -0
  123. package/core/modules/startup/render.js +8 -3
  124. package/core/modules/startup/rootwidget.js +19 -4
  125. package/core/modules/startup/startup.js +2 -3
  126. package/core/modules/startup/story.js +5 -5
  127. package/core/modules/startup/windows.js +22 -9
  128. package/core/modules/storyviews/classic.js +5 -5
  129. package/core/modules/storyviews/pop.js +3 -3
  130. package/core/modules/storyviews/zoomin.js +3 -3
  131. package/core/modules/syncer.js +2 -6
  132. package/core/modules/tiddler.js +3 -3
  133. package/core/modules/upgraders/plugins.js +1 -1
  134. package/core/modules/upgraders/system.js +5 -6
  135. package/core/modules/utils/crypto.js +2 -2
  136. package/core/modules/utils/csv.js +1 -1
  137. package/core/modules/utils/dom/dom.js +6 -2
  138. package/core/modules/utils/dom/dragndrop.js +33 -10
  139. package/core/modules/utils/dom/http.js +18 -1
  140. package/core/modules/utils/dom/modal.js +3 -2
  141. package/core/modules/utils/dom/popup.js +1 -1
  142. package/core/modules/utils/dom/scroller.js +12 -8
  143. package/core/modules/utils/edition-info.js +1 -5
  144. package/core/modules/{startup/css-escape-polyfill.js → utils/escapecss.js} +17 -27
  145. package/core/modules/utils/fakedom.js +1 -1
  146. package/core/modules/utils/filesystem.js +89 -52
  147. package/core/modules/utils/linked-list.js +143 -57
  148. package/core/modules/utils/logger.js +2 -2
  149. package/core/modules/utils/performance.js +1 -1
  150. package/core/modules/utils/pluginmaker.js +2 -4
  151. package/core/modules/utils/transliterate.js +8 -1
  152. package/core/modules/utils/utils.js +80 -8
  153. package/core/modules/widgets/action-confirm.js +4 -3
  154. package/core/modules/widgets/action-createtiddler.js +12 -5
  155. package/core/modules/widgets/action-deletefield.js +1 -1
  156. package/core/modules/widgets/action-listops.js +6 -11
  157. package/core/modules/widgets/action-log.js +3 -3
  158. package/core/modules/widgets/action-navigate.js +12 -1
  159. package/core/modules/widgets/action-popup.js +3 -1
  160. package/core/modules/widgets/action-sendmessage.js +17 -7
  161. package/core/modules/widgets/action-setmultiplefields.js +86 -0
  162. package/core/modules/widgets/button.js +5 -2
  163. package/core/modules/widgets/codeblock.js +7 -1
  164. package/core/modules/widgets/draggable.js +17 -8
  165. package/core/modules/widgets/droppable.js +2 -2
  166. package/core/modules/widgets/dropzone.js +122 -25
  167. package/core/modules/widgets/edit-bitmap.js +6 -6
  168. package/core/modules/widgets/edit-shortcut.js +3 -3
  169. package/core/modules/widgets/element.js +1 -1
  170. package/core/modules/widgets/entity.js +1 -1
  171. package/core/modules/widgets/eventcatcher.js +52 -23
  172. package/core/modules/widgets/fieldmangler.js +16 -30
  173. package/core/modules/widgets/image.js +15 -5
  174. package/core/modules/widgets/importvariables.js +2 -2
  175. package/core/modules/widgets/jsontiddler.js +91 -0
  176. package/core/modules/widgets/keyboard.js +39 -20
  177. package/core/modules/widgets/let.js +96 -0
  178. package/core/modules/widgets/link.js +9 -2
  179. package/core/modules/widgets/linkcatcher.js +4 -4
  180. package/core/modules/widgets/list.js +65 -26
  181. package/core/modules/widgets/log.js +1 -1
  182. package/core/modules/widgets/macrocall.js +1 -1
  183. package/core/modules/widgets/messagecatcher.js +110 -0
  184. package/core/modules/widgets/navigator.js +41 -41
  185. package/core/modules/widgets/radio.js +14 -5
  186. package/core/modules/widgets/raw.js +1 -1
  187. package/core/modules/widgets/reveal.js +4 -4
  188. package/core/modules/widgets/scrollable.js +32 -30
  189. package/core/modules/widgets/select.js +1 -1
  190. package/core/modules/widgets/setmultiplevariables.js +81 -0
  191. package/core/modules/widgets/setvariable.js +2 -2
  192. package/core/modules/widgets/text.js +1 -1
  193. package/core/modules/widgets/tiddler.js +1 -1
  194. package/core/modules/widgets/transclude.js +9 -2
  195. package/core/modules/widgets/vars.js +3 -5
  196. package/core/modules/widgets/view.js +10 -3
  197. package/core/modules/widgets/widget.js +89 -35
  198. package/core/modules/widgets/wikify.js +1 -1
  199. package/core/modules/wiki-bulkops.js +20 -15
  200. package/core/modules/wiki.js +213 -89
  201. package/core/palettes/Blanca.tid +1 -0
  202. package/core/palettes/Blue.tid +1 -0
  203. package/core/palettes/BrightMute.tid +1 -0
  204. package/core/palettes/ContrastDark.tid +1 -0
  205. package/core/palettes/ContrastLight.tid +1 -0
  206. package/core/palettes/CupertinoDark.tid +1 -0
  207. package/core/palettes/DarkPhotos.tid +1 -0
  208. package/core/palettes/DesertSand.tid +1 -0
  209. package/core/palettes/GruvBoxDark.tid +1 -0
  210. package/core/palettes/Nord.tid +1 -0
  211. package/core/palettes/Rocker.tid +1 -0
  212. package/core/palettes/SolarFlare.tid +1 -0
  213. package/core/palettes/SolarizedDark.tid +1 -0
  214. package/core/palettes/SolarizedLight.tid +1 -0
  215. package/core/palettes/SpartanDay.tid +1 -0
  216. package/core/palettes/SpartanNight.tid +1 -0
  217. package/core/palettes/Twilight.tid +1 -0
  218. package/core/palettes/Vanilla.tid +1 -0
  219. package/core/templates/external-js/save-all-external-js.tid +1 -0
  220. package/core/templates/external-js/save-offline-external-js.tid +8 -0
  221. package/core/templates/external-js/tiddlywiki.js.tiddlers.tid +4 -0
  222. package/core/templates/external-js/tiddlywiki5-external-js.html.tid +3 -2
  223. package/core/templates/html-div-tiddler.tid +1 -1
  224. package/core/templates/html-json-skinny-tiddler.tid +4 -0
  225. package/core/templates/html-json-tiddler.tid +3 -0
  226. package/core/templates/save-lazy-images.tid +1 -1
  227. package/core/templates/store.area.template.html.tid +35 -12
  228. package/core/templates/tiddlywiki5.html.tid +1 -1
  229. package/core/ui/Components/plugin-info.tid +57 -55
  230. package/core/ui/Components/tag-link.tid +1 -1
  231. package/core/ui/ControlPanel/Cascades/EditTemplateBody.tid +9 -0
  232. package/core/ui/ControlPanel/Cascades/FieldEditor.tid +9 -0
  233. package/core/ui/ControlPanel/Cascades/StoryTiddler.tid +9 -0
  234. package/core/ui/ControlPanel/Cascades/TiddlerColour.tid +9 -0
  235. package/core/ui/ControlPanel/Cascades/TiddlerIcon.tid +9 -0
  236. package/core/ui/ControlPanel/Cascades/ViewTemplateBody.tid +9 -0
  237. package/core/ui/ControlPanel/Cascades/ViewTemplateTitle.tid +9 -0
  238. package/core/ui/ControlPanel/Cascades.tid +9 -0
  239. package/core/ui/ControlPanel/Plugins/Installed/Languages.tid +1 -0
  240. package/core/ui/ControlPanel/Plugins/Installed/Plugins.tid +1 -0
  241. package/core/ui/ControlPanel/Plugins/Installed/Themes.tid +1 -0
  242. package/core/ui/ControlPanel/Plugins.tid +1 -1
  243. package/core/ui/ControlPanel/Saving/GitHub.tid +1 -1
  244. package/core/ui/ControlPanel/Saving/TiddlySpot.tid +0 -2
  245. package/core/ui/EditTemplate/Preview/diffs-current.tid +1 -1
  246. package/core/ui/EditTemplate/Preview/diffs-shadow.tid +1 -1
  247. package/core/ui/EditTemplate/body/canonical-uri.tid +13 -0
  248. package/core/ui/EditTemplate/body/default.tid +38 -0
  249. package/core/ui/EditTemplate/body-editor.tid +10 -1
  250. package/core/ui/EditTemplate/body-toolbar-button.tid +8 -6
  251. package/core/ui/EditTemplate/body.tid +1 -47
  252. package/core/ui/EditTemplate/fieldEditor-default.tid +3 -0
  253. package/core/ui/EditTemplate/fields.tid +7 -5
  254. package/core/ui/EditTemplate/tags.tid +3 -3
  255. package/core/ui/EditTemplate/title.tid +1 -1
  256. package/core/ui/EditTemplate/type.tid +2 -2
  257. package/core/ui/EditTemplate.tid +2 -2
  258. package/core/ui/EditorToolbar/file-import.tid +41 -0
  259. package/core/ui/EditorToolbar/link-dropdown.tid +1 -1
  260. package/core/ui/EditorToolbar/preview.tid +4 -4
  261. package/core/ui/EditorToolbar/stamp-dropdown-item-template.tid +53 -0
  262. package/core/ui/EditorToolbar/stamp-dropdown.tid +1 -43
  263. package/core/ui/EditorToolbar/stamp.tid +1 -0
  264. package/core/ui/ExportTiddlyWikiCore.tid +22 -0
  265. package/core/ui/ImportListing.tid +20 -1
  266. package/core/ui/ListTaggedCascade.tid +14 -0
  267. package/core/ui/MoreSideBar/plugins/Languages.tid +1 -1
  268. package/core/ui/MoreSideBar/plugins/Plugins.tid +1 -1
  269. package/core/ui/MoreSideBar/plugins/Theme.tid +1 -1
  270. package/core/ui/PageControls/advanced-search.tid +1 -0
  271. package/core/ui/PageControls/closeall.tid +4 -1
  272. package/core/ui/PageControls/controlpanel.tid +1 -0
  273. package/core/ui/PageControls/encryption.tid +6 -2
  274. package/core/ui/PageControls/export-tiddlywikicore.tid +22 -0
  275. package/core/ui/PageControls/fold-all.tid +4 -1
  276. package/core/ui/PageControls/full-screen.tid +4 -1
  277. package/core/ui/PageControls/home.tid +4 -1
  278. package/core/ui/PageControls/import.tid +4 -1
  279. package/core/ui/PageControls/language.tid +0 -1
  280. package/core/ui/PageControls/manager.tid +4 -1
  281. package/core/ui/PageControls/more-page-actions.tid +4 -1
  282. package/core/ui/PageControls/new-image.tid +3 -1
  283. package/core/ui/PageControls/new-journal.tid +4 -1
  284. package/core/ui/PageControls/newtiddler.tid +3 -1
  285. package/core/ui/PageControls/palette.tid +0 -1
  286. package/core/ui/PageControls/print.tid +4 -1
  287. package/core/ui/PageControls/refresh.tid +4 -1
  288. package/core/ui/PageControls/savewiki.tid +4 -1
  289. package/core/ui/PageControls/storyview.tid +0 -1
  290. package/core/ui/PageControls/tag-button.tid +4 -1
  291. package/core/ui/PageControls/theme.tid +0 -1
  292. package/core/ui/PageControls/timestamp.tid +6 -2
  293. package/core/ui/PageControls/unfold-all.tid +4 -1
  294. package/core/ui/PageTemplate/story.tid +1 -1
  295. package/core/ui/PaletteManager.tid +1 -1
  296. package/core/ui/PluginListItemTemplate.tid +13 -3
  297. package/core/ui/SideBar/Open.tid +2 -2
  298. package/core/ui/StoryTiddlerTemplate.tid +3 -0
  299. package/core/ui/TagPickerTagTemplate.tid +3 -3
  300. package/core/ui/TagTemplate.tid +2 -2
  301. package/core/ui/TiddlerIcon.tid +8 -0
  302. package/core/ui/ViewTemplate/body/blank.tid +3 -0
  303. package/core/ui/ViewTemplate/body/code.tid +3 -0
  304. package/core/ui/ViewTemplate/body/default.tid +7 -0
  305. package/core/ui/ViewTemplate/{import.tid → body/import.tid} +9 -3
  306. package/core/ui/ViewTemplate/body/plugin.tid +10 -0
  307. package/core/ui/ViewTemplate/body.tid +1 -9
  308. package/core/ui/ViewTemplate/title/default.tid +6 -0
  309. package/core/ui/ViewTemplate/title/system.tid +6 -0
  310. package/core/ui/ViewTemplate/title.tid +6 -22
  311. package/core/ui/ViewTemplate.tid +6 -1
  312. package/core/ui/ViewToolbar/clone.tid +0 -1
  313. package/core/ui/ViewToolbar/close-others.tid +0 -1
  314. package/core/ui/ViewToolbar/edit.tid +0 -1
  315. package/core/ui/ViewToolbar/fold-others.tid +0 -1
  316. package/core/ui/ViewToolbar/fold.tid +0 -2
  317. package/core/ui/ViewToolbar/info.tid +1 -0
  318. package/core/ui/ViewToolbar/more-tiddler-actions.tid +0 -1
  319. package/core/ui/ViewToolbar/new-here.tid +1 -0
  320. package/core/ui/ViewToolbar/new-journal-here.tid +1 -0
  321. package/core/ui/ViewToolbar/open-window.tid +0 -1
  322. package/core/ui/ViewToolbar/permalink.tid +0 -1
  323. package/core/ui/ViewToolbar/permaview.tid +0 -1
  324. package/core/wiki/allfields.tid +1 -1
  325. package/core/wiki/config/EditTabIndex.tid +1 -2
  326. package/core/wiki/config/EditTemplateBodyFilters.multids +5 -0
  327. package/core/wiki/config/EditorEnableImportFilter.tid +4 -0
  328. package/core/wiki/config/EditorImportContentTypesFilter.tid +4 -0
  329. package/core/wiki/config/FieldEditorFilters.multids +4 -0
  330. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  331. package/core/wiki/config/StoryTiddlerTemplateFilters.multids +5 -0
  332. package/core/wiki/config/TiddlerColourFilters.multids +5 -0
  333. package/core/wiki/config/TiddlerIconFilters.multids +5 -0
  334. package/core/wiki/config/ViewTemplateBodyFilters.multids +9 -0
  335. package/core/wiki/config/ViewTemplateTitleFilters.multids +5 -0
  336. package/core/wiki/config/shortcuts/shortcuts-mac.multids +0 -2
  337. package/core/wiki/config/shortcuts/shortcuts.multids +2 -2
  338. package/core/wiki/debugstylesheets.tid +9 -0
  339. package/core/wiki/macros/export.tid +6 -6
  340. package/core/wiki/macros/list.tid +2 -2
  341. package/core/wiki/macros/tag.tid +4 -2
  342. package/core/wiki/peek-stylesheets.tid +3 -0
  343. package/core/wiki/tags/ControlPanelPlugins.tid +1 -1
  344. package/core/wiki/tags/EditTemplateBodyFilter.tid +2 -0
  345. package/core/wiki/tags/StoryTiddlerTemplateFilter.tid +2 -0
  346. package/core/wiki/tags/TiddlerColourFilter.tid +3 -0
  347. package/core/wiki/tags/TiddlerIconFilter.tid +3 -0
  348. package/core/wiki/tags/ViewTemplateBodyFilter.tid +3 -0
  349. package/core/wiki/tags/ViewTemplateTitleFilter.tid +3 -0
  350. package/core/wiki/title.tid +4 -1
  351. package/core/wiki/viewswitcher.tid +2 -2
  352. package/editions/dev/tiddlers/HelloThere.tid +3 -1
  353. package/editions/dev/tiddlers/from Heigele and Jurke/Data-Storage.tid +1 -9
  354. package/editions/dev/tiddlers/from Heigele and Jurke/Syncadaptor.tid +2 -2
  355. package/editions/dev/tiddlers/from tw5.com/moduletypes/SyncAdaptorModules.tid +1 -1
  356. package/editions/dev/tiddlers/from tw5.com/moduletypes/WikiRuleModules.tid +6 -5
  357. package/editions/dev/tiddlers/new/Data Storage in Single File TiddlyWiki.tid +100 -0
  358. package/editions/dev/tiddlers/new/Data Storage.tid +10 -0
  359. package/editions/dev/tiddlers/new/Hook_ th-before-importing.tid +68 -0
  360. package/editions/dev/tiddlers/new/Hook_ th-closing-tiddler.tid +20 -0
  361. package/editions/dev/tiddlers/new/Hook__th-importing-tiddler.tid +3 -1
  362. package/editions/dev/tiddlers/new/ParserSubclassingMechanism.tid +42 -0
  363. package/editions/dev/tiddlers/new/TiddlyWiki Drag and Drop Interop.tid +15 -0
  364. package/editions/dev/tiddlers/new/dragndropinterop.html +35 -0
  365. package/editions/dev/tiddlers/new/dragndropinterop.html.meta +3 -0
  366. package/editions/dev/tiddlers/new/save-dragndropinterop.tid +3 -0
  367. package/editions/dynaviewdemo/tiddlers/SideBar-Open.tid +1 -1
  368. package/editions/dynaviewdemo/tiddlers/ViewTemplate.tid +4 -7
  369. package/editions/es-ES/tiddlers/Page_and_tiddler_layout_customisation.tid +1 -1
  370. package/editions/fr-FR/output/images/Blurry%20Lawn.jpg +0 -0
  371. package/editions/fr-FR/output/images/Newnham%20Horizon.jpg +0 -0
  372. package/editions/fr-FR/output/index.html +5051 -0
  373. package/editions/fr-FR/output/text/Alice%20in%20Wonderland.tid +3709 -0
  374. package/editions/fr-FR/tiddlers/$ _config_ViewTemplateTitleFilters_fr-default.tid +7 -0
  375. package/editions/fr-FR/tiddlers/$ _core_ui_ViewTemplate_title_fr-default.tid +8 -0
  376. package/editions/fr-FR/tiddlers/$__deprecated.tid +9 -0
  377. package/editions/fr-FR/tiddlers/$__editions_fr-FR_util-macros.tid +1 -0
  378. package/editions/fr-FR/tiddlers/$__editions_tw5.com_doc-macros.tid +69 -5
  379. package/editions/fr-FR/tiddlers/$__editions_tw5.com_version-macros.tid +15 -0
  380. package/editions/fr-FR/tiddlers/$__editions_tw5.com_wikitext-macros.tid +2 -2
  381. package/editions/fr-FR/tiddlers/Block_Quotes_in_WikiText.tid +15 -8
  382. package/editions/fr-FR/tiddlers/CamelCase.tid +6 -3
  383. package/editions/fr-FR/tiddlers/Code Blocks in WikiText.tid +27 -16
  384. package/editions/fr-FR/tiddlers/Community Links Aggregator.tid +11 -0
  385. package/editions/fr-FR/tiddlers/Community.tid +6 -4
  386. package/editions/fr-FR/tiddlers/Creating and editing tiddlers.tid +11 -11
  387. package/editions/fr-FR/tiddlers/Deprecated - What does it mean.tid +17 -0
  388. package/editions/fr-FR/tiddlers/Developers.tid +10 -5
  389. package/editions/fr-FR/tiddlers/Federatial.tid +11 -0
  390. package/editions/fr-FR/tiddlers/Formatting in WikiText.tid +12 -12
  391. package/editions/fr-FR/tiddlers/Forums.tid +27 -13
  392. package/editions/fr-FR/tiddlers/GettingStarted.tid +16 -14
  393. package/editions/fr-FR/tiddlers/Glossaire en-GB -_ fr-FR.tid +3 -1
  394. package/editions/fr-FR/tiddlers/HTML in WikiText.tid +77 -28
  395. package/editions/fr-FR/tiddlers/Headings in WikiText.tid +2 -2
  396. package/editions/fr-FR/tiddlers/HelloThere.tid +15 -12
  397. package/editions/fr-FR/tiddlers/HelloThumbnail - Latest Version.tid +1 -1
  398. package/editions/fr-FR/tiddlers/How to export tiddlers.tid +31 -0
  399. package/editions/fr-FR/tiddlers/ImageWidget.tid +33 -0
  400. package/editions/fr-FR/tiddlers/Images in WikiText.tid +69 -0
  401. package/editions/fr-FR/tiddlers/Importing Tiddlers.tid +26 -0
  402. package/editions/fr-FR/tiddlers/JeremyRuston.tid +9 -9
  403. package/editions/fr-FR/tiddlers/Linking in WikiText.tid +108 -19
  404. package/editions/fr-FR/tiddlers/ListField.tid +6 -6
  405. package/editions/fr-FR/tiddlers/Macros in WikiText.tid +5 -5
  406. package/editions/fr-FR/tiddlers/Macros.tid +17 -8
  407. package/editions/fr-FR/tiddlers/Page and tiddler layout customisation.tid +1 -1
  408. package/editions/fr-FR/tiddlers/PermaLinks.tid +19 -19
  409. package/editions/fr-FR/tiddlers/Philosophy of Tiddlers.tid +2 -2
  410. package/editions/fr-FR/tiddlers/Saving.tid +63 -4
  411. package/editions/fr-FR/tiddlers/Share Plugin.tid +15 -0
  412. package/editions/fr-FR/tiddlers/{Sharing_a_TiddlyWiki_on_Dropbox.tid → Sharing a TiddlyWiki on Dropbox.tid } +12 -4
  413. package/editions/fr-FR/tiddlers/Sharing your tiddlers with others.tid +18 -0
  414. package/editions/fr-FR/tiddlers/Structuring TiddlyWiki.tid +6 -6
  415. package/editions/fr-FR/tiddlers/Styles and Classes in WikiText.tid +11 -10
  416. package/editions/fr-FR/tiddlers/Tagging.tid +24 -18
  417. package/editions/fr-FR/tiddlers/TaskManagementExample.tid +3 -1
  418. package/editions/fr-FR/tiddlers/TiddlerLinks.tid +5 -5
  419. package/editions/fr-FR/tiddlers/TiddlyFox Apocalypse.tid +46 -0
  420. package/editions/fr-FR/tiddlers/TiddlyFox.tid +6 -3
  421. package/editions/fr-FR/tiddlers/TiddlyWiki.tid +6 -4
  422. package/editions/fr-FR/tiddlers/_TiddlyWiki for Scholars_ by Alberto Molina.tid +2 -2
  423. package/editions/innerwikidemo/tiddlywiki.info +2 -1
  424. package/editions/introduction/tiddlers/slides/TiddlyWiki.tid +1 -1
  425. package/editions/introduction/tiddlywiki.info +8 -1
  426. package/editions/prerelease/tiddlers/{Release 5.1.24.tid → Release 5.2.3.tid } +44 -12
  427. package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
  428. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  429. package/editions/prerelease/tiddlers/system/download-empty.tid +10 -0
  430. package/editions/server-external-js/tiddlywiki.info +7 -4
  431. package/editions/test/tiddlers/tests/data/deserializers/case 1.tid +4 -0
  432. package/editions/test/tiddlers/tests/data/deserializers/case 2.tid +12 -0
  433. package/editions/test/tiddlers/tests/data/deserializers/case 3.tid +18 -0
  434. package/editions/test/tiddlers/tests/data/deserializers/case 4.tid +19 -0
  435. package/editions/test/tiddlers/tests/data/deserializers/case 5.tid +20 -0
  436. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal-all.tid +33 -0
  437. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal.tid +43 -0
  438. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-vertical.tid +43 -0
  439. package/editions/test/tiddlers/tests/test-action-widgets.js +55 -0
  440. package/editions/test/tiddlers/tests/test-deserializers.js +39 -0
  441. package/editions/test/tiddlers/tests/test-filters.js +1018 -753
  442. package/editions/test/tiddlers/tests/test-html-parser.js +33 -12
  443. package/editions/test/tiddlers/tests/test-linked-list.js +182 -66
  444. package/editions/test/tiddlers/tests/test-parsetextreference.js +132 -0
  445. package/editions/test/tiddlers/tests/test-prefixes-filter.js +319 -5
  446. package/editions/test/tiddlers/tests/test-tags.js +19 -0
  447. package/editions/test/tiddlers/tests/test-utils.js +10 -0
  448. package/editions/test/tiddlers/tests/test-widget.js +189 -0
  449. package/editions/test/tiddlers/tests/test-wikitext-parser.js +140 -20
  450. package/editions/test/tiddlers/tests/test-wikitext-tabs-macro.js +86 -0
  451. package/editions/tw.org/tiddlers/$__DefaultTiddlers.tid +6 -0
  452. package/editions/tw.org/tiddlers/$__SiteSubtitle.tid +6 -0
  453. package/editions/tw.org/tiddlers/$__SiteTitle.tid +6 -0
  454. package/editions/tw.org/tiddlers/$__StoryList.tid +3 -0
  455. package/editions/tw.org/tiddlers/$__favicon.ico.png +0 -0
  456. package/editions/tw.org/tiddlers/$__favicon.ico.png.meta +4 -0
  457. package/editions/tw.org/tiddlers/$__palette.tid +6 -0
  458. package/editions/tw.org/tiddlers/$__palettes_BlueFlavour +165 -0
  459. package/editions/tw.org/tiddlers/$__palettes_BlueFlavour.meta +8 -0
  460. package/editions/tw.org/tiddlers/$__palettes_FlowingSun +165 -0
  461. package/editions/tw.org/tiddlers/$__palettes_FlowingSun.meta +8 -0
  462. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_bodyfontsize.tid +6 -0
  463. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_bodylineheight.tid +6 -0
  464. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_sidebarwidth.tid +6 -0
  465. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +6 -0
  466. package/editions/tw.org/tiddlers/HelloThere.tid +14 -0
  467. package/editions/tw.org/tiddlers/Table of Contents.tid +11 -0
  468. package/editions/tw.org/tiddlers/TiddlyWiki.tid +8 -0
  469. package/editions/tw.org/tiddlywiki.info +30 -0
  470. package/editions/tw5.com/tiddlers/$__StoryList.tid +5 -0
  471. package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +1 -1
  472. package/editions/tw5.com/tiddlers/{License.tid → about/License.tid} +0 -0
  473. package/editions/tw5.com/tiddlers/commands/NamedCommandParameters.tid +2 -2
  474. package/editions/tw5.com/tiddlers/community/Community Editions.tid +24 -0
  475. package/editions/tw5.com/tiddlers/community/Community Links Aggregator.tid +10 -0
  476. package/editions/tw5.com/tiddlers/community/Community Palettes.tid +24 -0
  477. package/editions/tw5.com/tiddlers/community/Community Plugins.tid +24 -0
  478. package/editions/tw5.com/tiddlers/community/Community Themes.tid +24 -0
  479. package/editions/tw5.com/tiddlers/community/Community.tid +5 -3
  480. package/editions/tw5.com/tiddlers/community/Contributing.tid +49 -13
  481. package/editions/tw5.com/tiddlers/community/Contributor License Agreement.tid +3 -3
  482. package/editions/tw5.com/tiddlers/community/Forums.tid +16 -13
  483. package/editions/tw5.com/tiddlers/community/Other Resources.tid +24 -0
  484. package/editions/tw5.com/tiddlers/community/Signing the Contributor License Agreement.tid +2 -2
  485. package/editions/tw5.com/tiddlers/community/TW Icons by morosanuae.tid +9 -0
  486. package/editions/tw5.com/tiddlers/community/TiddlyWiki Hangouts.tid +2 -2
  487. package/editions/tw5.com/tiddlers/community/editions/Drift by Tony K.tid +17 -0
  488. package/editions/tw5.com/tiddlers/community/editions/Stroll by David Gifford.tid +18 -0
  489. package/editions/tw5.com/tiddlers/community/editions/TiddlyResearch by Kebi.tid +25 -0
  490. package/editions/tw5.com/tiddlers/community/{resources → editions}/_Cardo-A Task and Project Management Wiki_ by David_Szego.tid +2 -2
  491. package/editions/tw5.com/tiddlers/community/{resources → editions}/_Noteself_ by Danielo Rodriguez.tid +2 -2
  492. package/editions/tw5.com/tiddlers/community/examples/PETTIL.tid +1 -1
  493. package/editions/tw5.com/tiddlers/community/examples/Reveal.js by Devin Weaver.tid +2 -2
  494. package/editions/tw5.com/tiddlers/community/{resources → examples}/_Lucky Sushi_ online shop by sini-Kit.tid +3 -3
  495. package/editions/tw5.com/tiddlers/community/palettes/Dracula for tiddlywiki.tid +22 -0
  496. package/editions/tw5.com/tiddlers/community/palettes/palletes by JD.tid +20 -0
  497. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Ace Editor Plugin by Joerg Plewe.tid +2 -2
  498. package/editions/tw5.com/tiddlers/community/{resources → plugins}/BJHacks.tid +2 -2
  499. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Disqus comments plugin by bimlas.tid +2 -2
  500. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Encrypt single tiddler plugin.tid +2 -2
  501. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Eucalys Tiddly World.tid +4 -3
  502. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Favorites by Mohammad.tid +1 -1
  503. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Full Text Search Plugin by Rob Hoelz.tid +2 -2
  504. package/editions/tw5.com/tiddlers/community/{resources → plugins}/GSD5.tid +3 -3
  505. package/editions/tw5.com/tiddlers/community/{resources → plugins}/IndexedDB Plugin by Andreas Abeck.tid +2 -2
  506. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Json Mangler plugin by Joshua Fontany.tid +3 -2
  507. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Kin filter operator by bimlas.tid +2 -2
  508. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Kookma Plugin Library by Mohammad.tid +1 -1
  509. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Leaflet_maps_plugin_by_Sylvain_Comte.tid +2 -2
  510. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Locator plugin by bimlas.tid +2 -2
  511. package/editions/tw5.com/tiddlers/community/{resources → plugins}/MathJax Plugin by Martin Kantor.tid +2 -2
  512. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Plugins by TheDiveO.tid +2 -2
  513. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Refnotes by Mohammad.tid +4 -4
  514. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Searchwikis by Mohammad.tid +2 -2
  515. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Shiraz by Mohammad.tid +2 -2
  516. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Slider by Mohammad.tid +1 -1
  517. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tiddler Commander by Mohammad.tid +1 -1
  518. package/editions/tw5.com/tiddlers/community/plugins/TiddlyClip by buggyjay.tid +14 -0
  519. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyMap by Felix Kuppers.tid +2 -2
  520. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyWiki for Scholars.tid +2 -2
  521. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tiddlyshow by Mohammad.tid +1 -1
  522. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Timelines by Mohammad.tid +1 -1
  523. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tinka by Andreas Hahn.tid +2 -2
  524. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Todolist by Mohammad.tid +1 -1
  525. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Trashbin by Mohammad.tid +1 -1
  526. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Utility by Mohammad.tid +1 -1
  527. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_JD Mobile Layout plugin_ by JD.tid +2 -2
  528. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Mal's Sandbox_ by Mal.tid +2 -2
  529. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_SK_Plugins_ by Stephen Kimmel.tid +2 -2
  530. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Slides and Stories_ by Jan.tid +2 -2
  531. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_TW5-TeXZilla_ plugin by Joe Renes.tid +2 -2
  532. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Tekan_ Kanban that stays with you_ by Riz.tid +2 -2
  533. package/editions/tw5.com/tiddlers/community/{resources → plugins}/datepicker based on Pikaday.tid +2 -2
  534. package/editions/tw5.com/tiddlers/community/{resources → plugins}/rboue's plugins for TiddlyWiki.tid +2 -2
  535. package/editions/tw5.com/tiddlers/community/{resources → plugins}/vis.js Timeline.tid +2 -2
  536. package/editions/tw5.com/tiddlers/community/resources/BrainTest.tid +2 -2
  537. package/editions/tw5.com/tiddlers/community/resources/Code styles and auto format settings for IDEs.tid +2 -2
  538. package/editions/tw5.com/tiddlers/community/resources/CouchDB Adaptor.tid +2 -2
  539. package/editions/tw5.com/tiddlers/community/resources/Filter Examples by Tobias Beer.tid +2 -2
  540. package/editions/tw5.com/tiddlers/community/resources/Font Awesome 5 Free SVGs for TiddlyWiki by morosanuae.tid +2 -2
  541. package/editions/tw5.com/tiddlers/community/resources/Gospel_Bubbles_by_Rev_David_Gifford.tid +2 -2
  542. package/editions/tw5.com/tiddlers/community/resources/Grok TiddlyWiki by Soren Bjornstad.tid +16 -0
  543. package/editions/tw5.com/tiddlers/community/resources/Heeg.ru.tid +2 -2
  544. package/editions/tw5.com/tiddlers/community/resources/Projectify by Nicolas Petton.tid +20 -0
  545. package/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid +2 -2
  546. package/editions/tw5.com/tiddlers/community/resources/SeeAlso by Matias Goldman.tid +2 -2
  547. package/editions/tw5.com/tiddlers/community/resources/Semantic Colors by Mohammad.tid +2 -2
  548. package/editions/tw5.com/tiddlers/community/resources/TB5 a pocket full of tips by Tobias Beer.tid +2 -2
  549. package/editions/tw5.com/tiddlers/community/resources/TW-Scripts by Mohammad.tid +2 -2
  550. package/editions/tw5.com/tiddlers/community/resources/TW5 Magick.tid +2 -2
  551. package/editions/tw5.com/tiddlers/community/resources/TW5-SingleExecutable_by_Jed_Carty.tid +2 -2
  552. package/editions/tw5.com/tiddlers/community/resources/TW5-firebase_ TiddlyWiki5 for Google Firebase by Peter Neumark.tid +27 -0
  553. package/editions/tw5.com/tiddlers/community/resources/TWCommunitySearch.tid +2 -2
  554. package/editions/tw5.com/tiddlers/community/resources/TWaddle by Matias Goldman.tid +1 -1
  555. package/editions/tw5.com/tiddlers/community/resources/TiddlyChrome by Arlen Beiler.tid +2 -2
  556. package/editions/tw5.com/tiddlers/community/resources/TiddlyDrive Add-on for Google Drive by Joshua Stubbs.tid +4 -4
  557. package/editions/tw5.com/tiddlers/community/resources/TiddlyServer by Arlen Beiler.tid +2 -2
  558. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Notes.tid +2 -2
  559. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Posts.tid +2 -2
  560. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Video Tutorials by Francis Meetze.tid +2 -2
  561. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for Sublime Text 3 by roma0104.tid +2 -2
  562. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for ViM.tid +2 -2
  563. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki guide FR.tid +2 -2
  564. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki wu.tid +2 -2
  565. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Playground.tid +2 -2
  566. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Squared by Iannis Zannos.tid +2 -2
  567. package/editions/tw5.com/tiddlers/community/resources/Twexe_ Single File Tiddlywiki5 executable.tid +2 -2
  568. package/editions/tw5.com/tiddlers/community/resources/Widdly by Opennota.tid +2 -2
  569. package/editions/tw5.com/tiddlers/community/resources/Wikilabs by PMario.tid +3 -3
  570. package/editions/tw5.com/tiddlers/community/resources/Wills QnD gTD.tid +2 -2
  571. package/editions/tw5.com/tiddlers/community/resources/_ATWiki_ by Lamusia Project.tid +2 -2
  572. package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +2 -2
  573. package/editions/tw5.com/tiddlers/community/resources/_Dynamic Tables_ by Jed Carty.tid +2 -2
  574. package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +3 -2
  575. package/editions/tw5.com/tiddlers/community/resources/_In My Socks_ by Jed Carty.tid +2 -2
  576. package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +3 -2
  577. package/editions/tw5.com/tiddlers/community/resources/_TWeb.at_ by Mario Pietsch.tid +2 -2
  578. package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +6 -3
  579. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Knowledge Network_ by Dmitry Sokolov.tid +2 -2
  580. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Toolmap_ by David Gifford.tid +2 -2
  581. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Bourbon_ from mkt_memory.tid +2 -2
  582. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Forum on Reddit_ by Riz.tid +2 -2
  583. package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +2 -2
  584. package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +2 -2
  585. package/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid +2 -2
  586. package/editions/tw5.com/tiddlers/community/resources/_muritest_ by Simon Huber.tid +2 -2
  587. package/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +2 -2
  588. package/editions/tw5.com/tiddlers/community/resources/twproxy by Steve Gattuso.tid +2 -2
  589. package/editions/tw5.com/tiddlers/community/themes/Mono theme by JD.tid +11 -0
  590. package/editions/tw5.com/tiddlers/community/themes/Notebook theme by Nicolas Petton.tid +19 -0
  591. package/editions/tw5.com/tiddlers/community/themes/Whitespace a negative-spacious webapp-nostalgic theme by JD.tid +11 -0
  592. package/editions/tw5.com/tiddlers/community/{resources → themes}/_Ghostwriter theme by Rory Gibson_ by Riz.tid +2 -2
  593. package/editions/tw5.com/tiddlers/community/{resources → themes}/_Moments-A little color won't hurt_ by Riz.tid +2 -2
  594. package/editions/tw5.com/tiddlers/community/{resources → tutorials}/GitHub Saver Tutorial by Mohammad.tid +2 -2
  595. package/editions/tw5.com/tiddlers/concepts/Cascades.tid +48 -0
  596. package/editions/tw5.com/tiddlers/concepts/Concepts.tid +5 -3
  597. package/editions/tw5.com/tiddlers/concepts/Customizing EditTemplate Field Rendering.tid +31 -0
  598. package/editions/tw5.com/tiddlers/concepts/Edit Template Body Cascade.tid +16 -0
  599. package/editions/tw5.com/tiddlers/concepts/Field Editor Cascade.tid +17 -0
  600. package/editions/tw5.com/tiddlers/concepts/Filters.tid +15 -10
  601. package/editions/tw5.com/tiddlers/concepts/Macros.tid +1 -3
  602. package/editions/tw5.com/tiddlers/concepts/Messages.tid +2 -2
  603. package/editions/tw5.com/tiddlers/concepts/ModuleType.tid +2 -2
  604. package/editions/tw5.com/tiddlers/concepts/Order of Tagged Tiddlers.tid +1 -1
  605. package/editions/tw5.com/tiddlers/concepts/PermaLinks.tid +2 -2
  606. package/editions/tw5.com/tiddlers/concepts/Pragma.tid +2 -2
  607. package/editions/tw5.com/tiddlers/concepts/Railroad Diagrams.tid +2 -1
  608. package/editions/tw5.com/tiddlers/concepts/ShadowTiddlers.tid +14 -3
  609. package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template Cascade.tid +16 -0
  610. package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template.tid +13 -0
  611. package/editions/tw5.com/tiddlers/concepts/SystemTags.tid +9 -9
  612. package/editions/tw5.com/tiddlers/concepts/TagTiddlers.tid +1 -1
  613. package/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid +16 -0
  614. package/editions/tw5.com/tiddlers/concepts/Tiddler Icon Cascade.tid +16 -0
  615. package/editions/tw5.com/tiddlers/concepts/TiddlerFields.tid +2 -1
  616. package/editions/tw5.com/tiddlers/concepts/View Template Body Cascade.tid +19 -0
  617. package/editions/tw5.com/tiddlers/concepts/View Template Title Cascade.tid +16 -0
  618. package/editions/tw5.com/tiddlers/customising/Alternative page layouts.tid +1 -1
  619. package/editions/tw5.com/tiddlers/customising/Creating new toolbar buttons.tid +35 -0
  620. package/editions/tw5.com/tiddlers/customising/Customise TiddlyWiki.tid +3 -3
  621. package/editions/tw5.com/tiddlers/customising/Customising TiddlyWiki's user interface.tid +75 -0
  622. package/editions/tw5.com/tiddlers/definitions/BT.tid +3 -2
  623. package/editions/tw5.com/tiddlers/definitions/MathML.tid +2 -2
  624. package/editions/tw5.com/tiddlers/definitions/Osmosoft.tid +3 -2
  625. package/editions/tw5.com/tiddlers/definitions/node-webkit.tid +2 -1
  626. package/editions/tw5.com/tiddlers/demonstrations/Alice in Wonderland.tid +1 -1
  627. package/editions/tw5.com/tiddlers/demonstrations/Apple.tid +7 -2
  628. package/editions/tw5.com/tiddlers/demonstrations/Caruso - Ave Maria.tid +1 -0
  629. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid +10 -0
  630. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Styles.tid +32 -0
  631. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid +26 -0
  632. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/TiddlerTemplateFilter.tid +6 -0
  633. package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerColourCascadeDemo/CustomTiddlerColourCascadeDemo.tid +9 -0
  634. package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerIconCascadeDemo/CustomTiddlerIconCascadeDemo.tid +9 -0
  635. package/editions/tw5.com/tiddlers/demonstrations/ImageGallery Example.tid +5 -16
  636. package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/Demonstration_ keyboard-driven-input Macro.tid +121 -0
  637. package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/kdi-demo-configtid.tid +7 -0
  638. package/editions/tw5.com/tiddlers/demonstrations/SampleNotification.tid +2 -1
  639. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerFirst.tid +3 -1
  640. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerSecond.tid +3 -1
  641. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerThird.tid +3 -1
  642. package/editions/tw5.com/tiddlers/demonstrations/SampleWizard.tid +2 -1
  643. package/editions/tw5.com/tiddlers/demonstrations/SampleWizard2.tid +2 -1
  644. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Contents.tid +3 -2
  645. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/First.tid +3 -3
  646. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstOne.tid +2 -2
  647. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstThree.tid +2 -2
  648. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstTwo.tid +2 -2
  649. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Fourth.tid +2 -2
  650. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Second.tid +2 -2
  651. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondOne.tid +2 -2
  652. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThree.tid +3 -3
  653. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeOne.tid +2 -2
  654. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeThree.tid +2 -2
  655. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeTwo.tid +2 -2
  656. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondTwo.tid +2 -2
  657. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Third.tid +3 -3
  658. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdOne.tid +2 -2
  659. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdThree.tid +2 -2
  660. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdTwo.tid +2 -2
  661. package/editions/tw5.com/tiddlers/demonstrations/Tagged with TagMacro.tid +2 -1
  662. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Compose ballad.tid +3 -3
  663. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Get the Ring.tid +3 -3
  664. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Go to Mordor.tid +3 -3
  665. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Kill the Dragon.tid +4 -4
  666. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Make the beds.tid +3 -3
  667. package/editions/tw5.com/tiddlers/demonstrations/Tasks/done.tid +3 -1
  668. package/editions/tw5.com/tiddlers/demonstrations/Tasks/task.tid +3 -2
  669. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Days of the Week.tid +5 -4
  670. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Friday.tid +2 -1
  671. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Monday.tid +2 -1
  672. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Saturday.tid +3 -2
  673. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Sunday.tid +2 -1
  674. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Thursday.tid +2 -1
  675. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Tuesday.tid +2 -1
  676. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Wednesday.tid +2 -1
  677. package/editions/tw5.com/tiddlers/demonstrations/sampletag1.tid +3 -0
  678. package/editions/tw5.com/tiddlers/demonstrations/sampletag2.tid +3 -0
  679. package/editions/tw5.com/tiddlers/features/DateFormat.tid +11 -2
  680. package/editions/tw5.com/tiddlers/features/Importing Tiddlers.tid +1 -1
  681. package/editions/tw5.com/tiddlers/features/LazyLoading.tid +2 -3
  682. package/editions/tw5.com/tiddlers/features/Modals.tid +2 -1
  683. package/editions/tw5.com/tiddlers/features/Performance Instrumentation.tid +1 -1
  684. package/editions/tw5.com/tiddlers/features/Scalability.tid +4 -2
  685. package/editions/tw5.com/tiddlers/fileformats/TiddlerFiles.tid +15 -4
  686. package/editions/tw5.com/tiddlers/filters/Filter Operators.tid +11 -7
  687. package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +2 -1
  688. package/editions/tw5.com/tiddlers/filters/acos Operator.tid +15 -0
  689. package/editions/tw5.com/tiddlers/filters/all.tid +2 -2
  690. package/editions/tw5.com/tiddlers/filters/asin Operator.tid +15 -0
  691. package/editions/tw5.com/tiddlers/filters/atan Operator.tid +13 -0
  692. package/editions/tw5.com/tiddlers/filters/atan2 Operator.tid +15 -0
  693. package/editions/tw5.com/tiddlers/filters/average.tid +13 -0
  694. package/editions/tw5.com/tiddlers/filters/butlast.tid +3 -1
  695. package/editions/tw5.com/tiddlers/filters/charcode.tid +17 -0
  696. package/editions/tw5.com/tiddlers/filters/cos Operator.tid +13 -0
  697. package/editions/tw5.com/tiddlers/filters/deserializers Operator.tid +14 -0
  698. package/editions/tw5.com/tiddlers/filters/duplicateslugs Operator.tid +3 -3
  699. package/editions/tw5.com/tiddlers/filters/enlist Operator.tid +2 -3
  700. package/editions/tw5.com/tiddlers/filters/enlist-input Operator.tid +1 -1
  701. package/editions/tw5.com/tiddlers/filters/examples/acos Operator (Examples).tid +7 -0
  702. package/editions/tw5.com/tiddlers/filters/examples/asin Operator (Examples).tid +7 -0
  703. package/editions/tw5.com/tiddlers/filters/examples/atan Operator (Examples).tid +7 -0
  704. package/editions/tw5.com/tiddlers/filters/examples/atan2 Operator (Examples).tid +7 -0
  705. package/editions/tw5.com/tiddlers/filters/examples/average Operator (Examples).tid +10 -0
  706. package/editions/tw5.com/tiddlers/filters/examples/butlast.tid +4 -3
  707. package/editions/tw5.com/tiddlers/filters/examples/charcode.tid +7 -0
  708. package/editions/tw5.com/tiddlers/filters/examples/cos Operator (Examples).tid +7 -0
  709. package/editions/tw5.com/tiddlers/filters/examples/cycle Operator (Examples).tid +1 -1
  710. package/editions/tw5.com/tiddlers/filters/examples/deserializers Operator (Examples).tid +7 -0
  711. package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +16 -1
  712. package/editions/tw5.com/tiddlers/filters/examples/insertbefore Operator (Examples).tid +28 -0
  713. package/editions/tw5.com/tiddlers/filters/examples/log Operator (Examples).tid +1 -1
  714. package/editions/tw5.com/tiddlers/filters/examples/lookup Operator (Examples).tid +7 -1
  715. package/editions/tw5.com/tiddlers/filters/examples/match Operator (Examples).tid +1 -1
  716. package/editions/tw5.com/tiddlers/filters/examples/median Operator (Examples).tid +10 -0
  717. package/editions/tw5.com/tiddlers/filters/examples/moduleproperty Operator (Examples).tid +11 -0
  718. package/editions/tw5.com/tiddlers/filters/examples/modules.tid +4 -1
  719. package/editions/tw5.com/tiddlers/filters/examples/prefix.tid +4 -3
  720. package/editions/tw5.com/tiddlers/filters/examples/removeprefix.tid +2 -1
  721. package/editions/tw5.com/tiddlers/filters/examples/removesuffix.tid +2 -3
  722. package/editions/tw5.com/tiddlers/filters/examples/rest.tid +4 -3
  723. package/editions/tw5.com/tiddlers/filters/examples/search-replace Operator (Examples).tid +13 -1
  724. package/editions/tw5.com/tiddlers/filters/examples/search.tid +6 -1
  725. package/editions/tw5.com/tiddlers/filters/examples/sin Operator (Examples).tid +7 -0
  726. package/editions/tw5.com/tiddlers/filters/examples/sortan.tid +5 -1
  727. package/editions/tw5.com/tiddlers/filters/examples/standard-deviation Operator (Examples).tid +10 -0
  728. package/editions/tw5.com/tiddlers/filters/examples/subfilter Operator (Examples).tid +25 -3
  729. package/editions/tw5.com/tiddlers/filters/examples/suffix.tid +3 -2
  730. package/editions/tw5.com/tiddlers/filters/examples/tan Operator (Examples).tid +7 -0
  731. package/editions/tw5.com/tiddlers/filters/examples/unique Operator (Examples).tid +8 -0
  732. package/editions/tw5.com/tiddlers/filters/examples/variance Operator (Examples).tid +10 -0
  733. package/editions/tw5.com/tiddlers/filters/examples/zth Operator (Examples).tid +10 -0
  734. package/editions/tw5.com/tiddlers/filters/filter.tid +3 -1
  735. package/editions/tw5.com/tiddlers/filters/format.tid +2 -1
  736. package/editions/tw5.com/tiddlers/filters/insertbefore Operator.tid +21 -5
  737. package/editions/tw5.com/tiddlers/filters/list.tid +2 -2
  738. package/editions/tw5.com/tiddlers/filters/lookup Operator.tid +28 -10
  739. package/editions/tw5.com/tiddlers/filters/median.tid +13 -0
  740. package/editions/tw5.com/tiddlers/filters/moduleproperty Operator.tid +12 -0
  741. package/editions/tw5.com/tiddlers/filters/modules.tid +8 -6
  742. package/editions/tw5.com/tiddlers/filters/nth.tid +9 -7
  743. package/editions/tw5.com/tiddlers/filters/prefix.tid +17 -2
  744. package/editions/tw5.com/tiddlers/filters/range.tid +22 -20
  745. package/editions/tw5.com/tiddlers/filters/reduce.tid +2 -1
  746. package/editions/tw5.com/tiddlers/filters/removeprefix.tid +18 -3
  747. package/editions/tw5.com/tiddlers/filters/removesuffix.tid +18 -3
  748. package/editions/tw5.com/tiddlers/filters/search-replace Operator.tid +2 -2
  749. package/editions/tw5.com/tiddlers/filters/search.tid +10 -9
  750. package/editions/tw5.com/tiddlers/filters/sha256 Operator.tid +18 -0
  751. package/editions/tw5.com/tiddlers/filters/sin Operator.tid +13 -0
  752. package/editions/tw5.com/tiddlers/filters/sortsub Operator.tid +12 -9
  753. package/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid +15 -0
  754. package/editions/tw5.com/tiddlers/filters/storyviews.tid +1 -1
  755. package/editions/tw5.com/tiddlers/filters/subfilter Operator.tid +5 -3
  756. package/editions/tw5.com/tiddlers/filters/suffix.tid +17 -2
  757. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix (Examples).tid +46 -0
  758. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid +20 -0
  759. package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +12 -3
  760. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix (Examples).tid +30 -0
  761. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix.tid +27 -0
  762. package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +3 -2
  763. package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix (Examples).tid +9 -34
  764. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix (Examples).tid +36 -0
  765. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +15 -0
  766. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +41 -0
  767. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +27 -0
  768. package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +3 -3
  769. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix (Examples).tid +27 -0
  770. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix.tid +38 -0
  771. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix (Examples).tid +33 -0
  772. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +32 -0
  773. package/editions/tw5.com/tiddlers/filters/tan Operator.tid +13 -0
  774. package/editions/tw5.com/tiddlers/filters/unique.tid +10 -0
  775. package/editions/tw5.com/tiddlers/filters/variance Operator.tid +15 -0
  776. package/editions/tw5.com/tiddlers/filters/zth Operator.tid +18 -0
  777. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Android.tid +2 -1
  778. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid +2 -1
  779. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Firefox.tid +2 -1
  780. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +2 -1
  781. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Node.js.tid +2 -1
  782. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Online.tid +2 -2
  783. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Safari.tid +2 -1
  784. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - iOS.tid +2 -1
  785. package/editions/tw5.com/tiddlers/hellothere/A Gentle Guide to TiddlyWiki.tid +5 -2
  786. package/editions/tw5.com/tiddlers/{AllTiddlers.tid → hellothere/AllTiddlers.tid} +0 -0
  787. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +3 -3
  788. package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
  789. package/editions/tw5.com/tiddlers/hellothere/Some of the things you can do with TiddlyWiki.tid +2 -2
  790. package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Badge.svg.tid +1 -0
  791. package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Link.tid +1 -0
  792. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +6 -0
  793. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +6 -0
  794. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid +13 -0
  795. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting NewImageType.tid +3 -1
  796. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting ShowEditPreviewPerTiddler.tid +10 -0
  797. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Disable Drag and Drop.tid +2 -2
  798. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid +12 -0
  799. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Typin Refresh Delay.tid +2 -2
  800. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid +11 -0
  801. package/editions/tw5.com/tiddlers/howtos/Concatenating text and variables using macro substitution.tid +4 -14
  802. package/editions/tw5.com/tiddlers/howtos/Creating SubStories.tid +21 -33
  803. package/editions/tw5.com/tiddlers/howtos/Debugging Stylesheets.tid +11 -0
  804. package/editions/tw5.com/tiddlers/howtos/Formatting List Results as Tables with CSS - Specified Columns Methods.tid +4 -0
  805. package/editions/tw5.com/tiddlers/howtos/How to create a custom story tiddler template.tid +40 -0
  806. package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler colour rule.tid +36 -0
  807. package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler icon rule.tid +36 -0
  808. package/editions/tw5.com/tiddlers/howtos/How to create dynamic editor toolbar buttons.tid +126 -0
  809. package/editions/tw5.com/tiddlers/howtos/Simple ways to write protect tiddlers.tid +4 -5
  810. package/editions/tw5.com/tiddlers/howtos/Text preview.tid +6 -2
  811. package/editions/tw5.com/tiddlers/howtos/Using Stylesheets.tid +10 -4
  812. package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png +0 -0
  813. package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png.meta +3 -0
  814. package/editions/tw5.com/tiddlers/images/Icon Gallery.tid +14 -0
  815. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  816. package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png +0 -0
  817. package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png.meta +3 -0
  818. package/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid +11 -0
  819. package/editions/tw5.com/tiddlers/languages/LanguageGallery.tid +2 -2
  820. package/editions/tw5.com/tiddlers/macros/NowMacro.tid +3 -1
  821. package/editions/tw5.com/tiddlers/macros/TabsMacro.tid +3 -3
  822. package/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid +28 -4
  823. package/editions/tw5.com/tiddlers/macros/examples/colour-picker Macro (Example 1).tid +2 -2
  824. package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 1).tid +2 -2
  825. package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 2).tid +2 -2
  826. package/editions/tw5.com/tiddlers/macros/examples/qualify.tid +0 -2
  827. package/editions/tw5.com/tiddlers/macros/examples/unusedtitle Macro (Examples 1).tid +51 -0
  828. package/editions/tw5.com/tiddlers/macros/examples/unusedtitle.tid +11 -2
  829. package/editions/tw5.com/tiddlers/macros/keyboard-driven-input_Macro.tid +3 -0
  830. package/editions/tw5.com/tiddlers/macros/list-links-draggable Macro.tid +1 -1
  831. package/editions/tw5.com/tiddlers/mechanisms/RefreshThrottling.tid +3 -2
  832. package/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid +2 -2
  833. package/editions/tw5.com/tiddlers/messages/SampleModal.tid +2 -1
  834. package/editions/tw5.com/tiddlers/messages/SampleWindowTemplate.tid +10 -0
  835. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-all-windows.tid +20 -0
  836. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid +39 -0
  837. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid +6 -1
  838. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +27 -1
  839. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid +7 -1
  840. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +28 -6
  841. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-relink-tiddler.tid +26 -0
  842. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-rename-tiddler.tid +4 -2
  843. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-scroll.tid +3 -0
  844. package/editions/tw5.com/tiddlers/nodejs/Customising Tiddler File Naming.tid +19 -15
  845. package/editions/tw5.com/tiddlers/nodejs/Environment Variables on Node.js.tid +4 -2
  846. package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +10 -3
  847. package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.files_Files.tid +6 -5
  848. package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid +2 -2
  849. package/editions/tw5.com/tiddlers/platforms/TiddlyFox Apocalypse.tid +2 -2
  850. package/editions/tw5.com/tiddlers/platforms/TiddlyWiki in the Sky for TiddlyWeb.tid +3 -8
  851. package/editions/tw5.com/tiddlers/plugins/Highlight Plugin.tid +3 -1
  852. package/editions/tw5.com/tiddlers/plugins/Plugin Types.tid +2 -2
  853. package/editions/tw5.com/tiddlers/plugins/Share Plugin.tid +12 -0
  854. package/editions/tw5.com/tiddlers/reference/Reference.tid +1 -0
  855. package/editions/tw5.com/tiddlers/releasenotes/BetaReleases.tid +2 -2
  856. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.21.tid +6 -0
  857. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +6 -0
  858. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +5 -3
  859. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +303 -0
  860. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +124 -0
  861. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +162 -0
  862. package/editions/tw5.com/tiddlers/releasenotes/ReleaseTemplate.tid +3 -0
  863. package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +4 -2
  864. package/editions/tw5.com/tiddlers/releasenotes/alpha/AlphaReleases.tid +2 -2
  865. package/editions/tw5.com/tiddlers/saving/Example config-tiddlyweb-host for IIS.txt.meta +1 -1
  866. package/editions/tw5.com/tiddlers/saving/Example package.json for IIS.txt.meta +1 -1
  867. package/editions/tw5.com/tiddlers/saving/Example tiddlywiki.info for IIS.txt.meta +1 -1
  868. package/editions/tw5.com/tiddlers/saving/Example web.config for IIS.txt.meta +1 -1
  869. package/editions/tw5.com/tiddlers/saving/Saving on Browser with the File System Access API.tid +21 -0
  870. package/editions/tw5.com/tiddlers/saving/Saving on TidGi.tid +26 -0
  871. package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +17 -0
  872. package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +19 -29
  873. package/editions/tw5.com/tiddlers/saving/Saving to a Git service.tid +2 -2
  874. package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +65 -10
  875. package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +29 -0
  876. package/editions/tw5.com/tiddlers/saving/TiddlyWiki in the Sky for Dropbox.tid +1 -1
  877. package/editions/tw5.com/tiddlers/styleguide/Documentation Macros.tid +6 -2
  878. package/editions/tw5.com/tiddlers/styleguide/Tiddler Structure.tid +3 -1
  879. package/editions/tw5.com/tiddlers/{TableOfContents.tid → system/TableOfContents.tid} +0 -0
  880. package/editions/tw5.com/tiddlers/system/doc-macros.tid +42 -1
  881. package/editions/tw5.com/tiddlers/system/doc-styles.tid +34 -5
  882. package/editions/tw5.com/tiddlers/system/download-empty.tid +1 -0
  883. package/editions/tw5.com/tiddlers/system/operator-macros.tid +16 -7
  884. package/editions/tw5.com/tiddlers/system/operator-template.tid +14 -11
  885. package/editions/tw5.com/tiddlers/system/style-guide-macros.tid +5 -1
  886. package/editions/tw5.com/tiddlers/system/variable-macros.tid +4 -2
  887. package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +21 -3
  888. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ControlPanel_Plugins.tid +9 -0
  889. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_EditorTools.tid +9 -0
  890. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Image.tid +2 -2
  891. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 1-2-3.tid +2 -1
  892. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 3-4-5.tid +2 -1
  893. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 4-5-6.tid +2 -1
  894. package/editions/tw5.com/tiddlers/webserver/Using HTTPS.tid +17 -2
  895. package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +86 -9
  896. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Delete Tiddler.tid +5 -1
  897. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +1 -1
  898. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Put Tiddler.tid +5 -1
  899. package/editions/tw5.com/tiddlers/webserver/WebServer Authorization.tid +15 -3
  900. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ admin.tid +8 -0
  901. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ required-plugins.tid +8 -0
  902. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ tls-passphrase.tid +10 -0
  903. package/editions/tw5.com/tiddlers/widgets/$__docs_anyField.tid +8 -0
  904. package/editions/tw5.com/tiddlers/widgets/$__editions_tw5.com_widget-examples_qualify-transcluded.tid +14 -0
  905. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 1.tid +2 -2
  906. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 2.tid +2 -2
  907. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 3.tid +3 -3
  908. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 4.tid +4 -4
  909. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Template.tid +2 -2
  910. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid +10 -6
  911. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget_Example.tid +7 -5
  912. package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +52 -2
  913. package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +4 -1
  914. package/editions/tw5.com/tiddlers/widgets/ActionSendMessageWidget.tid +3 -1
  915. package/editions/tw5.com/tiddlers/widgets/ActionSetMultipleFieldsWidget.tid +31 -0
  916. package/editions/tw5.com/tiddlers/widgets/ActionWidget Execution Modes.tid +49 -0
  917. package/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid +10 -7
  918. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +2 -2
  919. package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +2 -2
  920. package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +9 -4
  921. package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +2 -2
  922. package/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid +11 -6
  923. package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +10 -20
  924. package/editions/tw5.com/tiddlers/widgets/EditWidget.tid +2 -2
  925. package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +36 -27
  926. package/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid +3 -3
  927. package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +9 -1
  928. package/editions/tw5.com/tiddlers/widgets/JSONTiddlerWidget.tid +22 -0
  929. package/editions/tw5.com/tiddlers/widgets/Keyboard Codes.tid +27 -0
  930. package/editions/tw5.com/tiddlers/widgets/KeyboardWidget.tid +17 -3
  931. package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +57 -0
  932. package/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid +3 -2
  933. package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +34 -1
  934. package/editions/tw5.com/tiddlers/widgets/ListopsData.tid +1 -0
  935. package/editions/tw5.com/tiddlers/widgets/MacroCallWidget.tid +3 -1
  936. package/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid +46 -0
  937. package/editions/tw5.com/tiddlers/widgets/MessageHandlerWidgets.tid +13 -0
  938. package/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid +5 -2
  939. package/editions/tw5.com/tiddlers/widgets/QualifyWidget.tid +39 -0
  940. package/editions/tw5.com/tiddlers/widgets/RadioWidget Example.tid +14 -11
  941. package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +9 -9
  942. package/editions/tw5.com/tiddlers/widgets/RangeWidget Example.tid +4 -5
  943. package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +5 -5
  944. package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +27 -3
  945. package/editions/tw5.com/tiddlers/widgets/SetMultipleVariablesWidget.tid +33 -0
  946. package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +62 -35
  947. package/editions/tw5.com/tiddlers/widgets/The Extended Listops Filters.tid +2 -1
  948. package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +7 -6
  949. package/editions/tw5.com/tiddlers/widgets/TriggeringWidgets.tid +13 -0
  950. package/editions/tw5.com/tiddlers/widgets/VarsWidget.tid +7 -5
  951. package/editions/tw5.com/tiddlers/widgets/ViewWidget.tid +27 -8
  952. package/editions/tw5.com/tiddlers/widgets/WikifyWidget.tid +2 -2
  953. package/editions/tw5.com/tiddlers/wikitext/HTML in WikiText.tid +48 -5
  954. package/editions/tw5.com/tiddlers/wikitext/Images in WikiText.tid +5 -3
  955. package/editions/tw5.com/tiddlers/wikitext/Linking in WikiText.tid +44 -1
  956. package/editions/tw5.com/tiddlers/wikitext/Macro Calls in WikiText.tid +3 -3
  957. package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -2
  958. package/editions/tw5.com/tiddlers/wikitext/Transclusion in WikiText.tid +2 -1
  959. package/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +3 -3
  960. package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText (Examples).tid +51 -0
  961. package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText.tid +35 -0
  962. package/editions/tw5.com/tiddlers/wikitext/parser/Inline Mode WikiText.tid +26 -0
  963. package/editions/tw5.com/tiddlers/wikitext/parser/Places where the parser ignores WikiText.tid +14 -0
  964. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +16 -0
  965. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode transitions.tid +59 -0
  966. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ HTML examples.tid +72 -0
  967. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ macro examples.tid +55 -0
  968. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ transclusion examples.tid +56 -0
  969. package/editions/tw5.com/tiddlers/wikitext/parser/table-example.tid +8 -0
  970. package/editions/tw5.com/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +2 -1
  971. package/editions/tw5.com/tiddlywiki.info +2 -2
  972. package/editions/xlsx-utils/tiddlers/samples/Presidents and Justices.xlsx and b/package/editions/xlsx-utils/tiddlers/samples/Presidents → Justices.xlsx +0 -0
  973. package/languages/ar-PS/Misc.multids +1 -2
  974. package/languages/ca-ES/ControlPanel.multids +4 -1
  975. package/languages/ca-ES/EditTemplate.multids +4 -0
  976. package/languages/ca-ES/Help/notfound.tid +1 -1
  977. package/languages/ca-ES/Import.multids +11 -0
  978. package/languages/ca-ES/Misc.multids +20 -2
  979. package/languages/cs-CZ/Misc.multids +0 -1
  980. package/languages/da-DK/Misc.multids +0 -1
  981. package/languages/de-DE/ControlPanel.multids +22 -1
  982. package/languages/de-DE/Docs/ModuleTypes.multids +1 -0
  983. package/languages/de-DE/EditTemplate.multids +2 -0
  984. package/languages/de-DE/Fields.multids +6 -5
  985. package/languages/de-DE/Help/listen.tid +3 -2
  986. package/languages/de-DE/Help/render.tid +2 -1
  987. package/languages/de-DE/Import.multids +6 -0
  988. package/languages/de-DE/Misc.multids +10 -2
  989. package/languages/de-DE/SideBar.multids +1 -0
  990. package/languages/de-DE/ThemeTweaks.multids +2 -2
  991. package/languages/de-DE/TiddlerInfo.multids +1 -1
  992. package/languages/el-GR/Misc.multids +1 -2
  993. package/languages/es-ES/Buttons.multids +29 -6
  994. package/languages/es-ES/ControlPanel.multids +97 -37
  995. package/languages/es-ES/Dates.multids +11 -1
  996. package/languages/es-ES/Docs/ModuleTypes.multids +8 -0
  997. package/languages/es-ES/Docs/PaletteColours.multids +109 -0
  998. package/languages/es-ES/EditTemplate.multids +18 -11
  999. package/languages/es-ES/Exporters.multids +2 -2
  1000. package/languages/es-ES/Fields.multids +7 -4
  1001. package/languages/es-ES/Filters.multids +9 -7
  1002. package/languages/es-ES/GettingStarted.tid +1 -0
  1003. package/languages/es-ES/Help/deletetiddlers.tid +8 -0
  1004. package/languages/es-ES/Help/fetch.tid +38 -0
  1005. package/languages/es-ES/Help/import.tid +24 -0
  1006. package/languages/es-ES/Help/init.tid +1 -7
  1007. package/languages/es-ES/Help/listen.tid +35 -0
  1008. package/languages/es-ES/Help/load.tid +5 -2
  1009. package/languages/es-ES/Help/makelibrary.tid +1 -3
  1010. package/languages/es-ES/Help/password.tid +2 -1
  1011. package/languages/es-ES/Help/render.tid +35 -0
  1012. package/languages/es-ES/Help/rendertiddler.tid +14 -3
  1013. package/languages/es-ES/Help/rendertiddlers.tid +6 -6
  1014. package/languages/es-ES/Help/save.tid +25 -0
  1015. package/languages/es-ES/Help/savetiddler.tid +3 -2
  1016. package/languages/es-ES/Help/savetiddlers.tid +6 -3
  1017. package/languages/es-ES/Help/savewikifolder.tid +19 -0
  1018. package/languages/es-ES/Help/server.tid +12 -8
  1019. package/languages/es-ES/Import.multids +23 -4
  1020. package/languages/es-ES/Misc.multids +68 -22
  1021. package/languages/es-ES/NewJournalTags.tid +3 -0
  1022. package/languages/es-ES/Notifications.multids +3 -1
  1023. package/languages/es-ES/Search.multids +1 -0
  1024. package/languages/es-ES/SideBar.multids +1 -0
  1025. package/languages/es-ES/ThemeTweaks.multids +42 -0
  1026. package/languages/es-ES/TiddlerInfo.multids +2 -2
  1027. package/languages/es-ES/Types/{application%2Fjavascript.tid → application_javascript.tid} +1 -0
  1028. package/languages/es-ES/Types/{application%2Fjson.tid → application_json.tid} +1 -0
  1029. package/languages/es-ES/Types/{application%2Fx-tiddler-dictionary.tid → application_x_tiddler_dictionary.tid} +1 -0
  1030. package/languages/es-ES/Types/{image%2Fgif.tid → image_gif.tid} +1 -0
  1031. package/languages/es-ES/Types/{image%2Fjpeg.tid → image_jpeg.tid} +1 -0
  1032. package/languages/es-ES/Types/{image%2Fpng.tid → image_png.tid} +1 -0
  1033. package/languages/es-ES/Types/{image%2Fsvg%2Bxml.tid → image_svg_xml.tid} +1 -0
  1034. package/languages/es-ES/Types/{image%2Fx-icon.tid → image_x-icon.tid} +1 -0
  1035. package/languages/es-ES/Types/{text%2Fcss.tid → text_css.tid} +1 -0
  1036. package/languages/es-ES/Types/{text%2Fhtml.tid → text_html.tid} +1 -0
  1037. package/languages/es-ES/Types/{text%2Fplain.tid → text_plain.tid} +1 -0
  1038. package/languages/es-ES/Types/{text%2Fvnd.tiddlywiki.tid → text_vnd.tiddlywiki.tid} +1 -0
  1039. package/languages/es-ES/Types/{text%2Fx-tiddlywiki.tid → text_x-tiddlywiki.tid} +1 -0
  1040. package/languages/es-ES/plugin.info +3 -3
  1041. package/languages/fa-IR/Misc.multids +1 -2
  1042. package/languages/fr-FR/ControlPanel.multids +5 -1
  1043. package/languages/fr-FR/Docs/ModuleTypes.multids +2 -1
  1044. package/languages/fr-FR/EditTemplate.multids +4 -0
  1045. package/languages/fr-FR/Filters.multids +3 -2
  1046. package/languages/fr-FR/Help/listen.tid +2 -0
  1047. package/languages/fr-FR/Help/render.tid +5 -4
  1048. package/languages/fr-FR/Import.multids +17 -11
  1049. package/languages/fr-FR/Misc.multids +11 -2
  1050. package/languages/fr-FR/TiddlerInfo.multids +2 -2
  1051. package/languages/he-IL/Misc.multids +0 -1
  1052. package/languages/hi-IN/Misc.multids +0 -1
  1053. package/languages/ia-IA/Misc.multids +0 -1
  1054. package/languages/it-IT/Misc.multids +0 -1
  1055. package/languages/ja-JP/Misc.multids +0 -1
  1056. package/languages/ko-KR/Misc.multids +0 -1
  1057. package/languages/nl-NL/Misc.multids +1 -2
  1058. package/languages/pa-IN/Misc.multids +0 -1
  1059. package/languages/pl-PL/Buttons.multids +189 -0
  1060. package/languages/pl-PL/ControlPanel.multids +229 -0
  1061. package/languages/pl-PL/Dates.multids +88 -0
  1062. package/languages/pl-PL/Docs/ModuleTypes.multids +30 -0
  1063. package/languages/pl-PL/Docs/PaletteColours.multids +109 -0
  1064. package/languages/pl-PL/EditTemplate.multids +38 -0
  1065. package/languages/pl-PL/Exporters.multids +7 -0
  1066. package/languages/pl-PL/Fields.multids +39 -0
  1067. package/languages/pl-PL/Filters.multids +16 -0
  1068. package/languages/pl-PL/GettingStarted.tid +17 -0
  1069. package/languages/pl-PL/Help/build.tid +12 -0
  1070. package/languages/pl-PL/Help/clearpassword.tid +8 -0
  1071. package/languages/pl-PL/Help/default.tid +22 -0
  1072. package/languages/pl-PL/Help/deletetiddlers.tid +8 -0
  1073. package/languages/pl-PL/Help/editions.tid +8 -0
  1074. package/languages/pl-PL/Help/fetch.tid +40 -0
  1075. package/languages/pl-PL/Help/help.tid +10 -0
  1076. package/languages/pl-PL/Help/import.tid +24 -0
  1077. package/languages/pl-PL/Help/init.tid +23 -0
  1078. package/languages/pl-PL/Help/listen.tid +35 -0
  1079. package/languages/pl-PL/Help/load.tid +19 -0
  1080. package/languages/pl-PL/Help/makelibrary.tid +14 -0
  1081. package/languages/pl-PL/Help/notfound.tid +3 -0
  1082. package/languages/pl-PL/Help/output.tid +11 -0
  1083. package/languages/pl-PL/Help/password.tid +10 -0
  1084. package/languages/pl-PL/Help/render.tid +35 -0
  1085. package/languages/pl-PL/Help/rendertiddler.tid +24 -0
  1086. package/languages/pl-PL/Help/rendertiddlers.tid +20 -0
  1087. package/languages/pl-PL/Help/save.tid +25 -0
  1088. package/languages/pl-PL/Help/savetiddler.tid +14 -0
  1089. package/languages/pl-PL/Help/savetiddlers.tid +16 -0
  1090. package/languages/pl-PL/Help/savewikifolder.tid +19 -0
  1091. package/languages/pl-PL/Help/server.tid +42 -0
  1092. package/languages/pl-PL/Help/setfield.tid +17 -0
  1093. package/languages/pl-PL/Help/unpackplugin.tid +8 -0
  1094. package/languages/pl-PL/Help/verbose.tid +8 -0
  1095. package/languages/pl-PL/Help/version.tid +8 -0
  1096. package/languages/pl-PL/Import.multids +35 -0
  1097. package/languages/pl-PL/Misc.multids +95 -0
  1098. package/languages/pl-PL/Modals/Download.tid +12 -0
  1099. package/languages/pl-PL/Modals/SaveInstructions.tid +21 -0
  1100. package/languages/pl-PL/NewJournal.multids +4 -0
  1101. package/languages/pl-PL/NewJournalTags.tid +3 -0
  1102. package/languages/pl-PL/Notifications.multids +6 -0
  1103. package/languages/pl-PL/Search.multids +21 -0
  1104. package/languages/pl-PL/SideBar.multids +18 -0
  1105. package/languages/pl-PL/SiteSubtitle.tid +3 -0
  1106. package/languages/pl-PL/SiteTitle.tid +3 -0
  1107. package/languages/pl-PL/Snippets/ListByTag.tid +5 -0
  1108. package/languages/pl-PL/Snippets/MacroDefinition.tid +7 -0
  1109. package/languages/pl-PL/Snippets/Table 4x3.tid +8 -0
  1110. package/languages/pl-PL/Snippets/TableOfContents.tid +9 -0
  1111. package/languages/pl-PL/ThemeTweaks.multids +42 -0
  1112. package/languages/pl-PL/TiddlerInfo.multids +22 -0
  1113. package/languages/pl-PL/Types/application_javascript.tid +5 -0
  1114. package/languages/pl-PL/Types/application_json.tid +5 -0
  1115. package/languages/pl-PL/Types/application_x_tiddler_dictionary.tid +5 -0
  1116. package/languages/pl-PL/Types/image_gif.tid +5 -0
  1117. package/languages/pl-PL/Types/image_jpeg.tid +5 -0
  1118. package/languages/pl-PL/Types/image_png.tid +5 -0
  1119. package/languages/pl-PL/Types/image_svg_xml.tid +5 -0
  1120. package/languages/pl-PL/Types/image_x-icon.tid +5 -0
  1121. package/languages/pl-PL/Types/text_css.tid +5 -0
  1122. package/languages/pl-PL/Types/text_html.tid +5 -0
  1123. package/languages/pl-PL/Types/text_plain.tid +5 -0
  1124. package/languages/pl-PL/Types/text_vnd.tiddlywiki.tid +5 -0
  1125. package/languages/pl-PL/Types/text_x-tiddlywiki.tid +5 -0
  1126. package/languages/pl-PL/icon.tid +7 -0
  1127. package/languages/pl-PL/plugin.info +8 -0
  1128. package/languages/pl-PL/readme.md +1 -0
  1129. package/languages/pt-BR/Misc.multids +0 -1
  1130. package/languages/pt-PT/Misc.multids +1 -2
  1131. package/languages/ru-RU/Misc.multids +0 -1
  1132. package/languages/sk-SK/Misc.multids +0 -1
  1133. package/languages/sl-SI/Misc.multids +1 -2
  1134. package/languages/sv-SE/Misc.multids +0 -1
  1135. package/languages/zh-Hans/Buttons.multids +1 -1
  1136. package/languages/zh-Hans/ControlPanel.multids +19 -4
  1137. package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -1
  1138. package/languages/zh-Hans/EditTemplate.multids +2 -0
  1139. package/languages/zh-Hans/Fields.multids +4 -2
  1140. package/languages/zh-Hans/Help/listen.tid +4 -2
  1141. package/languages/zh-Hans/Help/render.tid +2 -2
  1142. package/languages/zh-Hans/Help/save.tid +1 -1
  1143. package/languages/zh-Hans/Import.multids +6 -0
  1144. package/languages/zh-Hans/Misc.multids +4 -3
  1145. package/languages/zh-Hant/Buttons.multids +1 -1
  1146. package/languages/zh-Hant/ControlPanel.multids +19 -2
  1147. package/languages/zh-Hant/Docs/ModuleTypes.multids +2 -1
  1148. package/languages/zh-Hant/EditTemplate.multids +2 -0
  1149. package/languages/zh-Hant/Fields.multids +4 -2
  1150. package/languages/zh-Hant/Help/listen.tid +5 -3
  1151. package/languages/zh-Hant/Help/render.tid +2 -2
  1152. package/languages/zh-Hant/Help/save.tid +1 -1
  1153. package/languages/zh-Hant/Import.multids +6 -0
  1154. package/languages/zh-Hant/Misc.multids +4 -3
  1155. package/license +1 -1
  1156. package/licenses/cla-individual.md +67 -1
  1157. package/package.json +5 -3
  1158. package/plugins/tiddlywiki/bibtex/deserializer.js +3 -2
  1159. package/plugins/tiddlywiki/codemirror/engine.js +86 -3
  1160. package/plugins/tiddlywiki/dynannotate/examples/viewtemplate.tid +3 -4
  1161. package/plugins/tiddlywiki/filesystem/filesystemadaptor.js +25 -21
  1162. package/plugins/tiddlywiki/freelinks/settings.tid +2 -0
  1163. package/plugins/tiddlywiki/freelinks/text.js +8 -3
  1164. package/plugins/tiddlywiki/highlight/files/default.min.css +9 -0
  1165. package/plugins/tiddlywiki/highlight/files/highlight.min.js +1401 -0
  1166. package/plugins/tiddlywiki/highlight/files/tiddlywiki.files +2 -2
  1167. package/plugins/tiddlywiki/highlight/highlightblock.js +27 -21
  1168. package/plugins/tiddlywiki/highlight/plugin.info +1 -1
  1169. package/plugins/tiddlywiki/highlight/readme.tid +18 -47
  1170. package/plugins/tiddlywiki/highlight/styles.tid +10 -5
  1171. package/plugins/tiddlywiki/highlight/usage.tid +48 -1
  1172. package/plugins/tiddlywiki/highlight-legacy/TypeMappings.multids +8 -0
  1173. package/plugins/tiddlywiki/{highlight → highlight-legacy}/files/default.css +0 -0
  1174. package/plugins/tiddlywiki/{highlight → highlight-legacy}/files/highlight.pack.js +0 -0
  1175. package/plugins/tiddlywiki/highlight-legacy/files/tiddlywiki.files +22 -0
  1176. package/plugins/tiddlywiki/highlight-legacy/highlightblock.js +44 -0
  1177. package/plugins/tiddlywiki/highlight-legacy/license.tid +27 -0
  1178. package/plugins/tiddlywiki/highlight-legacy/plugin.info +7 -0
  1179. package/plugins/tiddlywiki/highlight-legacy/readme.tid +65 -0
  1180. package/plugins/tiddlywiki/highlight-legacy/styles.tid +82 -0
  1181. package/plugins/tiddlywiki/highlight-legacy/usage.tid +28 -0
  1182. package/plugins/tiddlywiki/innerwiki/template.tid +0 -4
  1183. package/plugins/tiddlywiki/internals/editpreviews/raw.tid +1 -0
  1184. package/plugins/tiddlywiki/katex/config.tid +17 -0
  1185. package/plugins/tiddlywiki/katex/files/README.md +79 -100
  1186. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.ttf +0 -0
  1187. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
  1188. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  1189. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  1190. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  1191. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  1192. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  1193. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  1194. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  1195. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  1196. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  1197. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  1198. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  1199. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  1200. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  1201. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.ttf +0 -0
  1202. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
  1203. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
  1204. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  1205. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  1206. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  1207. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.ttf +0 -0
  1208. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
  1209. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
  1210. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.ttf +0 -0
  1211. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
  1212. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
  1213. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  1214. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  1215. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  1216. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.ttf +0 -0
  1217. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
  1218. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
  1219. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  1220. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  1221. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  1222. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  1223. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  1224. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  1225. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  1226. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  1227. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  1228. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.ttf +0 -0
  1229. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
  1230. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
  1231. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.ttf +0 -0
  1232. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
  1233. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  1234. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.ttf +0 -0
  1235. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
  1236. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  1237. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.ttf +0 -0
  1238. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
  1239. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  1240. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.ttf +0 -0
  1241. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
  1242. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  1243. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  1244. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  1245. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  1246. package/plugins/tiddlywiki/katex/files/katex.css +1079 -0
  1247. package/plugins/tiddlywiki/katex/files/katex.js +4917 -3543
  1248. package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
  1249. package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
  1250. package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
  1251. package/plugins/tiddlywiki/katex/files/mhchem.min.js +1 -1683
  1252. package/plugins/tiddlywiki/katex/files/tiddlywiki.files +3 -1
  1253. package/plugins/tiddlywiki/katex/plugin.info +2 -2
  1254. package/plugins/tiddlywiki/katex/readme.tid +1 -1
  1255. package/plugins/tiddlywiki/katex/styles.tid +7 -1
  1256. package/plugins/tiddlywiki/katex/ui/config/macro.tid +137 -0
  1257. package/plugins/tiddlywiki/katex/wrapper.js +19 -13
  1258. package/plugins/tiddlywiki/markdown/config_renderWikiTextPragma.tid +1 -1
  1259. package/plugins/tiddlywiki/markdown/files/remarkable-katex-license.txt +21 -0
  1260. package/plugins/tiddlywiki/markdown/files/remarkable-katex.js +137 -0
  1261. package/plugins/tiddlywiki/markdown/files/remarkable-katex.min.js +20 -0
  1262. package/plugins/tiddlywiki/markdown/files/remarkable-license.txt +22 -0
  1263. package/plugins/tiddlywiki/markdown/files/tiddlywiki.files +24 -0
  1264. package/plugins/tiddlywiki/markdown/plugin.info +2 -2
  1265. package/plugins/tiddlywiki/markdown/readme.tid +1 -1
  1266. package/plugins/tiddlywiki/markdown/wrapper.js +50 -16
  1267. package/plugins/tiddlywiki/menubar/menu.tid +1 -1
  1268. package/plugins/tiddlywiki/menubar/readme.tid +1 -0
  1269. package/plugins/tiddlywiki/qrcode/ViewToolbarButton/Button.tid +1 -2
  1270. package/plugins/tiddlywiki/savetrail/savetrail.js +4 -4
  1271. package/plugins/tiddlywiki/share/rawmarkup.js +1 -1
  1272. package/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button.tid +1 -1
  1273. package/plugins/tiddlywiki/tiddlyweb/html-div-tiddler.tid +1 -1
  1274. package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +4 -0
  1275. package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +4 -0
  1276. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-refresh.tid +1 -1
  1277. package/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js +26 -13
  1278. package/plugins/tiddlywiki/xlsx-utils/deserializer.js +2 -1
  1279. package/readme.md +3 -3
  1280. package/themes/tiddlywiki/snowwhite/base.tid +2 -1
  1281. package/themes/tiddlywiki/starlight/styles.tid +6 -6
  1282. package/themes/tiddlywiki/tight/base.tid +5 -5
  1283. package/themes/tiddlywiki/vanilla/ThemeTweaks.tid +7 -3
  1284. package/themes/tiddlywiki/vanilla/base.tid +202 -87
  1285. package/themes/tiddlywiki/vanilla/reset.tid +1 -1
  1286. package/themes/tiddlywiki/vanilla/settings.multids +1 -1
  1287. package/themes/tiddlywiki/vanilla/sticky.tid +1 -0
  1288. package/core/ui/ViewTemplate/plugin.tid +0 -15
  1289. package/editions/fr-FR/tiddlers/$__core_ui_ViewTemplate_title.tid +0 -46
  1290. package/editions/fr-FR/tiddlers/Images_in_WikiText.tid +0 -48
  1291. package/editions/fr-FR/tiddlers/ImportTiddlers.tid +0 -14
  1292. package/editions/fr-FR/tiddlers/Sharing_your_tiddlers_with_others.tid +0 -16
  1293. package/editions/tw5.com/tiddlers/community/Resources.tid +0 -25
  1294. package/editions/tw5.com/tiddlers/community/examples/Obadiah.tid +0 -10
  1295. package/editions/tw5.com/tiddlers/community/resources/Hosting TiddlyWiki5 on GoogleDrive.tid +0 -13
  1296. package/editions/tw5.com/tiddlers/community/resources/How Does Twederation Work by Jed Carty.tid +0 -14
  1297. package/editions/tw5.com/tiddlers/community/resources/Plugins by Uwe Stuehler.tid +0 -13
  1298. package/editions/tw5.com/tiddlers/community/resources/TiddlyClip by buggyjay.tid +0 -14
  1299. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Jingle by Mans Martensson.tid +0 -18
  1300. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Coding.tid +0 -18
  1301. package/editions/tw5.com/tiddlers/customising/Page and tiddler layout customisation.tid +0 -63
  1302. package/editions/tw5.com/tiddlers/demonstrations/SampleAlert.tid +0 -9
  1303. package/plugins/tiddlywiki/highlight/howto.tid +0 -10
@@ -18,6 +18,199 @@ describe("general filter prefix tests", function() {
18
18
  var results = wiki.filterTiddlers("[tag[A]] :nonexistent[tag[B]]");
19
19
  expect(results).toEqual(["Filter Error: Unknown prefix for filter run"]);
20
20
  });
21
+
22
+ // Test filter run prefix parsing
23
+ it("should parse filter run prefix suffixes", function() {
24
+
25
+ // two runs, one with a named prefix but no suffix
26
+ expect($tw.wiki.parseFilter("[[Sparkling water]tags[]] :intersection[[Red wine]tags[]]")).toEqual(
27
+ [
28
+ {
29
+ "prefix": "",
30
+ "operators": [
31
+ {
32
+ "operator": "title",
33
+ "operands": [
34
+ {
35
+ "text": "Sparkling water"
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "operator": "tags",
41
+ "operands": [
42
+ {
43
+ "text": ""
44
+ }
45
+ ]
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "prefix": ":intersection",
51
+ "operators": [
52
+ {
53
+ "operator": "title",
54
+ "operands": [
55
+ {
56
+ "text": "Red wine"
57
+ }
58
+ ]
59
+ },
60
+ {
61
+ "operator": "tags",
62
+ "operands": [
63
+ {
64
+ "text": ""
65
+ }
66
+ ]
67
+ }
68
+ ],
69
+ "namedPrefix": "intersection"
70
+ }
71
+ ]
72
+ );
73
+
74
+ // named prefix with no suffix
75
+ expect($tw.wiki.parseFilter(":reduce[multiply<accumulator>]")).toEqual(
76
+ [
77
+ {
78
+ "prefix": ":reduce",
79
+ "operators": [
80
+ {
81
+ "operator": "multiply",
82
+ "operands": [
83
+ {
84
+ "variable": true,
85
+ "text": "accumulator"
86
+ }
87
+ ]
88
+ }
89
+ ],
90
+ "namedPrefix": "reduce"
91
+ }
92
+ ]
93
+ );
94
+
95
+ //named prefix with one simple suffix
96
+ expect($tw.wiki.parseFilter(":reduce:1[multiply<accumulator>]")).toEqual(
97
+ [
98
+ {
99
+ "prefix": ":reduce:1",
100
+ "operators": [
101
+ {
102
+ "operator": "multiply",
103
+ "operands": [
104
+ {
105
+ "variable": true,
106
+ "text": "accumulator"
107
+ }
108
+ ]
109
+ }
110
+ ],
111
+ "namedPrefix": "reduce",
112
+ "suffixes": [
113
+ [
114
+ "1"
115
+ ]
116
+ ]
117
+ }
118
+ ]
119
+ );
120
+
121
+ //named prefix with two simple suffixes
122
+ expect($tw.wiki.parseFilter(":reduce:1:hello[multiply<accumulator>]")).toEqual(
123
+ [
124
+ {
125
+ "prefix": ":reduce:1:hello",
126
+ "operators": [
127
+ {
128
+ "operator": "multiply",
129
+ "operands": [
130
+ {
131
+ "variable": true,
132
+ "text": "accumulator"
133
+ }
134
+ ]
135
+ }
136
+ ],
137
+ "namedPrefix": "reduce",
138
+ "suffixes": [
139
+ [
140
+ "1"
141
+ ],
142
+ [
143
+ "hello",
144
+ ]
145
+ ]
146
+ }
147
+ ]
148
+ );
149
+
150
+ //named prefix with two rich (comma separated) suffixes
151
+ expect($tw.wiki.parseFilter(":reduce:1,one:hello,there[multiply<accumulator>]")).toEqual(
152
+ [
153
+ {
154
+ "prefix": ":reduce:1,one:hello,there",
155
+ "operators": [
156
+ {
157
+ "operator": "multiply",
158
+ "operands": [
159
+ {
160
+ "variable": true,
161
+ "text": "accumulator"
162
+ }
163
+ ]
164
+ }
165
+ ],
166
+ "namedPrefix": "reduce",
167
+ "suffixes": [
168
+ [
169
+ "1",
170
+ "one"
171
+ ],
172
+ [
173
+ "hello",
174
+ "there"
175
+ ]
176
+ ]
177
+ }
178
+ ]
179
+ );
180
+
181
+ // suffixes with spaces
182
+ expect($tw.wiki.parseFilter(":reduce: 1, one:hello, there [multiply<accumulator>]")).toEqual(
183
+ [
184
+ {
185
+ "prefix": ":reduce: 1, one:hello, there ",
186
+ "operators": [
187
+ {
188
+ "operator": "multiply",
189
+ "operands": [
190
+ {
191
+ "variable": true,
192
+ "text": "accumulator"
193
+ }
194
+ ]
195
+ }
196
+ ],
197
+ "namedPrefix": "reduce",
198
+ "suffixes": [
199
+ [
200
+ "1",
201
+ "one"
202
+ ],
203
+ [
204
+ "hello",
205
+ "there"
206
+ ]
207
+ ]
208
+ }
209
+ ]
210
+ );
211
+
212
+ });
213
+
21
214
  });
22
215
 
23
216
  describe("'reduce' and 'intersection' filter prefix tests", function() {
@@ -27,6 +220,7 @@ describe("'reduce' and 'intersection' filter prefix tests", function() {
27
220
  wiki.addTiddler({
28
221
  title: "Brownies",
29
222
  text: "//This is a sample shopping list item for the [[Shopping List Example]]//",
223
+ description: "A square of rich chocolate cake",
30
224
  tags: ["shopping","food"],
31
225
  price: "4.99",
32
226
  quantity: "1"
@@ -35,6 +229,7 @@ describe("'reduce' and 'intersection' filter prefix tests", function() {
35
229
  title: "Chick Peas",
36
230
  text: "//This is a sample shopping list item for the [[Shopping List Example]]//",
37
231
  tags: ["shopping","food"],
232
+ description: "a round yellow seed",
38
233
  price: "1.32",
39
234
  quantity: "5"
40
235
  });
@@ -49,6 +244,7 @@ describe("'reduce' and 'intersection' filter prefix tests", function() {
49
244
  title: "Rice Pudding",
50
245
  price: "2.66",
51
246
  quantity: "4",
247
+ description: "",
52
248
  tags: ["shopping", "dairy"],
53
249
  text: "//This is a sample shopping list item for the [[Shopping List Example]]//"
54
250
  });
@@ -60,7 +256,7 @@ describe("'reduce' and 'intersection' filter prefix tests", function() {
60
256
  wiki.addTiddler({
61
257
  title: "Red wine",
62
258
  tags: ["drinks", "wine", "textexample"],
63
- text: "This is some more text"
259
+ text: "This is some more text!"
64
260
  });
65
261
  wiki.addTiddler({
66
262
  title: "Cheesecake",
@@ -72,6 +268,58 @@ describe("'reduce' and 'intersection' filter prefix tests", function() {
72
268
  tags: ["cakes", "food", "textexample"],
73
269
  text: "This is even more text"
74
270
  });
271
+ wiki.addTiddler({
272
+ title: "Persian love cake",
273
+ tags: ["cakes"],
274
+ text: "An amazing cake worth the effort to make"
275
+ });
276
+ wiki.addTiddler({
277
+ title: "cheesecake",
278
+ tags: ["cakes"],
279
+ text: "Everyone likes cheescake"
280
+ });
281
+ wiki.addTiddler({
282
+ title: "chocolate cake",
283
+ tags: ["cakes"],
284
+ text: "lower case chocolate cake"
285
+ });
286
+ wiki.addTiddler({
287
+ title: "Pound cake",
288
+ tags: ["cakes","with tea"],
289
+ text: "Does anyone eat pound cake?"
290
+ });
291
+ wiki.addTiddler({
292
+ title: "$:/filter1",
293
+ text: "[tag[cakes]then[It is customary]]",
294
+ tags: "$:/tags/Filter $:/tags/SecondFilter"
295
+ });
296
+ wiki.addTiddler({
297
+ title: "$:/filter2",
298
+ text: "[<currentTiddler>tag[shopping]then[It is not customary]]",
299
+ tags: "$:/tags/Filter $:/tags/SecondFilter"
300
+ });
301
+ wiki.addTiddler({
302
+ title: "$:/filter3",
303
+ text: "[[Just a default]]",
304
+ tags: "$:/tags/Filter"
305
+ });
306
+ wiki.addTiddler({
307
+ title: "$:/tags/Filter",
308
+ list: "$:/filter1 $:/filter2 $:/filter3"
309
+ });
310
+ wiki.addTiddler({
311
+ title: "$:/tags/SecondFilter",
312
+ list: "$:/filter1 $:/filter2"
313
+ });
314
+
315
+ it("should handle the :cascade filter prefix", function() {
316
+ expect(wiki.filterTiddlers("[[Rice Pudding]] :cascade[all[shadows+tiddlers]tag[$:/tags/Filter]get[text]]").join(",")).toBe("It is not customary");
317
+ expect(wiki.filterTiddlers("[[chocolate cake]] :cascade[all[shadows+tiddlers]tag[$:/tags/Filter]get[text]]").join(",")).toBe("It is customary");
318
+ expect(wiki.filterTiddlers("[[Sparkling water]] :cascade[all[shadows+tiddlers]tag[$:/tags/Filter]get[text]]").join(",")).toBe("Just a default");
319
+ expect(wiki.filterTiddlers("[[Rice Pudding]] :cascade[all[shadows+tiddlers]tag[$:/tags/SecondFilter]get[text]]").join(",")).toBe("It is not customary");
320
+ expect(wiki.filterTiddlers("[[chocolate cake]] :cascade[all[shadows+tiddlers]tag[$:/tags/SecondFilter]get[text]]").join(",")).toBe("It is customary");
321
+ expect(wiki.filterTiddlers("[[Sparkling water]] :cascade[all[shadows+tiddlers]tag[$:/tags/SecondFilter]get[text]]").join(",")).toBe("");
322
+ });
75
323
 
76
324
  it("should handle the :reduce filter prefix", function() {
77
325
  expect(wiki.filterTiddlers("[tag[shopping]] :reduce[get[quantity]add<accumulator>]").join(",")).toBe("22");
@@ -80,6 +328,10 @@ describe("'reduce' and 'intersection' filter prefix tests", function() {
80
328
  // Empty input should become empty output
81
329
  expect(wiki.filterTiddlers("[tag[non-existent]] :reduce[get[price]multiply{!!quantity}add<accumulator>]").length).toBe(0);
82
330
  expect(wiki.filterTiddlers("[tag[non-existent]] :reduce[get[price]multiply{!!quantity}add<accumulator>] :else[[0]]").join(",")).toBe("0");
331
+
332
+ expect(wiki.filterTiddlers("[tag[non-existent]] :reduce:11,22[get[price]multiply{!!quantity}add<accumulator>] :else[[0]]").join(",")).toBe("0");
333
+
334
+ expect(wiki.filterTiddlers("[tag[non-existent]] :reduce:11[get[price]multiply{!!quantity}add<accumulator>] :else[[0]]").join(",")).toBe("0");
83
335
  });
84
336
 
85
337
  it("should handle the reduce operator", function() {
@@ -101,6 +353,28 @@ describe("'reduce' and 'intersection' filter prefix tests", function() {
101
353
  expect(wiki.filterTiddlers("[tag[non-existent]reduce<add-price>else[0]]",anchorWidget).join(",")).toBe("0");
102
354
  });
103
355
 
356
+ it("should handle the average operator", function() {
357
+ expect(wiki.filterTiddlers("[tag[shopping]get[price]average[]]").join(",")).toBe("2.3575");
358
+ expect(parseFloat(wiki.filterTiddlers("[tag[food]get[price]average[]]").join(","))).toBeCloseTo(3.155);
359
+ });
360
+
361
+ it("should handle the median operator", function() {
362
+ expect(parseFloat(wiki.filterTiddlers("[tag[shopping]get[price]median[]]").join(","))).toBeCloseTo(1.99);
363
+ expect(parseFloat(wiki.filterTiddlers("[tag[food]get[price]median[]]").join(","))).toBeCloseTo(3.155);
364
+ });
365
+
366
+ it("should handle the variance operator", function() {
367
+ expect(parseFloat(wiki.filterTiddlers("[tag[shopping]get[price]variance[]]").join(","))).toBeCloseTo(2.92);
368
+ expect(parseFloat(wiki.filterTiddlers("[tag[food]get[price]variance[]]").join(","))).toBeCloseTo(3.367);
369
+ expect(wiki.filterTiddlers(" +[variance[]]").toString()).toBe("NaN");
370
+ });
371
+
372
+ it("should handle the standard-deviation operator", function() {
373
+ expect(parseFloat(wiki.filterTiddlers("[tag[shopping]get[price]standard-deviation[]]").join(","))).toBeCloseTo(1.71);
374
+ expect(parseFloat(wiki.filterTiddlers("[tag[food]get[price]standard-deviation[]]").join(","))).toBeCloseTo(1.835);
375
+ expect(wiki.filterTiddlers(" +[standard-deviation[]]").toString()).toBe("NaN");
376
+ });
377
+
104
378
  it("should handle the :intersection prefix", function() {
105
379
  expect(wiki.filterTiddlers("[[Sparkling water]tags[]] :intersection[[Red wine]tags[]]").join(",")).toBe("drinks,textexample");
106
380
  expect(wiki.filterTiddlers("[[Brownies]tags[]] :intersection[[Chocolate Cake]tags[]]").join(",")).toBe("food");
@@ -116,11 +390,51 @@ describe("'reduce' and 'intersection' filter prefix tests", function() {
116
390
  rootWidget.makeChildWidgets();
117
391
  var anchorWidget = rootWidget.children[0];
118
392
  rootWidget.setVariable("larger-than-18","[get[text]length[]compare:integer:gteq[18]]");
119
- expect(wiki.filterTiddlers("[tag[textexample]] :filter[get[text]length[]compare:integer:gteq[18]]",anchorWidget).join(",")).toBe("Red wine,Cheesecake,Chocolate Cake");
120
- expect(wiki.filterTiddlers("[tag[textexample]]",anchorWidget).join(",")).toBe("Sparkling water,Red wine,Cheesecake,Chocolate Cake");
121
- expect(wiki.filterTiddlers("[tag[textexample]filter<larger-than-18>]",anchorWidget).join(",")).toBe("Red wine,Cheesecake,Chocolate Cake");
122
- })
393
+ rootWidget.setVariable("nr","18");
394
+ rootWidget.setVariable("larger-than-18-with-var","[get[text]length[]compare:integer:gteq<nr>]");
395
+ expect(wiki.filterTiddlers("[tag[textexample]] :filter[get[text]length[]compare:integer:gteq[18]]",anchorWidget).join(",")).toBe("Cheesecake,Chocolate Cake,Red wine");
396
+ expect(wiki.filterTiddlers("[tag[textexample]]",anchorWidget).join(",")).toBe("Cheesecake,Chocolate Cake,Red wine,Sparkling water");
397
+ expect(wiki.filterTiddlers("[tag[textexample]filter<larger-than-18>]",anchorWidget).join(",")).toBe("Cheesecake,Chocolate Cake,Red wine");
398
+ expect(wiki.filterTiddlers("[tag[textexample]filter<larger-than-18-with-var>]",anchorWidget).join(",")).toBe("Cheesecake,Chocolate Cake,Red wine");
399
+ });
400
+
401
+ it("should handle the :sort prefix", function() {
402
+ expect(wiki.filterTiddlers("a1 a10 a2 a3 b10 b3 b1 c9 c11 c1 :sort:alphanumeric[{!!title}]").join(",")).toBe("a1,a2,a3,a10,b1,b3,b10,c1,c9,c11");
403
+ expect(wiki.filterTiddlers("a1 a10 a2 a3 b10 b3 b1 c9 c11 c1 :sort:alphanumeric:reverse[{!!title}]").join(",")).toBe("c11,c9,c1,b10,b3,b1,a10,a3,a2,a1");
404
+ expect(wiki.filterTiddlers("[tag[shopping]] :sort:number:[get[price]]").join(",")).toBe("Milk,Chick Peas,Rice Pudding,Brownies");
405
+ expect(wiki.filterTiddlers("[tag[textexample]] :sort:number:[get[text]length[]]").join(",")).toBe("Sparkling water,Chocolate Cake,Red wine,Cheesecake");
406
+ expect(wiki.filterTiddlers("[tag[textexample]] :sort:number:reverse[get[text]length[]]").join(",")).toBe("Cheesecake,Red wine,Chocolate Cake,Sparkling water");
407
+ expect(wiki.filterTiddlers("[tag[notatag]] :sort:number[get[price]]").join(",")).toBe("");
408
+ expect(wiki.filterTiddlers("[tag[cakes]] :sort:string[{!!title}]").join(",")).toBe("cheesecake,Cheesecake,chocolate cake,Chocolate Cake,Persian love cake,Pound cake");
409
+ expect(wiki.filterTiddlers("[tag[cakes]] :sort:string:casesensitive[{!!title}]").join(",")).toBe("Cheesecake,Chocolate Cake,Persian love cake,Pound cake,cheesecake,chocolate cake");
410
+ expect(wiki.filterTiddlers("[tag[cakes]] :sort:string:casesensitive,reverse[{!!title}]").join(",")).toBe("chocolate cake,cheesecake,Pound cake,Persian love cake,Chocolate Cake,Cheesecake");
411
+ });
123
412
 
413
+ it("should handle the :map prefix", function() {
414
+ expect(wiki.filterTiddlers("[tag[shopping]] :map[get[title]]").join(",")).toBe("Brownies,Chick Peas,Milk,Rice Pudding");
415
+ expect(wiki.filterTiddlers("[tag[shopping]] :map[get[description]]").join(",")).toBe("A square of rich chocolate cake,a round yellow seed,,");
416
+ expect(wiki.filterTiddlers("[tag[shopping]] :map[get[description]else{!!title}]").join(",")).toBe("A square of rich chocolate cake,a round yellow seed,Milk,Rice Pudding");
417
+ // Return the first title from :map if the filter returns more than one result
418
+ expect(wiki.filterTiddlers("[tag[shopping]] :map[tags[]]").join(",")).toBe("shopping,shopping,shopping,shopping");
419
+ // Prepend the position in the list using the index and length variables
420
+ expect(wiki.filterTiddlers("[tag[shopping]] :map[get[title]addprefix[-]addprefix<length>addprefix[of]addprefix<index>]").join(",")).toBe("0of4-Brownies,1of4-Chick Peas,2of4-Milk,3of4-Rice Pudding");
421
+ });
422
+
423
+ it("should handle macro parameters for filter run prefixes",function() {
424
+ var widget = require("$:/core/modules/widgets/widget.js");
425
+ var rootWidget = new widget.widget({ type:"widget", children:[ {type:"widget", children:[]} ] },
426
+ { wiki:wiki, document:$tw.document});
427
+ rootWidget.makeChildWidgets();
428
+ var anchorWidget = rootWidget.children[0];
429
+ rootWidget.setVariable("greet","Hello $name$",[{name:"name"}],true);
430
+ rootWidget.setVariable("echo","$text$",[{name:"text"}],true);
431
+ // :map prefix
432
+ expect(wiki.filterTiddlers("1 :map[subfilter<greet Tom>join[ ]]",anchorWidget).join(",")).toBe("Hello Tom");
433
+ expect(wiki.filterTiddlers('[tag[shopping]] :map[<echo "$(index)$ $(currentTiddler)$">]',anchorWidget).join(",")).toBe("0 Brownies,1 Chick Peas,2 Milk,3 Rice Pudding");
434
+ // :reduce prefix
435
+ expect(wiki.filterTiddlers("1 :reduce[subfilter<greet Tom>join[ ]]",anchorWidget).join(",")).toBe("Hello Tom");
436
+ expect(wiki.filterTiddlers('[tag[shopping]] :reduce[<echo "$(accumulator)$ $(index)$ $(currentTiddler)$,">]',anchorWidget).join(",")).toBe(" 0 Brownies, 1 Chick Peas, 2 Milk, 3 Rice Pudding,");
437
+ });
124
438
  });
125
439
 
126
440
  })();
@@ -102,6 +102,25 @@ function runTests(wiki,wikiOptions) {
102
102
  expect(wiki.filterTiddlers("[tag[TiddlerSeventh]]").join(",")).toBe("Tiddler10,TiddlerOne,Tiddler Three,Tiddler11,Tiddler9,a fourth tiddler");
103
103
  });
104
104
 
105
+ it("should apply identical tag ordering irrespective of tag creation order", function () {
106
+ var wiki;
107
+ wiki = new $tw.Wiki(wikiOptions);
108
+ wiki.addTiddler({ title: "A", text: "", tags: "sortTag"});
109
+ wiki.addTiddler({ title: "B", text: "", tags: "sortTag"});
110
+ wiki.addTiddler({ title: "C", text: "", tags: "sortTag"});
111
+ expect(wiki.filterTiddlers("[tag[sortTag]]").join(',')).toBe("A,B,C");
112
+ wiki = new $tw.Wiki(wikiOptions);
113
+ wiki.addTiddler({ title: "A", text: "", tags: "sortTag"});
114
+ wiki.addTiddler({ title: "C", text: "", tags: "sortTag"});
115
+ wiki.addTiddler({ title: "B", text: "", tags: "sortTag"});
116
+ expect(wiki.filterTiddlers("[tag[sortTag]]").join(',')).toBe("A,B,C");
117
+ wiki = new $tw.Wiki(wikiOptions);
118
+ wiki.addTiddler({ title: "C", text: "", tags: "sortTag"});
119
+ wiki.addTiddler({ title: "B", text: "", tags: "sortTag"});
120
+ wiki.addTiddler({ title: "A", text: "", tags: "sortTag"});
121
+ expect(wiki.filterTiddlers("[tag[sortTag]]").join(',')).toBe("A,B,C");
122
+ });
123
+
105
124
  // Tests for issue (#3296)
106
125
  it("should apply tag ordering in order of dependency", function () {
107
126
  var wiki = new $tw.Wiki(wikiOptions);
@@ -169,6 +169,16 @@ describe("Utility tests", function() {
169
169
  expect(cv("1.1.1","1.1.2")).toEqual(-1);
170
170
  });
171
171
 
172
+ it("should insert strings into sorted arrays", function() {
173
+ expect($tw.utils.insertSortedArray([],"a").join(",")).toEqual("a");
174
+ expect($tw.utils.insertSortedArray(["b","c","d"],"a").join(",")).toEqual("a,b,c,d");
175
+ expect($tw.utils.insertSortedArray(["b","c","d"],"d").join(",")).toEqual("b,c,d");
176
+ expect($tw.utils.insertSortedArray(["b","c","d"],"f").join(",")).toEqual("b,c,d,f");
177
+ expect($tw.utils.insertSortedArray(["b","c","d","e"],"f").join(",")).toEqual("b,c,d,e,f");
178
+ expect($tw.utils.insertSortedArray(["b","c","g"],"f").join(",")).toEqual("b,c,f,g");
179
+ expect($tw.utils.insertSortedArray(["b","c","d"],"ccc").join(",")).toEqual("b,c,ccc,d");
180
+ });
181
+
172
182
  });
173
183
 
174
184
  })();
@@ -247,6 +247,40 @@ describe("Widget module", function() {
247
247
  expect(wrapper.children[0].children[2].sequenceNumber).toBe(4);
248
248
  });
249
249
 
250
+ it("should deal with the let widget", function() {
251
+ var wiki = new $tw.Wiki();
252
+ wiki.addTiddlers([
253
+ {title: "TiddlerOne", text: "lookup"},
254
+ {title: "TiddlerTwo", lookup: "value", newlookup: "value", wrong: "wrong"},
255
+ {title: "TiddlerThree", text: "wrong", value: "Happy Result", wrong: "ALL WRONG!!"}
256
+ ]);
257
+ var text="\\define macro() TiddlerThree\n"+
258
+ "\\define currentTiddler() TiddlerOne\n"+
259
+ "<$let "+
260
+ "field={{!!text}} "+
261
+ "currentTiddler='TiddlerTwo' "+
262
+ "field={{{ [all[current]get<field>] }}} "+
263
+ "currentTiddler=<<macro>>>"+
264
+ "<$transclude field=<<field>>/></$let>";
265
+ var widgetNode = createWidgetNode(parseText(text,wiki),wiki);
266
+ var wrapper = renderWidgetNode(widgetNode);
267
+ expect(wrapper.innerHTML).toBe("<p>Happy Result</p>");
268
+
269
+ // This is important. $Let needs to be aware enough not to let its
270
+ // own variables interfere with its ability to recognize no change.
271
+ // Doesn't matter that nothing has changed, we just need to make sure
272
+ // it recognizes that that its outward facing variables are unchanged
273
+ // EVEN IF some intermediate variables did change, there's no need to
274
+ // refresh.
275
+ wiki.addTiddler({title: "TiddlerOne", text: "newlookup"});
276
+ expect(widgetNode.refresh({})).toBe(false);
277
+
278
+ // But if we make a change that might result in different outfacing
279
+ // variables, then it should refresh
280
+ wiki.addTiddler({title: "TiddlerOne", text: "badlookup"});
281
+ expect(widgetNode.refresh({})).toBe(true);
282
+ });
283
+
250
284
  it("should deal with attributes specified as macro invocations", function() {
251
285
  var wiki = new $tw.Wiki();
252
286
  // Construct the widget node
@@ -350,6 +384,148 @@ describe("Widget module", function() {
350
384
  expect(wrapper.children[0].children[4].sequenceNumber).toBe(5);
351
385
  });
352
386
 
387
+
388
+ it("should deal with the list widget using a counter variable", function() {
389
+ var wiki = new $tw.Wiki();
390
+ // Add some tiddlers
391
+ wiki.addTiddlers([
392
+ {title: "TiddlerOne", text: "Jolly Old World"},
393
+ {title: "TiddlerTwo", text: "Worldly Old Jelly"},
394
+ {title: "TiddlerThree", text: "Golly Gosh"},
395
+ {title: "TiddlerFour", text: "Lemon Squash"}
396
+ ]);
397
+ // Construct the widget node
398
+ var text = "<$list counter='index'><$view field='text'/><$text text=<<index>>/><$text text=<<index-first>>/><$text text=<<index-last>>/></$list>";
399
+ var widgetNode = createWidgetNode(parseText(text,wiki),wiki);
400
+ // Render the widget node to the DOM
401
+ var wrapper = renderWidgetNode(widgetNode);
402
+ // Test the rendering
403
+ expect(wrapper.innerHTML).toBe("<p>Lemon Squash1yesnoJolly Old World2nonoGolly Gosh3nonoWorldly Old Jelly4noyes</p>");
404
+ // Test the sequence numbers in the DOM
405
+ expect(wrapper.sequenceNumber).toBe(0);
406
+ expect(wrapper.children[0].sequenceNumber).toBe(1);
407
+ expect(wrapper.children[0].children[0].sequenceNumber).toBe(2);
408
+ expect(wrapper.children[0].children[1].sequenceNumber).toBe(3);
409
+ expect(wrapper.children[0].children[2].sequenceNumber).toBe(4);
410
+ expect(wrapper.children[0].children[3].sequenceNumber).toBe(5);
411
+ expect(wrapper.children[0].children[4].sequenceNumber).toBe(6);
412
+ expect(wrapper.children[0].children[5].sequenceNumber).toBe(7);
413
+ expect(wrapper.children[0].children[6].sequenceNumber).toBe(8);
414
+ expect(wrapper.children[0].children[7].sequenceNumber).toBe(9);
415
+ expect(wrapper.children[0].children[8].sequenceNumber).toBe(10);
416
+ expect(wrapper.children[0].children[9].sequenceNumber).toBe(11);
417
+ expect(wrapper.children[0].children[10].sequenceNumber).toBe(12);
418
+ expect(wrapper.children[0].children[11].sequenceNumber).toBe(13);
419
+ expect(wrapper.children[0].children[12].sequenceNumber).toBe(14);
420
+ expect(wrapper.children[0].children[13].sequenceNumber).toBe(15);
421
+ expect(wrapper.children[0].children[14].sequenceNumber).toBe(16);
422
+ expect(wrapper.children[0].children[15].sequenceNumber).toBe(17);
423
+ // Add another tiddler
424
+ wiki.addTiddler({title: "TiddlerFive", text: "Jalapeno Peppers"});
425
+ // Refresh
426
+ refreshWidgetNode(widgetNode,wrapper,["TiddlerFive"]);
427
+ // Test the refreshing
428
+ expect(wrapper.innerHTML).toBe("<p>Jalapeno Peppers1yesnoLemon Squash2nonoJolly Old World3nonoGolly Gosh4nonoWorldly Old Jelly5noyes</p>");
429
+ // Test the sequence numbers in the DOM
430
+ expect(wrapper.sequenceNumber).toBe(0);
431
+ expect(wrapper.children[0].sequenceNumber).toBe(1);
432
+ expect(wrapper.children[0].children[0].sequenceNumber).toBe(18);
433
+ expect(wrapper.children[0].children[1].sequenceNumber).toBe(19);
434
+ expect(wrapper.children[0].children[2].sequenceNumber).toBe(20);
435
+ expect(wrapper.children[0].children[3].sequenceNumber).toBe(21);
436
+ expect(wrapper.children[0].children[4].sequenceNumber).toBe(22);
437
+ expect(wrapper.children[0].children[5].sequenceNumber).toBe(23);
438
+ expect(wrapper.children[0].children[6].sequenceNumber).toBe(24);
439
+ expect(wrapper.children[0].children[7].sequenceNumber).toBe(25);
440
+ expect(wrapper.children[0].children[8].sequenceNumber).toBe(26);
441
+ expect(wrapper.children[0].children[9].sequenceNumber).toBe(27);
442
+ expect(wrapper.children[0].children[10].sequenceNumber).toBe(28);
443
+ expect(wrapper.children[0].children[11].sequenceNumber).toBe(29);
444
+ expect(wrapper.children[0].children[12].sequenceNumber).toBe(30);
445
+ expect(wrapper.children[0].children[13].sequenceNumber).toBe(31);
446
+ expect(wrapper.children[0].children[14].sequenceNumber).toBe(32);
447
+ expect(wrapper.children[0].children[15].sequenceNumber).toBe(33);
448
+ expect(wrapper.children[0].children[16].sequenceNumber).toBe(34);
449
+ expect(wrapper.children[0].children[17].sequenceNumber).toBe(35);
450
+ expect(wrapper.children[0].children[18].sequenceNumber).toBe(36);
451
+ expect(wrapper.children[0].children[19].sequenceNumber).toBe(37);
452
+ // Remove a tiddler
453
+ wiki.deleteTiddler("TiddlerThree");
454
+ // Refresh
455
+ refreshWidgetNode(widgetNode,wrapper,["TiddlerThree"]);
456
+ // Test the refreshing
457
+ expect(wrapper.innerHTML).toBe("<p>Jalapeno Peppers1yesnoLemon Squash2nonoJolly Old World3nonoWorldly Old Jelly4noyes</p>");
458
+ // Test the sequence numbers in the DOM
459
+ expect(wrapper.sequenceNumber).toBe(0);
460
+ expect(wrapper.children[0].sequenceNumber).toBe(1);
461
+ expect(wrapper.children[0].children[0].sequenceNumber).toBe(18);
462
+ expect(wrapper.children[0].children[1].sequenceNumber).toBe(19);
463
+ expect(wrapper.children[0].children[2].sequenceNumber).toBe(20);
464
+ expect(wrapper.children[0].children[3].sequenceNumber).toBe(21);
465
+ expect(wrapper.children[0].children[4].sequenceNumber).toBe(22);
466
+ expect(wrapper.children[0].children[5].sequenceNumber).toBe(23);
467
+ expect(wrapper.children[0].children[6].sequenceNumber).toBe(24);
468
+ expect(wrapper.children[0].children[7].sequenceNumber).toBe(25);
469
+ expect(wrapper.children[0].children[8].sequenceNumber).toBe(26);
470
+ expect(wrapper.children[0].children[9].sequenceNumber).toBe(27);
471
+ expect(wrapper.children[0].children[10].sequenceNumber).toBe(28);
472
+ expect(wrapper.children[0].children[11].sequenceNumber).toBe(29);
473
+ expect(wrapper.children[0].children[12].sequenceNumber).toBe(38);
474
+ expect(wrapper.children[0].children[13].sequenceNumber).toBe(39);
475
+ expect(wrapper.children[0].children[14].sequenceNumber).toBe(40);
476
+ expect(wrapper.children[0].children[15].sequenceNumber).toBe(41);
477
+ // Add it back a tiddler
478
+ wiki.addTiddler({title: "TiddlerThree", text: "Something"});
479
+ // Refresh
480
+ refreshWidgetNode(widgetNode,wrapper,["TiddlerThree"]);
481
+ // Test the refreshing
482
+ expect(wrapper.innerHTML).toBe("<p>Jalapeno Peppers1yesnoLemon Squash2nonoJolly Old World3nonoSomething4nonoWorldly Old Jelly5noyes</p>");
483
+ // Test the sequence numbers in the DOM
484
+ expect(wrapper.sequenceNumber).toBe(0);
485
+ expect(wrapper.children[0].sequenceNumber).toBe(1);
486
+ expect(wrapper.children[0].children[0].sequenceNumber).toBe(18);
487
+ expect(wrapper.children[0].children[1].sequenceNumber).toBe(19);
488
+ expect(wrapper.children[0].children[2].sequenceNumber).toBe(20);
489
+ expect(wrapper.children[0].children[3].sequenceNumber).toBe(21);
490
+ expect(wrapper.children[0].children[4].sequenceNumber).toBe(22);
491
+ expect(wrapper.children[0].children[5].sequenceNumber).toBe(23);
492
+ expect(wrapper.children[0].children[6].sequenceNumber).toBe(24);
493
+ expect(wrapper.children[0].children[7].sequenceNumber).toBe(25);
494
+ expect(wrapper.children[0].children[8].sequenceNumber).toBe(26);
495
+ expect(wrapper.children[0].children[9].sequenceNumber).toBe(27);
496
+ expect(wrapper.children[0].children[10].sequenceNumber).toBe(28);
497
+ expect(wrapper.children[0].children[11].sequenceNumber).toBe(29);
498
+ expect(wrapper.children[0].children[12].sequenceNumber).toBe(42);
499
+ expect(wrapper.children[0].children[13].sequenceNumber).toBe(43);
500
+ expect(wrapper.children[0].children[14].sequenceNumber).toBe(44);
501
+ expect(wrapper.children[0].children[15].sequenceNumber).toBe(45);
502
+ //Remove last tiddler
503
+ wiki.deleteTiddler("TiddlerTwo");
504
+ //Refresh
505
+ refreshWidgetNode(widgetNode,wrapper,["TiddlerTwo"]);
506
+ //Test the refreshing
507
+ expect(wrapper.innerHTML).toBe("<p>Jalapeno Peppers1yesnoLemon Squash2nonoJolly Old World3nonoSomething4noyes</p>");
508
+ // Test the sequence numbers in the DOM
509
+ expect(wrapper.sequenceNumber).toBe(0);
510
+ expect(wrapper.children[0].sequenceNumber).toBe(1);
511
+ expect(wrapper.children[0].children[0].sequenceNumber).toBe(18);
512
+ expect(wrapper.children[0].children[1].sequenceNumber).toBe(19);
513
+ expect(wrapper.children[0].children[2].sequenceNumber).toBe(20);
514
+ expect(wrapper.children[0].children[3].sequenceNumber).toBe(21);
515
+ expect(wrapper.children[0].children[4].sequenceNumber).toBe(22);
516
+ expect(wrapper.children[0].children[5].sequenceNumber).toBe(23);
517
+ expect(wrapper.children[0].children[6].sequenceNumber).toBe(24);
518
+ expect(wrapper.children[0].children[7].sequenceNumber).toBe(25);
519
+ expect(wrapper.children[0].children[8].sequenceNumber).toBe(26);
520
+ expect(wrapper.children[0].children[9].sequenceNumber).toBe(27);
521
+ expect(wrapper.children[0].children[10].sequenceNumber).toBe(28);
522
+ expect(wrapper.children[0].children[11].sequenceNumber).toBe(29);
523
+ expect(wrapper.children[0].children[12].sequenceNumber).toBe(50);
524
+ expect(wrapper.children[0].children[13].sequenceNumber).toBe(51);
525
+ expect(wrapper.children[0].children[14].sequenceNumber).toBe(52);
526
+ expect(wrapper.children[0].children[15].sequenceNumber).toBe(53);
527
+ });
528
+
353
529
  it("should deal with the list widget followed by other widgets", function() {
354
530
  var wiki = new $tw.Wiki();
355
531
  // Add some tiddlers
@@ -585,6 +761,19 @@ describe("Widget module", function() {
585
761
  expect(wrapper.innerHTML).toBe("<p>Don't forget me.</p>");
586
762
  });
587
763
 
764
+ /** Special case. \import should parse correctly, even if it's
765
+ * the only line in the tiddler. Technically doesn't cause a
766
+ * visual difference, but may affect plugins if it doesn't.
767
+ */
768
+ it("should work when import pragma is standalone", function() {
769
+ var wiki = new $tw.Wiki();
770
+ var text = "\\import [prefix[XXX]]";
771
+ var parseTreeNode = parseText(text,wiki);
772
+ // Test the resulting parse tree node, since there is no
773
+ // rendering which may expose a problem.
774
+ expect(parseTreeNode.children[0].attributes.filter.value).toBe('[prefix[XXX]]');
775
+ });
776
+
588
777
  /** This test reproduces issue #4504.
589
778
  *
590
779
  * The importvariable widget was creating redundant copies into