Hi Fibbles,

>>> However, I'm also finding out that a lot of people are starting to use 
those filters anyway, so it may be time for me to define them in the 
documentation and ensure ongoing support for them. There seems to be a 
demand for them.

In my opinion some equivalent to links[] and backlinks[] that could return 
things like transclusions and soft links within macros would be extremely 
valuable. This is in my view a limitation of the TiddlyWiki core. Not sure 
exactly what you already have under the hood but I thought I'd mention what 
I think would be useful.

Thank you so much for this indispensable plugin!

On Saturday, 10 July 2021 at 21:21:47 UTC+1 Flibbles wrote:

> Hey all,
>
> The behavior of those Relink filter operators is undefined because I 
> didn't wish to lock their behavior down and have to remain backward 
> compatible for them (for instance, I did make changes to their behavior 
> between V1 and V2). They are highly specific toward Relink's internal 
> needs, and if I could have prevented them from being publicly exposed, I 
> probably would have.
>
> However, I'm also finding out that a lot of people are starting to use 
> those filters anyway, so it may be time for me to define them in the 
> documentation and ensure ongoing support for them. There seems to be a 
> demand for them.
>
> -Flibbles
>
> On Wednesday, July 7, 2021 at 11:02:42 AM UTC-4 Si wrote:
>
>> Thanks David, that's very handy.
>>
>> On Wednesday, 7 July 2021 at 13:47:57 UTC+1 David Gifford wrote:
>>
>>> Yes, this is a nice new way of filtering lists.
>>>
>>> Try <$list filter=" 
>>> [!is[system]all[current]relink:backreferences[]!title[$:/StoryList]sort[title]]".....
>>>
>>> On Tuesday, July 6, 2021 at 2:59:10 PM UTC-5 Si wrote:
>>>
>>>> Relink <https://flibbles.github.io/tw5-relink/> adds a "Relink 
>>>> references" tab the info panel for a tiddler, which appears to show any 
>>>> fields, links, macros etc. that reference the current one.
>>>>
>>>> Looking at the template for this (
>>>> $:/plugins/flibbles/relink/ui/TiddlerInfo/ReferencesTemplate 
>>>> <https://flibbles.github.io/tw5-relink/#%24%3A%2Fplugins%2Fflibbles%2Frelink%2Fui%2FTiddlerInfo%2FReferencesTemplate>),
>>>>  
>>>> it appears to use a "relink" filter operator:
>>>>
>>>> <$list filter="[<listItem>relink:report<currentTiddler>]">
>>>>
>>>> I can't find any documentation on this, is it something that is 
>>>> intended to be available to end users? I would potentially find it very 
>>>> useful for listing backlinks that are contained within a macro.
>>>>
>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ca02c92c-23a7-46a5-bec8-c9c20a9f9f7en%40googlegroups.com.

Reply via email to