Hello whatever,

thanks for your answer. To be honest, my single line solution was
'borrowed' from http://www.TiddlyTools.com/#DisableWikiLinksPlugin. It
worked well up to now, so I thought of it being the central part of
the plugin. And it did the job, as long as I eschewed partial
transclusion (e.g. <<tiddler Tiddler##Section>>).
Meanwhile I've re-read the plugin source and browsed the TW source and
know now that it's only half the job. For the whole thing, the
wikiLink formatter hast to be tweaked too. So my three line
DisableWikiLinksPlugin replacement looks like this:

    for (var i=0; i<config.formatters.length &&
config.formatters[i].name!="wikiLink"; i++);
    config.formatters[i].handler=function(w)
{ w.outputText(w.output,w.matchStart,w.nextMatch) };
    Tiddler.prototype.autoLinkWikiWords = function() { return
false; }

UBi

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to