Hi Kevin

> When I see a plugin which says it contains a shadow tiddler from 
> $:/core/modules/ 
> <http://nome.github.io/TiddlyPlugins/#:%24%3A%2Fplugins%2Fnome%2FKbShortcuts>,
>  I presume it is overriding a core tiddler.  Is that right?  

Not necessarily; a plugin might contain a tiddler using the same naming 
convention (e.g. $:/core/modules/foobar) that doesn’t actually override a 
shadow tiddler. You can check using the “Info” panel; look in the “Advanced” 
tab.

> When the developer is developing that plugin, is he editing on the core 
> tiddler itself, and then packaging it into the plugin, or is there a way of 
> overriding a core tiddler for development, and then bundling that 
> override-tiddler into the plugin?  
> 
> I'm assuming  he is using Node.js and GitHub for development 
> <https://tiddlywiki.com/dev/static/Developing%2520plugins%2520using%2520Node.js%2520and%2520GitHub.html>.
>   Maybe it is best to use the experimental 'create plugins in the browser' if 
> the plugin will override core tiddlers? 

Any of the available techniques for building a plugin can include tiddlers that 
override core tiddlers.

There are some core tiddlers that are OK to overwrite (eg settings like 
$:/theme). The problems come when overwriting the core logic of TiddlyWiki 
(whether JS modules or wikitext templates). The risk is that a future update to 
the underlying core will not be propagated to the modified copy.

If a plugin author finds that they need to overwrite a core plugin then I'd 
advise raising it so that we can explore whether it’s possible to add hooks to 
make it possible to avoid the overwrite.

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+unsubscr...@googlegroups.com 
> <mailto:tiddlywiki+unsubscr...@googlegroups.com>.
> To post to this group, send email to tiddlywiki@googlegroups.com 
> <mailto:tiddlywiki@googlegroups.com>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/b57b5e0f-374e-4d0f-b191-dc1eb04005ac%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/b57b5e0f-374e-4d0f-b191-dc1eb04005ac%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/E64D8944-19C1-4E54-B170-CF5685D876BB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to