diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-08 20:39:48 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-08 20:39:48 +0000 |
commit | 6e1986cf1244d4df3b81bfb8514eb9aa0482a847 (patch) | |
tree | f56c8112cf78adaf01d97faf427b7f1bf9f9725c /doc/patchqueue | |
parent | 68f84e12f2ddf539b5434f1bf19c737d8ab62208 (diff) | |
download | ikiwiki-6e1986cf1244d4df3b81bfb8514eb9aa0482a847.tar ikiwiki-6e1986cf1244d4df3b81bfb8514eb9aa0482a847.tar.gz |
* Patch from Ethan Glasser Camp to add a skip option to the inline plugin.
Diffstat (limited to 'doc/patchqueue')
-rw-r--r-- | doc/patchqueue/skip_option_for_inline_plugin.mdwn | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/patchqueue/skip_option_for_inline_plugin.mdwn b/doc/patchqueue/skip_option_for_inline_plugin.mdwn deleted file mode 100644 index 2bb29aebb..000000000 --- a/doc/patchqueue/skip_option_for_inline_plugin.mdwn +++ /dev/null @@ -1,16 +0,0 @@ -This addresses [[todo/skip_option_for_inline_plugin]]. - - diff -urx .svn ikiwiki-orig/IkiWiki/Plugin/inline.pm ikiwiki/IkiWiki/Plugin/inline.pm - --- ikiwiki-orig/IkiWiki/Plugin/inline.pm 2006-11-08 01:02:33.000000000 -0500 - +++ ikiwiki/IkiWiki/Plugin/inline.pm 2006-11-08 15:08:04.000000000 -0500 - @@ -72,6 +72,10 @@ - return "unknown sort type $params{sort}"; - } - - + if (exists $params{skip}) { - + @list=@list[$params{skip} .. scalar @list - 1]; - + - + } - if ($params{show} && @list > $params{show}) { - @list=@list[0..$params{show} - 1]; - } |