summaryrefslogtreecommitdiff
path: root/doc/patchqueue
diff options
context:
space:
mode:
Diffstat (limited to 'doc/patchqueue')
-rw-r--r--doc/patchqueue/skip_option_for_inline_plugin.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/patchqueue/skip_option_for_inline_plugin.mdwn b/doc/patchqueue/skip_option_for_inline_plugin.mdwn
new file mode 100644
index 000000000..60be06717
--- /dev/null
+++ b/doc/patchqueue/skip_option_for_inline_plugin.mdwn
@@ -0,0 +1,16 @@
+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 ($params{skip}) {
+ + @list=@list[$params{skip} .. scalar @list - 1];
+ +
+ + }
+ if ($params{show} && @list > $params{show}) {
+ @list=@list[0..$params{show} - 1];
+ }