No activity today, make something!
afya
DisableWikiLinksPlugin
Markdown Help
Search globally
Save Tiddler
Revert Changes
Cancel Edit
/*** |Name|DisableWikiLinksPlugin| |Source|http://www.TiddlyTools.com/#DisableWikiLinksPlugin| |Version|1.6.0| |Author|Eric Shulman| |License|http://www.TiddlyTools.com/#LegalStatements| |~CoreVersion|2.1| |Type|plugin| |Description|selectively disable TiddlyWiki's automatic ~WikiWord linking behavior| This plugin allows you to disable TiddlyWiki's automatic ~WikiWord linking behavior, so that WikiWords embedded in tiddler content will be rendered as regular text, instead of being automatically converted to tiddler links. To create a tiddler link when automatic linking is disabled, you must enclose the link text within {{{[[...]]}}}. !!!!!Usage <<< You can block automatic WikiWord linking behavior for any specific tiddler by ''tagging it with<
>'' (see configuration below) or, check a plugin option to disable automatic WikiWord links to non-existing tiddler titles, while still linking WikiWords that correspond to existing tiddlers titles or shadow tiddler titles. You can also block specific selected WikiWords from being automatically linked by listing them in [[DisableWikiLinksList]] (see configuration below), separated by whitespace. This tiddler is optional and, when present, causes the listed words to always be excluded, even if automatic linking of other WikiWords is being permitted. Note: WikiWords contained in default ''shadow'' tiddlers will be automatically linked unless you select an additional checkbox option lets you disable these automatic links as well, though this is not recommended, since it can make it more difficult to access some TiddlyWiki standard default content (such as AdvancedOptions or SideBarTabs) <<< !!!!!Configuration <<< <
> Disable ALL automatic WikiWord tiddler links <
> ... except for WikiWords //contained in// shadow tiddlers <
> Disable automatic WikiWord links for non-existing tiddlers Disable automatic WikiWord links for words listed in: <
> Disable automatic WikiWord links for tiddlers tagged with: <
> <<< !!!!!Revisions <<< 2008.07.22 [1.6.0] hijack tiddler changed() method to filter disabled wiki words from internal links[] array (so they won't appear in the missing tiddlers list) 2007.06.09 [1.5.0] added configurable txtDisableWikiLinksTag (default value: "excludeWikiWords") to allows selective disabling of automatic WikiWord links for any tiddler tagged with that value. 2006.12.31 [1.4.0] in formatter, test for chkDisableNonExistingWikiLinks 2006.12.09 [1.3.0] in formatter, test for excluded wiki words specified in DisableWikiLinksList 2006.12.09 [1.2.2] fix logic in autoLinkWikiWords() (was allowing links TO shadow tiddlers, even when chkDisableWikiLinks is TRUE). 2006.12.09 [1.2.1] revised logic for handling links in shadow content 2006.12.08 [1.2.0] added hijack of Tiddler.prototype.autoLinkWikiWords so regular (non-bracketed) WikiWords won't be added to the missing list 2006.05.24 [1.1.0] added option to NOT bypass automatic wikiword links when displaying default shadow content (default is to auto-link shadow content) 2006.02.05 [1.0.1] wrapped wikifier hijack in init function to eliminate globals and avoid FireFox 1.5.0.1 crash bug when referencing globals 2005.12.09 [1.0.0] initial release <<< !!!!!Code ***/ //{{{ version.extensions.DisableWikiLinksPlugin= {major: 1, minor: 6, revision: 0, date: new Date(2008,7,22)}; if (config.options.chkDisableNonExistingWikiLinks==undefined) config.options.chkDisableNonExistingWikiLinks= false; if (config.options.chkDisableWikiLinks==undefined) config.options.chkDisableWikiLinks=false; if (config.options.txtDisableWikiLinksList==undefined) config.options.txtDisableWikiLinksList="DisableWikiLinksList"; if (config.options.chkAllowLinksFromShadowTiddlers==undefined) config.options.chkAllowLinksFromShadowTiddlers=true; if (config.options.txtDisableWikiLinksTag==undefined) config.options.txtDisableWikiLinksTag="excludeWikiWords"; // find the formatter for wikiLink and replace handler with 'pass-thru' rendering initDisableWikiLinksFormatter(); function initDisableWikiLinksFormatter() { for (var i=0; i
Autocomplete tags from:
Global tags
Local tags
systemConfig