I present Relink!It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It's well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
I would absolutely love to get some feedback. I really hope this helps people.-Flibbles
--
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/32d77d15-9e87-4856-a42b-a0ffbb507e2f%40googlegroups.com.
I present Relink!It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
I present Relink!
It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
I present Relink!
It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
I present Relink!
It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
I present Relink!
It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
I present Relink!
I present Relink!
It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
@PMario: So there's already a filter operator `[relink:references[]]` which shows which tiddlers would be changed by an update.
Good work.
Thanks
Tony
--
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/23b2529d-f9da-49e0-aee8-4061f9eaa6e2%40googlegroups.com.
This is great!I am thinking how can I merge this into Tiddler Commander plugin!
--
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/2aa85d7f-ddf5-4db4-b860-2c597904ecba%40googlegroups.com.
<$action-setfield $tiddler=<<currentTiddler>> title=<<newTitle>> />
<$action-deletetiddler $tiddler=<<currentTiddler>> />
<$action-sendmessage $message="tm-rename-tiddler" from=<<currentTiddler>> to=<<newTitle>> />
Hi Mario,Because when I rename a tiddler using Tiddler commander, it does not update links and etc.I have to connect these two some how!Best wishesMohammad
On Sat, Sep 7, 2019 at 1:17 PM PMario <pmar...@gmail.com> wrote:
On Saturday, September 7, 2019 at 6:14:45 AM UTC+2, Mohammad wrote:--This is great!I am thinking how can I merge this into Tiddler Commander plugin!Why do you want to merge it. ... Try to use it as a plugin, and let the users decide if they want to install both plugins.-m
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 tiddl...@googlegroups.com.
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/1ffadd14-7df5-4b82-be30-bdfb12e70363%40googlegroups.com.
Hi FlibblesThank you for update!Yes, Tiddler Commander is a pure TW script and does not use any JS.So, the current technology at tiddlywiki.com is to create a new tiddler!By the way it is tracking of a relink seems to be much more complicated to be done using Tiddler Commander or pure TW scripts.Best wishesMohammad
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1ffadd14-7df5-4b82-be30-bdfb12e70363%40googlegroups.com.
Tiddlywiki.com has the means to rename tiddlers rather than just create and delete them.
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/6bdc2848-32a8-448d-843a-e0a7ac24b480%40googlegroups.com.
<$action-sendmessage $message="tm-rename-tiddler" from=<<currentTiddler>> to=<<newTitle>> />
Hi Flibbles,No, I did not said this should be done on Relink side! Yes, it is on Tiddler Commander side!By the way, I appreciate if you explain me how to do this using pure TW script!As you mentioned in your previous post Tiddler Commander uses<$action-setfield $tiddler=<<currentTiddler>> title=<<newTitle>> />
<$action-deletetiddler $tiddler=<<currentTiddler>> />That's true! but if I want to do this without create-delete actions how it is possibleTiddlywiki.com has the means to rename tiddlers rather than just create and delete them.Best wishesMohammad
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6bdc2848-32a8-448d-843a-e0a7ac24b480%40googlegroups.com.
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/b2045cf6-5c6a-4779-b9ed-32833cb25bed%40googlegroups.com.
Hey Flibbles,No problem :-)So, does this new tm-rename-tiddler need Relink plugin?Best wishesMohammad
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b2045cf6-5c6a-4779-b9ed-32833cb25bed%40googlegroups.com.
I present Relink!
It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It's well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
I would absolutely love to get some feedback. I really hope this helps people.
-Flibbles
--
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/32d77d15-9e87-4856-a42b-a0ffbb507e2f%40googlegroups.com.
[all[current]object-type[office]] [all[current]object-type-person]]
I present Relink!It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
Edit: It now also supports macros, making it a fully comprehensive relinking plugin.
<$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}>
<$list filter="[{!!draft.of}!is[system]]" variable=nul>
<$checkbox tiddler="$:/config/RelinkOnRename" field="text" checked="yes" unchecked="no" default="no"> {{$:/language/EditTemplate/Title/Relink/Prompt}}</$checkbox>
<<conditional-list impossibles EditTemplate/Title/Impossibles/Prompt "[{!!draft.title}relink:impossible<fromTitle>]">>
<<conditional-list references EditTemplate/Title/References/Prompt "[relink:references<fromTitle>!title[$:/StoryList]sort[title]]">>
</$list>
</$vars>
And I'm unclear, but it sounds like not only that, but you want to be able to configure which fields, macros, widgets, and operators get updated per tiddler. So a `person-office` list field might get updated on tiddler A, but not tiddler B.
No need to defend yourself. This is a fantastic solution.
What changes you can make would be great and I will hack my self the rest of the way.
My needs are far less complex than you think and in time I may provide some helpful examples.
Regards
Tony
Tony,
I second this notion
Pit.W
This looks fantastic.
I suggest people try and break it and if and when they cant it be proposed for the standard distribution,
goodwork
Tony
On Monday, September 2, 2019 at 12:27:19 PM UTC+10, Flibbles wrote:
I present Relink!
It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive. The only thing it doesn't manage is macro arguments. If there's a lot of interest in that, I'll figure out how to get that working.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
I would absolutely love to get some feedback. I really hope this helps people.
-Flibbles
--
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/e763de39-11f0-453b-a5a6-24bdfaa9e400%40googlegroups.com.
_________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de
Version 1.5 released. Macro parameter relinking is now supported. It comes with its own whitelist.(e.g. <<myMacro tiddlerNameToRelink>> or <$macrocall $name=myMacro param="tiddlerNameToRelink" />)Now Relink can rename any kind of WikiText pattern.Also, bugfixes.-Flibbles
On Sunday, September 1, 2019 at 10:27:19 PM UTC-4, Flibbles wrote:
I present Relink!It relinks fields, links, WikiLinks, widgets, transclusions, lists, and filters. It's highly customizable, but it will also work out of the box. It's robust, and can handle bizarre name changes. It works through whitelisting, so it doesn't change plaintext instances of a title, or other instances where an updated would be undesirable. It's also well tested (but still really new!!). It should be comprehensive.
Otherwise, I really hope everyone gets good use out of this. Having written it, I completely understand why this isn't a core feature. It was hard as crap! There are so many edge cases! I'm sure more will still crop up.
Edit: It now also supports macros, making it a fully comprehensive relinking plugin.
\define link-to-tiddler() [[ tiddler_name ]]
<$macrocall $name="details" sum=<<link-to-tiddler>> />
<!-- This works because Relink interprets the bodies of macros as wikitext, and this will relink the link as expected. -->
<$macrocall $name="details" src={{ tiddler_name }} />
<!-- this works by allowing the indirect reference to be processed before being passed into the macro. Relink will recognize this form just fine and relink as needed.
However, this doesn't work for your sum parameter from your example, since it looks like you want the LINK to the tiddler to be passed, not the contents. -->
\define link-to-tiddler() [[ tiddler_name ]]
<$macrocall $name="details" sum=<<link-to-tiddler>> src={{ tiddler_name }} />
<<details sum:"[[ tiddler ]]" src="{{ tiddler }}" >>
\define myMacro(tiddler, myFilter, class) ...
<<RelinkMacro myMacro tiddler title>>
<<RelinkMacro myMacro myFilter filter>>
So that sounds like dangerous territory which would make Relink prone to make unwanted changes to people's tiddlers.
<<RelinkMacro myMacro type:"wikitext">>
So that sounds like dangerous territory which would make Relink prone to make unwanted changes to people's tiddlers.
I can see that. When I tried Relink for the first time I was confused that it didn't happen by default.I like the idea of the RelinkMacro macro! Maybe if a particular parameter wasn't specified, it would set all the parameters of that macro to that type, like:
<<RelinkMacro myMacro type:"wikitext">>I'm just trying to be lazy though, it's a good idea either way.
--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/e21f6b9e-4c40-491b-9ba8-16a0fbfb3512%40googlegroups.com.
How does one update a plug-in?
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/M4b_3qh--3-2%40tutamail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMCrXKiLOoKXfDFDMR%2BnFPSdzgzB0aUBn4avLU1bQ4dSrA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMCrXKiLOoKXfDFDMR%2BnFPSdzgzB0aUBn4avLU1bQ4dSrA%40mail.gmail.com.
Mohammad, if I understand well one should keep a list of the 3rd party plug-ins installed and regularly check if there are updates, right?
I did not install Relink myself, it was there already, maybe because I am using TiddlyBlink. In the list of plug-ins in the Control panel, is there a way to tell which are 3rd party plug-ins?
11 Apr 2020, 08:03 by mohamma...@gmail.com:
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e21f6b9e-4c40-491b-9ba8-16a0fbfb3512%40googlegroups.com.
--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 tiddl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/M4b_3qh--3-2%40tutamail.com.
--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 tiddl...@googlegroups.com.
Many of us have dozens of wikis with different plugins. You rarely need to update them, more often you need to update the core to access a new feature. occasionally you may see something odd and that's when you can look for relevant update.
Regards
Tony
--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/04ee8d34-481a-4f16-b01f-f9a9bac9752b%40googlegroups.com.
--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/20c7abd8-5f86-45d1-a07a-c47190f3290c%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
\relink myMacro filter:filter template:wikitext
\define myMacro(filter, template)
...
\end
New Feature!The \relink pragma! You can use it to locally declare macro parameters for relinking. For example:\relink myMacro filter:filter template:wikitext
\define myMacro(filter, template)
...
\end
vz
..
--
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/a57a3b3b-9a8b-4147-8717-40787ef67befn%40googlegroups.com.
Really? I would have thought Tiddler Commander could handle that just fine.
If somebody wanted to rename a non-existent tag using Relink, I'd tell them to make the tag, rename it, and then delete it.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1467fcd4-dad8-4f0e-bf23-cfdfb1395005n%40googlegroups.com.
--
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fc82a8f9-81b6-423f-8093-ccf285024916n%40googlegroups.com.
Not sure I understand. Relink isn't integrated with any package managers like npm. To install Relink under Node.JS, you'd download the source from github, and the github page has instructions on how to install.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f4d1b30c-53ac-4d0e-8c9a-deeec5ff16ebn%40googlegroups.com.