Automatically creates links for all known Wiki pages
Automatically create links for all known Wiki pages, even those that are not in CamelCase.
For example, with this plugin enabled, the bare word plugin would be linked thus plugin. Autolinking a word can be disabled by prefixing the word with !, as is done for disabling autolinking of CamelCase wiki pages.
To install the plugin, you will need to add the following entry to the components section of your trac.ini file:
[components] tracautowikify.* = enabled ...
The AutoWikifyPlugin has three configurable options in the autowikify section of trac.ini:
|minimum_length=<int>||Override the default minimum of 3 character long page names recognised.|
|explicitly_wikify=<name>[, <name> ...]||Specify a list of names to explicitly wikify.|
|exclude=<name>[, <name> ...]||A list of names to exclude from autowikification.|
If you want to use the configuration options mentioned above, add the following section to trac.ini:
[autowikify] minimum_length=<number> explicitly_wikify=<comma-separated list of words> exclude=<comma-separated list of words>
If you have any issues, create a new ticket.
Download the zipped source from here.
autowikifyplugin: follow-up to , ignores ucs4 characters on narrow build
fixed #2252: autowikify works with CJK wiki name
Refs #2252: Refactored, in preparation for applying Jun's patch to support Japanese wiki page names.
- Added framework for a test suite.
- Refactored code to reduce amount of repetitive work in creating and filtering the set of wiki pages. The work of creating the set is now done on initialization, and the IWikiChangeListener methods are solely responsible for updating the set.