diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-12 02:44:47 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-12 02:44:47 +0000 |
commit | 479c7a1ea62d8fce3ef54f9deae89230d0b52a5d (patch) | |
tree | f8932f522aa856e9cf35d7db3420d491dd05518e /basewiki | |
parent | fe62c0ff209bbf01a3e5eb4a7b9f3b3d99acebca (diff) | |
download | ikiwiki-479c7a1ea62d8fce3ef54f9deae89230d0b52a5d.tar ikiwiki-479c7a1ea62d8fce3ef54f9deae89230d0b52a5d.tar.gz |
* Allow plugins to add new types of tests that can be used in PageSpecs.
* Add a "conditional" plugin, which allows displaying text if a condition
is true. It is enabled by default so conditional can be used in the
basewiki.
* Use conditionals in the template for plugins, so that plugin pages
say if they're currently enabled or not, and in various other places
in the wiki.
Diffstat (limited to 'basewiki')
-rw-r--r-- | basewiki/helponformatting.mdwn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/basewiki/helponformatting.mdwn b/basewiki/helponformatting.mdwn index 8c6483275..871db5f66 100644 --- a/basewiki/helponformatting.mdwn +++ b/basewiki/helponformatting.mdwn @@ -72,5 +72,7 @@ To link to any other web page, or to an email address, you can just put the url You can also use [[PreProcessorDirective]]s to do additional cool stuff. -Also, if the smiley plugin is enabled in your wiki, you can insert -[[smileys]] and some other useful symbols. +[[if test="enabled(smiley)" then=""" +Also, because this wiki has the smiley plugin enabled, you can +insert \[[smileys]] and some other useful symbols. +"""]] |