wikirunrule, wikiblockrule and wikipragmarule module types don't exist?

45 views
Skip to first unread message

Matt DeMoss

unread,
Aug 6, 2019, 6:35:54 PM8/6/19
to TiddlyWiki
Searching the source, wikirunrule doesn't occur except in the documentation.
https://github.com/Jermolene/TiddlyWiki5/search?utf8=%E2%9C%93&q=wikirunrule&type=

There is a module-type: wikirule that sees use in a number of plugins. Is that the correct thing to use?

Jeremy Ruston

unread,
Aug 7, 2019, 5:19:26 AM8/7/19
to tiddl...@googlegroups.com
Hi Matt

Searching the source, wikirunrule doesn't occur except in the documentation.
https://github.com/Jermolene/TiddlyWiki5/search?utf8=%E2%9C%93&q=wikirunrule&type=

There is a module-type: wikirule that sees use in a number of plugins. Is that the correct thing to use?

I’m afraid that the /dev docs are somewhat out of date. In the case of https://tiddlywiki.com/dev/#WikiRuleModules, we subsequently changed the parser modules to use a single module type for all parsers, making it possible to have parse rules that operated in more than one mode.

It’s proved hard for PR authors to be familiar enough with the docs to know all the places that need updating when there’s a a change. Nonetheless, the docs that are there should give you enough of a grounding to be able to work through the code.

Best wishes

Jeremy


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f908b498-730d-4b65-94e0-9c905e03e8e6%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages