Changes between Version 13 and Version 14 of UnderscoreWikiPlugin
- Timestamp:
- Nov 18, 2015, 11:25:40 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UnderscoreWikiPlugin
v13 v14 5 5 == Description 6 6 7 A tiny one-file plugin that transforms the !MediaWiki styled `Underscore_Wiki_Page` to a link automatically, as it does with `CamelCaseWikiPage`. The wiki page name must have at least two words and each word must start with an upper case letter (like `Foo_Bar_Baz`).7 This is a one-file plugin that transforms the !MediaWiki styled `Underscore_Wiki_Page` to a link automatically, as it does with `CamelCaseWikiPage`. The wiki page name must have at least two words and each word must start with an upper case letter, like `Foo_Bar_Baz`. 8 8 9 We originally created it to make class names (like Controller_Frontend_Foobar) link to a corresponding wiki page automatically. We do think that !CamelCaseStyle is prettier and still use it for mostwiki pages.9 It was originally created to make class names, like `Controller_Frontend_Foobar` link to the corresponding wiki page automatically. However, we do think that !CamelCaseStyle is prettier and should still be used for Trac wiki pages. 10 10 11 11 == Bugs/Feature Requests … … 21 21 == Download 22 22 23 Download the zipped source from [ download:underscorewikiplugin here].23 Download the zipped source from [export:underscorewikiplugin here]. 24 24 25 25 == Source 26 26 27 You can check out UnderscoreWikiPlugin from [ http://trac-hacks.org/svn/underscorewikiplugin here] using Subversion, or [source:underscorewikiplugin browse the source] with Trac.27 You can check out UnderscoreWikiPlugin from [/svn/underscorewikiplugin here] using Subversion, or [source:underscorewikiplugin browse the source] with Trac. 28 28 29 29 == Installation 30 30 31 This plugin consists of a single file. You can simply put the [ http://trac-hacks.org/svn/underscorewikiplugin/0.12/UnderscoreWiki.py UnderscoreWiki.py] file directly in your plugins directory.31 This plugin consists of a single file. You can simply put the [/svn/underscorewikiplugin/0.12/UnderscoreWiki.py UnderscoreWiki.py] file directly in your plugins directory. 32 32 33 33 You can download it using wget: 34 34 {{{#!sh 35 $ wget -O /path/to/trac/env/plugins/UnderscoreWiki.py http ://trac-hacks.org/svn/underscorewikiplugin/0.12/UnderscoreWiki.py35 $ wget -O /path/to/trac/env/plugins/UnderscoreWiki.py https://trac-hacks.org/svn/underscorewikiplugin/0.12/UnderscoreWiki.py 36 36 }}} 37 37 … … 42 42 This plugin has two configuration options that can be set under a `[underscore-wiki]` section in TracIni. 43 43 44 * '''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).45 * '''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.44 * '''ignore_missing_pages''' - Enable/disable highlighting `Underscore_Wiki_Page` links to missing pages. Defaults to `false`, which means not ignoring them, but they will be shown in grey with a question mark. 45 * '''uppercase_in_words''' - Enable/disable using upper case letters in places other than the 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`. 46 46 47 47 This should look like: