Hi Springer > Just for a quick check, I set up a new prerelease with the plugin and > imported my old tiddler set (several hundred strong, from the Classic > version, with minimal explicit internal links) and confirmed that it displays > strings corresponding to all my tiddler titles as links in RedirectMacro > fashion. (So far, it doesn't do anything with alias or aliases fields, I > think, although I haven't yet installed any kind of alias-related plugin in > this experimental file.)
That’s right, the plugin only implements freelinks, not aliases. > As you say, it does slow down a large wiki, even for operations that I would > not have thought to be related to the link-display process... I wonder > whether it would be possible to confine the virtual internal links action to > a specific tagged set of tiddlers or to some other list condition? Would that > help? That’s definitely one of the options to explore for improving performance. > I think it's a marvelous working proof-of-concept, and since the plugin can > be disabled (restoring nimble speed to the whole engine), I suspect many > people might be intrigued by the chance to show off a tightly-woven version > of their file. I could imagine disabling the plugin during long editing > sessions, and turning it on for certain demonstrations. But it sure would be > ideal to have a variation that keeps the potential quicksand element confined > to a tag-specific sandbox of tiddlers... It’s possible to change which tiddlers are freelinked by customising the shadow tiddler $:/plugins/tiddlywiki/freelinks/macros/view. This tiddler is tagged $:/tags/Macro/View (a new system tag) which means that it will be included as a local macro in each view template. By default, it’s content is: <$set name="tv-freelinks" value={{$:/config/Freelinks/Enable}}/> That means that for each tiddler the variable tv-freelinks will be set to the tiddler $:/config/Freelinks/Enable, which is set to “yes” or “no” by the settings in control panel. Instead, we can use a filter expression to, say, only freelink the tiddler with the title “HelloThere”: <$set name="tv-freelinks" value={{{ [<currentTiddler>match[HelloThere]then[yes]else[no]] }}}/> Or, we can make a filter that will only freelink tiddlers with the tag “MyTag”: <$set name="tv-freelinks" value={{{ [<currentTiddler>tag[MyTags]then[yes]else[no]] }}}/> Or we can combine both approaches: <$set name="tv-freelinks" value={{{ [<currentTiddler>match[HelloThere]] ~[<currentTiddler>tag[MyTag]] +[then[yes]else[no]] }}}/> (I’ll add the above notes to the docs). > Thanks again Jeremy, and all, for being such an amazingly responsive > community! It’s a pleasure. It’s an interesting problem and I am delighted to have been able to welcome you back to the community with it, Best wishes Jeremy > > -Springer > > On Friday, January 3, 2020 at 5:47:40 AM UTC-5, Jeremy Ruston wrote: > Hi Springer > > I’ve had an initial stab at a freelinking plugin. As expected, it noticeably > slows down large wikis with many tiddlers. But it works pretty well with > smallish wikis. I’ve got some ideas for improving the speed, but it’s still > worth trying out. > > The plugin is available in the prerelease plugin library. That means you > should download a copy of the prerelease from > https://tiddlywiki.com/prerelease/empty.html > <https://tiddlywiki.com/prerelease/empty.html> or > https://tiddlywiki.com/prerelease/index.html > <https://tiddlywiki.com/prerelease/index.html> and then use the plugin > library to install “freelinks”. > > Because it’s a prerelease, please don’t rely on it for anything important, > but do report how it works with your existing corpus. > > By default, freelinking is only applied within the main view template and the > preview panel, and not, for instance, in the sidebar. At this point, > automatically generated links do not appear as backlinks. > > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/cfffb3c5-8f27-48d9-964e-2fb2187e46d3%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/cfffb3c5-8f27-48d9-964e-2fb2187e46d3%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/D89ED4F8-48EF-4776-9DB6-1FD3464C61C6%40gmail.com.