typo
enhance pagestats and rework example blog front page * pagestats: Class parameter can be used to override default class for custom styling. * pagestats: Use style=list to get a list of tags, scaled by use like in a tag cloud. This is useful to put in a sidebar. * Rework example blog front page.
setup file ordering
pagestats: Add show parameter. Closes: #562129
rename use_pagespec to pagespec_match_list To avoid breaking plugins, also support the old pagespec_match_list calling convention, with a deprecation warning.
pagestate: switch to use_pagespec
change how dependency types are specified to add_depends Also, this fixes 2 bugs in dependency info.
linkmap, pagestats: avoid using %links to get a list of pages When a page is deleted, it is removed from %pagesources, but not from %links. So use the former.
use among limit for correctness
pagestats: Use a combination of precense and link dependencies. This makes it more efficient. It also fixes the same bug that I fixed in orphans recently, that only changes to the set of displayed pages were considered (or amoung), which missed changes to links on other pages to those. Probably this bug was never noticed because pagestats is most often put on a blog type page, which gets updated anyway when posts change, and thus the tag cloud was updated.
pagestats: add `among` parameter, which only counts links from specified pages
pagestats: when making a tag cloud, don't emit links where the tag is unused
pagespec_match_list added and used in most appropriate places * pagespec_match_list: New API function, matches pages in a list and throws an error if the pagespec is bad. * inline, brokenlinks, calendar, linkmap, map, orphans, pagecount, pagestate, postsparkline: Display a handy error message if the pagespec is erronious.
finalise version 3.00 of the plugin api
Coding style change: Remove explcit vim folding markers.
add plugin safe/rebuild info (part 2 of 3) (brain.. melting..)
formatting
optimise backlinks counting for pagestats, simplify function returns again
* Patch from hb to fix the pagestats plugin, which was broken by a past change to the backlinks() function.
* pagespec_match() has changed to take named parameters, to better allow for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.