aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/pagecount.pm
Commit message (Collapse)AuthorAge
* setup file orderingJoey Hess2010-02-12
|
* rename use_pagespec to pagespec_match_listJoey Hess2009-10-08
| | | | | To avoid breaking plugins, also support the old pagespec_match_list calling convention, with a deprecation warning.
* pagecount: switched to use_pagespecJoey Hess2009-10-08
|
* change how dependency types are specified to add_dependsJoey Hess2009-10-08
| | | | Also, this fixes 2 bugs in dependency info.
* rework dependency types codeJoey Hess2009-10-04
| | | | | Simplify, change default content depends number to 1, change interface to make more sense.
* pagecount: Use contentless dependencyJoey Hess2009-10-03
| | | | | This will avoid lots of unnecessary updates of pages using the pagecount directive. Yay!
* pagecount: Fix broken optimisation for * pagespec.Joey Hess2009-06-05
|
* simplifiyJoey Hess2009-04-23
|
* Revert "pagespec_match_list * optimisation"Joey Hess2009-04-23
| | | | | | | | | | This reverts commit 2f96c49bd1826ecb213ae025ad456a714aa04863. I forgot about internal pages. We don't want * matching them! I left the optimisation in pagecount, where it used to live. Internal pages probably don't matter when they're just being counted.
* pagespec_match_list * optimisationJoey Hess2009-04-23
| | | | | Add an optimisation for the semi-common case of a "*" pagespec. Can avoid doing any real processing in this case.
* pagespec_match_list added and used in most appropriate placesJoey Hess2009-04-23
| | | | | | | | * 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 apiJoey Hess2008-12-23
|
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* add plugin safe/rebuild info (part 2 of 3)Joey Hess2008-08-03
| | | | (brain.. melting..)
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | 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.
* more i18n improvementsjoey2007-03-07
|
* * Patch based on a patch from Ethan to support relative matching injoey2007-02-06
| | | | | PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
* * Work on firming up the plugin interface:joey2006-09-09
| | | | | | | | | | | | | | | | | | | - 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.
* * Renamed GlobLists to PageSpecs.joey2006-08-02
| | | | | | | | | | | | | | * 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.
* change plugin interface to use named parameters for flexabilityjoey2006-05-03
|
* * Split off an IkiWiki.pm out of ikiwiki and have all the other modules usejoey2006-05-02
| | | | it, this will allow for adding a unit test suite.
* * Added plugin system, currently only supporting for PreProcessorDirectives.joey2006-05-02
* Added a pagecount plugin, enabled by default. * Support PreProcessorDirectives with no parameters, ie "[[pagecount ]]". * Fixed/optimised backlinks code, to avoid rebuilding pages to update backlinks when the backlinks hadn't really changed. * Moved inline page support, rss generation etc into the inline plugin, enabled by default. * Added brokenlinks plugin, not enabled by default, but rather handy. * Fix several broken links in the doc wiki.