There is a small issue which is not part of the main functionality. You can see itin the bonus tiddler AliasesOverview. I'm announcing this thing anywayhoping that some friendly soul can help out with that issue.<:-)
is[alias]
, all[aliases]
, [aliasbacklinks[]]
, [[?]aliasbacklinks[]sort[title]]
My suggestion is: as previously discussed here by others, it would be great if the core can implement tiddlers to have unique ID to be addressed with many names!(effors have been made and plugins are available but nothing in the core)
There's no need to create a human un-friendly ID.
Does your tool differ in a crucial respect from https://mklauber.github.io/tw5-plugins/#Aliases ?
Nice idea. If such alias names for tiddlers where searchable like regular titles this could be revolutionary. I imagine the caption field would benefit from such a feature as well.
Nice work. ... Seems to be similar to my uni-link plugin [1]. ...
One main problem, for me, with aliases was, that I also want to have the "alias-backlink" info in the info panel.
There is a short video [2], which shows all the functions. uni-link plugin also implements some filter operators, that help with alias handling.
is[alias]
,all[aliases]
,[aliasbacklinks[]]
,[[?]aliasbacklinks[]sort[title]]
I think the core could really profit from one of all the solutions out there. Maybe a good mix?
No, I think these are great stuff and help people to learn different approach!So, please keep it! I like your simple solution too!
Since tiddlywiki handles tiddler titles in many ways people's expectations can be quite high to get the same features with any alias system.
Accessing an alias name needs to iterate over every tiddler in the store and have a look at the aliases field, if the alias is there.Worst case: The last tiddler contains the wanted alias. :/Best case: The first tiddler contains the alias. ... In average that's slower as directly accessing a title.
plugins can use a caching mechanism. So only the first lookup will be slower.
\define find_original()
<$list filter="[field:alias/\|$(the_alias)$\|/(i)sort[title]limit[1]]"><$link>{{$(the_alias)$||unwikified}}</$link></$list>
\end
<$set name="the_alias" value={{!!title}}><<find_original>></$set>
PMario wrote:Accessing an alias name needs to iterate over every tiddler in the store and have a look at the aliases field, if the alias is there.Worst case: The last tiddler contains the wanted alias. :/Best case: The first tiddler contains the alias. ... In average that's slower as directly accessing a title.Don't all tiddlers still have to be searched even if you hit that best case? Or how do you "cut" a filter search? My impression is that every filter is run "in full".
plugins can use a caching mechanism. So only the first lookup will be slower.Could this theoretically be "brought to the front" so users could state "chache this"... maybe even as part of Jermys new "kill the magic black boxes" ambition?