Operator to get soft links and soft backlinks to transcluded tiddlers

From official documentation

A link is soft if it is:

  • contained in text trancluded from elsewhere


    Soft links are not detected by link-related filter operators such as backlinks, links, all and is.

For hard links, we have operators like links and backlinks. Do we have any operator added in recent versions to get soft links generated from transcluded texts?

I asked a related question in 2020. Since then, we have several new and powerful plugins, like Relink, which handles transcluded tiddlers. So I was wondering whether we now have operators to extract transcluded links.

What am I trying to do?

I am using Node Explorer from the Shiraz plugin. I noticed that it does not show transcluded links.

So far, I have been using tags to group all the transcluded links in a single set so that they all are linked in such a relation that the node explorer can detect using links and backlinks.

But if there is a filter operator to get soft links, I will not be forced to remember putting transcluded tiddlers under a tag.

In some ways soft links can be found with the search operator, that is find this “title string” where it appears in other tiddlers.

However I think there may be other ways to achieve what you want especially if you can choose how the content is entered.

Can you give a small example of the actual content you are using that you can’t trace with existing tools?

The goal is to show backlinks to transcluded tiddlers in Shiraz’s node explorer.

Search filters can work, but there are a number of ways a tiddler can be transcluded; using {{}} or using macro.

I looked it up on Github. There has been discussion on adding operators since 2014, but so far, no progress has been made.

These links led me to Relink Wikimethods.

Seems, I can use getTiddlerRelinkBackreferences for what I am trying to do.

Now the question is how to use a JS method inside TW macros. :thinking:

Looking at relink, it would be nice if its internals, that identifies the values to “rename/relink”, where exposed as filter operators, you could then list all titles containing a transclusion or link in a field etc…

  • I think the “only” option is to create a javascript macro and reference it in the wikitext.

https://postkevone.github.io/tiddlyresearch/#%24%3A%2Fplugins%2Fkebi%2Ftiddlyresearch-references

This plug in might be of use for you ?

Thank you. I’ll try it as soon as I get some downtime.