I have a plugin I’m developing and it needs to over-ride one of the tiddlers in someone else’s plugin. I assigned my own plugin a priority of “3”, and the other plugin has no assigned priority. When I saved and reloaded, the original tiddler, not mine, is still being used.
When I click on my version of the tiddler inside the plugin, I’m shown the contents of the original tiddler (not mine). By editing the plugin, I can inspect the JSON and see that the plugin itself contains my tiddler and text, so I haven’t miscopied the wrong tiddler.
But the tiddler that “wins” when I click on the link is the original.
So a plugin with no plugin-priority will load after all the ones with a priority, meaning that in essence, those without a priority will override those with one. (I’m pretty sure that I’ve read correctly that later-loaded plugins simply override the same-named tiddlers.) I believe these should be reversed:
} else if("plugin-priority" in a.fields) {
return +1;
} else if("plugin-priority" in b.fields) {
return -1;
Thanks. I added a comment there. The existing situation doesn’t seem to offer Mark any solution except for “Zargon”. And to take advantage of that, he’d have to skip the priority on his own, which means when I want to override a tiddler in his plugin, I’m going to have to use “Zygote”!