]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/trails_depend_on_everything.mdwn
Merge branch 'master' into debian-jessie-backports
[git.ikiwiki.info.git] / doc / bugs / trails_depend_on_everything.mdwn
1 [[!template id=gitbranch branch=smcv/ready/trail-sort
2 author="[[Simon McVittie|smcv]]"
3 browse=http://git.pseudorandom.co.uk/smcv/ikiwiki.git/shortlog/refs/heads/ready/trail-sort]]
4 [[!tag patch users/smcv/ready]]
6 On [[trail's discussion page|plugins/trail/discussion]], [[kjs]] pointed out
7 that [[plugins/trail]] and [[plugins/contrib/album]] get excessive
8 dependencies on `internal(*)`. I tracked this down to their (ab)use of
9 `pagespec_match_list` with the pagespec `internal(*)` to sort a pre-existing
10 list of pages.
12 They should just sort the pages instead; they'll already have all the
13 dependencies they need. My branch adds `IkiWiki::sort_pages` but does not
14 make it plugin API just yet. --[[smcv]]
16 > [[merged|done]] --[[smcv]]