aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-30 02:40:55 +0000
committerjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-30 02:40:55 +0000
commitf01c30c9f86a442731d77d9f6c57a8356fe0a654 (patch)
tree12f5c3de28eeb743d704a9ba15aca79dc1ed04d3 /doc
parent03d982bd468122fa6aeb178206211a3c5dc7fde8 (diff)
downloadikiwiki-f01c30c9f86a442731d77d9f6c57a8356fe0a654.tar
ikiwiki-f01c30c9f86a442731d77d9f6c57a8356fe0a654.tar.gz
Extend pagespecs in conditionals to ensure that the target basewiki page exists as well, in case the setup file excludes it.
Diffstat (limited to 'doc')
-rw-r--r--doc/helponformatting.mdwn8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/helponformatting.mdwn b/doc/helponformatting.mdwn
index 6c0cc9df8..5834706c0 100644
--- a/doc/helponformatting.mdwn
+++ b/doc/helponformatting.mdwn
@@ -58,22 +58,22 @@ form \[link text\]\(url\)
You can also use [[PreProcessorDirective]]s to do additional cool stuff.
-[[if test="enabled(inline)" then="""
+[[if test="enabled(inline) and blog" then="""
This wiki has the inline plugin enabled, so you can create a [[blog]] on any
page.
"""]]
-[[if test="enabled(smiley)" then="""
+[[if test="enabled(smiley) and smileys" then="""
This wiki has the smiley plugin enabled, so you can insert [[smileys]] and some
other useful symbols.
"""]]
-[[if test="enabled(shortcut)" then="""
+[[if test="enabled(shortcut) and shortcuts" then="""
This wiki has the shortcut plugin enabled, so you can use [[shortcuts]] to link
to common resources.
"""]]
-[[if test="enabled(template)" then="""
+[[if test="enabled(template) and templates" then="""
This wiki has the template plugin enabled, so you can create and use
[[templates]] for repeated chunks of parameterized wiki text.
"""]]