summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/pagestats.pm
AgeCommit message (Collapse)Author
2010-04-15typoJoey Hess
2010-04-15enhance pagestats and rework example blog front pageJoey Hess
* 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.
2010-02-12setup file orderingJoey Hess
2009-12-25pagestats: Add show parameter. Closes: #562129Joey Hess
2009-10-08rename use_pagespec to pagespec_match_listJoey Hess
To avoid breaking plugins, also support the old pagespec_match_list calling convention, with a deprecation warning.
2009-10-08pagestate: switch to use_pagespecJoey Hess
2009-10-08change how dependency types are specified to add_dependsJoey Hess
Also, this fixes 2 bugs in dependency info.
2009-10-06linkmap, pagestats: avoid using %links to get a list of pagesJoey Hess
When a page is deleted, it is removed from %pagesources, but not from %links. So use the former.
2009-10-05use among limit for correctnessJoey Hess
2009-10-05pagestats: Use a combination of precense and link dependencies.Joey Hess
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.
2009-07-17pagestats: add `among` parameter, which only counts links from specified pagesSimon McVittie
2009-07-17pagestats: when making a tag cloud, don't emit links where the tag is unusedSimon McVittie
2009-04-23pagespec_match_list added and used in most appropriate placesJoey Hess
* 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.
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-08-03add plugin safe/rebuild info (part 2 of 3)Joey Hess
(brain.. melting..)
2007-05-12formattingjoey
2007-05-12optimise backlinks counting for pagestats, simplify function returns againjoey
2007-05-12* Patch from hb to fix the pagestats plugin, which was broken by a pastjoey
change to the backlinks() function.
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
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.
2007-02-20* Changed calling convention for httmllink slightly. The first threejoey
parameters remain the same, but additional options are now passed in using named parameters. * Change plugin interface version to 1.02 to reflect this change. * Add a new anchor option to htmllink. Thanks Ben for the idea. * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs.
2007-02-06* Patch based on a patch from Ethan to support relative matching injoey
PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
2007-01-31* Fix for missing backlinks() in pagestats plugin.joey
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-08-19* Add first draft at a Restructured Text (rst) plugin, by Sergiojoey
Talens-Oliag. Note that this has many known issues -- see the caveats on the plugin's page. * Credit everyone who wrote a plugin on the plugins' wiki pages.
2006-08-02* Renamed GlobLists to PageSpecs.joey
* PageSpecs can now include nested parens, "and", and "or". This remains backwards compatible to the old GlobList format. It's implemented by treating the GlobList as a very limited microlanguage that is transformed to perl code that does the matching. * The old GlobList format is deprecated, and I encourage users to switch to using the new PageSpec format. Compatability with the old format will be removed at some point, possibly by 2.0. * Wiki rebuild needed on upgrade to this version due to PageSpec change. * Add support for creation_month and creation_year to PageSpec. Closes: #380680 * Changes to index file encoding.
2006-07-29fix %links iterationjoey
2006-07-29more linksjoey
2006-07-29use htmllinkjoey
2006-07-29* New pagestats plugin from Enrico, which can generate a table countingjoey
the backlinks for each page, or a del.icio.us style cloud.