From 127bceef5b4799e58cb068043e49ed16a3ec840d Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 9 May 2007 00:31:49 +0000 Subject: * Add all=no option to conditional, can be used to form conditionals that do not need to examine every page in the wiki. * Use this to simplify the goodstuff detection in the plugin template. --- doc/templates/plugin.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/templates') diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index cb67902ea..b8421fafb 100644 --- a/doc/templates/plugin.mdwn +++ b/doc/templates/plugin.mdwn @@ -3,7 +3,7 @@ Plugin:
Author:
Included in ikiwiki: [[if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]
Enabled by default: yesno
-Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff) and glob(plugins/) and !sourcepage(plugins/contrib/*)" then="""yes""" else="""no"""]]
+Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff)" all=no then="""yes""" else="""no"""]]
Currently enabled: [[if test="enabled()" then="yes" else="no"]]
[[if test="sourcepage(plugins/contrib/*)" then="""[[meta title=" (third party plugin)"]]"""]] -- cgit v1.2.3