X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/4ed456248b5d7b80ca678c3e72ad715988ddac04..3710b1710e6f076eceb51bdec6bd08a053bfea51:/doc/todo/inline_plugin:_specifying_ordered_page_names.mdwn diff --git a/doc/todo/inline_plugin:_specifying_ordered_page_names.mdwn b/doc/todo/inline_plugin:_specifying_ordered_page_names.mdwn index c482087d9..bbde04f83 100644 --- a/doc/todo/inline_plugin:_specifying_ordered_page_names.mdwn +++ b/doc/todo/inline_plugin:_specifying_ordered_page_names.mdwn @@ -1,12 +1,21 @@ -A [[patch]] in my git repository (the inline-pagenames branch) adds the following -parameter to the [[ikiwiki/directives/inline]] directive: +[[!template id=gitbranch branch=smcv/ready/inline-pagenames author="[[smcv]]"]] + +A [[!taglink patch]] in my git repository (the inline-pagenames branch) adds +the following parameter to the [[ikiwiki/directive/inline]] directive: > * `pagenames` - If given instead of `pages`, this is interpreted as a > space-separated list of links to pages (with the same -> [[SubPage/LinkingRules]] as in a [[ikiwiki/WikiLink]]), and they are inlined +> [[ikiwiki/SubPage/LinkingRules]] as in a [[ikiwiki/WikiLink]]), and they are inlined > in exactly the order given: the `sort` and `pages` parameters cannot be used > in conjunction with this one. This is on my [[wishlist]] for my [[plugins/contrib/album]] plugin, which currently uses it internally (as it has already collected the pages in order). It could also be useful for other things, like [[todo/wikitrails]]. --[[smcv]] + +[[!tag plugins/inline]] + +> It's sort of a pity that a pagespec like "a or b or c" doesn't somehow +> match to (a, b, c) in that order, but I don't see how that would be +> generally possible. While this feels a bit like bloat and inline already +> has far too many parameters, I have [[merged|done]] it. --[[Joey]]