From 479c7a1ea62d8fce3ef54f9deae89230d0b52a5d Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 12 Feb 2007 02:44:47 +0000 Subject: * 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. --- doc/plugins/linkmap.mdwn | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'doc/plugins/linkmap.mdwn') diff --git a/doc/plugins/linkmap.mdwn b/doc/plugins/linkmap.mdwn index e0eda9289..50d197f2f 100644 --- a/doc/plugins/linkmap.mdwn +++ b/doc/plugins/linkmap.mdwn @@ -22,9 +22,8 @@ directive: in inches. Both must be specified for the limiting to take effect, otherwise the map's size is not limited. -This plugin is included in ikiwiki, but is not enabled by default. - -If this plugin is enabled, here is a link map of the index page and all -pages it links to: +[[if test="enabled(linkmap)" then=""" +Here is an example link map, of the index page and all pages it links to: [[linkmap pages="index or (backlink(index) and !*.png)"]] +"""] -- cgit v1.2.3