2009-07-27 13:02:34 +02:00
|
|
|
[[!template id=gitbranch branch=smcv/ready/inline-pagenames author="[[smcv]]"]]
|
2009-07-25 21:39:20 +02:00
|
|
|
|
2009-07-18 14:06:04 +02:00
|
|
|
A [[!taglink patch]] in my git repository (the inline-pagenames branch) adds
|
|
|
|
the following parameter to the [[ikiwiki/directive/inline]] directive:
|
2009-06-16 18:36:17 +02:00
|
|
|
|
|
|
|
> * `pagenames` - If given instead of `pages`, this is interpreted as a
|
|
|
|
> space-separated list of links to pages (with the same
|
2009-06-16 19:10:10 +02:00
|
|
|
> [[ikiwiki/SubPage/LinkingRules]] as in a [[ikiwiki/WikiLink]]), and they are inlined
|
2009-06-16 18:36:17 +02:00
|
|
|
> 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]]
|
2009-07-18 14:06:04 +02:00
|
|
|
|
|
|
|
[[!tag plugins/inline]]
|
2009-07-31 10:30:36 +02:00
|
|
|
|
|
|
|
> 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]]
|