Extend pagespecs in conditionals to ensure that the target basewiki page exists as...
authorjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 30 Apr 2007 02:40:55 +0000 (02:40 +0000)
committerjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 30 Apr 2007 02:40:55 +0000 (02:40 +0000)
doc/helponformatting.mdwn

index 6c0cc9df860466c49066dbc5958e244f9a79298c..5834706c0e8afb412b5a955fdc1373eee3ff882f 100644 (file)
@@ -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.
 """]]