Capitalisation of tiddler links

93 views
Skip to first unread message

Leopold Bloom

unread,
Jul 9, 2015, 11:36:50 AM7/9/15
to tiddl...@googlegroups.com
Hi all

I have been trying out TiddlyWiki. It create separate tiddlers based on the capitalisation of links in wikitext. Is there a way to avoid creating separate tiddlers for capitalised and non-capitalised links?

If I have a tiddler called "Grammar" and then I put something like [[grammar]] I want it to refer to same link as [[Grammar]]; it creates different link based on the capitalisation. I want lowercase grammar to link to the uppercase one or vice versa. I want internal links to be capitalisation blind, is there a setting I can turn off?

Thanks

Jed Carty

unread,
Jul 9, 2015, 3:50:58 PM7/9/15
to tiddl...@googlegroups.com
There isn't currently a way to make links ignore case like this. You can get around this by using [[grammar|Grammar]] where the part before the pipe (in this case grammar) is what is displayed as the link and the part after the pipe (Grammer) is the title of the tiddler that is linked to. You can use this to put whatever text you want as the link to a tiddler. Creating something that made links ignore case automatically would probably require making a javascript plugin.

Eric Shulman

unread,
Jul 9, 2015, 4:18:42 PM7/9/15
to tiddl...@googlegroups.com
On Thursday, July 9, 2015 at 12:50:58 PM UTC-7, Jed Carty wrote:
There isn't currently a way to make links ignore case like this. You can get around this by using [[grammar|Grammar]] where the part before the pipe (in this case grammar) is what is displayed as the link and the part after the pipe (Grammer) is the title of the tiddler that is linked to. You can use this to put whatever text you want as the link to a tiddler. Creating something that made links ignore case automatically would probably require making a javascript plugin.

This particular feature was also requested in TWClassic, for which I wrote this plugin:

It adds optional case-folding ("ignore case") and space-folding ("ignore spaces") to explicitly bracketed links (but not automatic WikiWord links).  For example, with LooseLinksPlugin installed and enabled, all of the following are recognized as links to a tiddler named CoreTweaks.

[[CoreTweaks]], [[coreTweaks]], [[core tweaks]], [[CORE TWEAKS]], [[CoRe TwEaKs]], [[coreTWEAKS]]

I plan on *eventually* re-writing many of my TiddlyTools Classic plugins for TW5, but I haven't really started on that yet.

-e

Leopold Bloom

unread,
Jul 9, 2015, 11:39:08 PM7/9/15
to tiddl...@googlegroups.com
Thanks for the suggestion Jed. I have read how to do this in the WikiText documentation.

I am currently using DokuWIki and was expecting a similar behaviour: for [[grammar police]]
and [[Grammar Police]] it defaults to lower case URLs and will generate grammar_police
(or grammar.police or grammar-police depending on settings).

I sometimes forget whether I created the capitalised or the non-capitalised version.
One advantage with the DokuWIki approach is that I don't have to think when I am
linking something using square brackets. Now I create and save the tiddler and when a link
doesn't look right I search for it and then edit the link in the tiddler to point to the right tiddler.

Leopold Bloom

unread,
Jul 9, 2015, 11:48:37 PM7/9/15
to tiddl...@googlegroups.com
This is exactly it. Hope you would find time to port this to TW5.

Offtopic:

How long would it take to port the TiddlyWiki Classic plugins to TW5?

I have seen orders of magnitude more plugins for the TW Classic than for TW5. Is it
that TW5 doesn't have as much developer interest as the classic one? In third party
sites I have seen many Classic plugins/customisations but virtually zero plugins/themes
for TW5

seen any for
Reply all
Reply to author
Forward
0 new messages