1 [[!tag patch plugins/pagestats]]
3 My `among` branch fixes [[todo/backlinks_result_is_lossy]], then uses that
4 to provide pagestats for links from a subset of pages. From the docs included
7 > The optional `among` parameter limits counting to pages that match a
8 > [[ikiwiki/PageSpec]]. For instance, to display a cloud of tags used on blog
9 > entries, you could use:
11 > \[[!pagestats pages="tags/*" among="blog/posts/*"]]
13 > or to display a cloud of tags related to Linux, you could use:
15 > \[[!pagestats pages="tags/* and not tags/linux" among="tagged(linux)"]]
17 I use this on my tag pages on one site, with the following template:
19 \[[!pagestats pages="tags/* and !tags/<TMPL_VAR raw_tag>
20 and !tags/photogallery"
21 among="tagged(<TMPL_VAR raw_tag>)"]]
23 \[[!inline pages="tagged(<TMPL_VAR raw_tag>)"
24 archive="yes" quick="yes" reverse="yes" timeformat="%x"]]
28 > [[merged|done]] thanks --[[Joey]]