From 25723e857ea8d8719020eadcba11570efbc26f4e Mon Sep 17 00:00:00 2001 From: "http://www.cse.unsw.edu.au/~willu/" Date: Mon, 25 Aug 2008 01:50:27 -0400 Subject: modify patch based on feedback --- ...d_a_plugin_to_list_available_pre-processor_commands.mdwn | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/todo/Add_a_plugin_to_list_available_pre-processor_commands.mdwn b/doc/todo/Add_a_plugin_to_list_available_pre-processor_commands.mdwn index e311addcd..0524627d4 100644 --- a/doc/todo/Add_a_plugin_to_list_available_pre-processor_commands.mdwn +++ b/doc/todo/Add_a_plugin_to_list_available_pre-processor_commands.mdwn @@ -135,7 +135,7 @@ I've found myself wanting to know which [[plugins]] are switched on so I know wh >>>>>>>> Only code change I'd suggest is using `htmllink` rather than >>>>>>>> generating a wikilink. ->>>>>>>>> Yeah - that would make sense. Will do. -- [[Will]] +>>>>>>>>> Yeah - that would make sense. done. -- [[Will]] #!/usr/bin/perl # Ikiwiki listpreprocessors plugin. @@ -207,7 +207,7 @@ I've found myself wanting to know which [[plugins]] are switched on so I know wh my @pluginlist; - if (! defined $params{generated}) { + if (defined $params{generated}) { @pluginlist = @fullPluginList; } else { @pluginlist = @earlyPluginList; @@ -216,13 +216,14 @@ I've found myself wanting to know which [[plugins]] are switched on so I know wh my $result = '"; - - return IkiWiki::preprocess($params{page}, $params{destpage}, - IkiWiki::filter($params{page}, $params{destpage}, $result)); + + return $result; } # }}} 1 -- cgit v1.2.3