|Version 4 (modified by shesek, 6 years ago) (diff)|
Underscore_Wiki_Page automatic linking
Makes Trac transform the MediaWiki styled Underscore_Wiki_Page to a link automatically, as it does with CamelCaseWikiPage.
If you have any issues, create a new ticket.
Download the zipped source from [download:underscorewikiplugin here].
This plugin has two configuration options that can be set under the [underscore-wiki] section of TracIni.
- ignore_missing_pages - Enable/disable highlighting Underscore_Wiki_Page links to missing pages. Defaults to false (not ignoring them, they'll be shown in grey with a question mark).
- uppercase_in_words - Enable/disable using upper case letters in places other than first character of every word. Only Foo_Bar is supported by default, setting this to true adds support for Foo_BAR, Foo_BaR, FOO_Bar, etc. Defaults to false.
[underscore-wiki] ignore_missing_pages = true uppercase_in_words = false
Transforms every Foo_Bar (at least two words, each word must start with an upper case letter) into a link to a wiki page.