From: http://www.cse.unsw.edu.au/~willu/ Date: Mon, 25 Aug 2008 05:50:27 +0000 (-0400) Subject: modify patch based on feedback X-Git-Tag: 2.62~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=25723e857ea8d8719020eadcba11570efbc26f4e;p=ikiwiki.git modify patch based on feedback --- 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