From 2794d7ef5abc4fa8fc2eb42d5c85ada197df0767 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 2 Aug 2006 00:14:31 +0000 Subject: * Renamed GlobLists to PageSpecs. * 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. --- doc/plugins/brokenlinks.mdwn | 2 +- doc/plugins/orphans.mdwn | 2 +- doc/plugins/pagecount.mdwn | 2 +- doc/plugins/tag.mdwn | 2 +- doc/plugins/write.mdwn | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/plugins') diff --git a/doc/plugins/brokenlinks.mdwn b/doc/plugins/brokenlinks.mdwn index 3c23c9d68..e3f6357b7 100644 --- a/doc/plugins/brokenlinks.mdwn +++ b/doc/plugins/brokenlinks.mdwn @@ -2,7 +2,7 @@ This plugin generates a list of broken links on pages in the wiki. This is a useful way to find pages that still need to be written, or links that are written wrong. -The optional parameter "pages" can be a [[GlobList]] specifying the pages +The optional parameter "pages" can be a [[PageSpec]] specifying the pages to search for broken links, default is search them all. This plugin is included in ikiwiki, but is not enabled by default. diff --git a/doc/plugins/orphans.mdwn b/doc/plugins/orphans.mdwn index 0c2ea69da..2c4e52a3f 100644 --- a/doc/plugins/orphans.mdwn +++ b/doc/plugins/orphans.mdwn @@ -1,7 +1,7 @@ This plugin generates a list of possibly orphaned pages -- pages that no other page links to. -The optional parameter "pages" can be a [[GlobList]] specifying the pages +The optional parameter "pages" can be a [[PageSpec]] specifying the pages to check for orphans, default is search them all. Note that it takes [[BackLinks]] into account, but does not count inlining a diff --git a/doc/plugins/pagecount.mdwn b/doc/plugins/pagecount.mdwn index 0fddecf30..8fc04ff76 100644 --- a/doc/plugins/pagecount.mdwn +++ b/doc/plugins/pagecount.mdwn @@ -1,7 +1,7 @@ Provides a \\[[pagecount ]] [[PreProcessorDirective]] that is replaced with the total number of pages currently in the wiki. -The optional parameter "pages" can be a [[GlobList]] specifying the pages +The optional parameter "pages" can be a [[PageSpec]] specifying the pages to count, default is to count them all. This plugin is included in ikiwiki, but is not enabled by default. diff --git a/doc/plugins/tag.mdwn b/doc/plugins/tag.mdwn index ed5336ad5..94a6280ca 100644 --- a/doc/plugins/tag.mdwn +++ b/doc/plugins/tag.mdwn @@ -3,7 +3,7 @@ This plugin allows tagging pages. List tags as follows: \[[tag tech life linux]] The tags work the same as if you had put a (hidden) [[WikiLink]] on the page -for each tag, so you can use a [[GlobList]] to link to all pages that are +for each tag, so you can use a [[PageSpec]] to link to all pages that are tagged with a given tag, for example. The tags will also show up on blog entries and at the bottom of the tagged pages, as well as in rss feeds. diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 925717777..79bd75e9b 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -183,13 +183,13 @@ use the following hashes, using a page name as the key: * `%IkiWiki::renderedfiles` contains the name of the file rendered by a page * `%IkiWiki::pagesources` contains the name of the source file for a page. -* `%IkiWiki::depends` contains a [[GlobList]] that is used to specify other +* `%IkiWiki::depends` contains a [[PageSpec]] that is used to specify other pages that a page depends on. If one of its dependencies is updated, the page will also get rebuilt. Many plugins will need to add dependencies to this hash; the best way to do it is by using the IkiWiki::add_depends function, which takes as its - parameters the page name and a [[GlobList]] of dependencies to add. + parameters the page name and a [[PageSpec]] of dependencies to add. * `%IkiWiki::forcerebuild` any pages set as the keys to this hash will be treated as if they're modified and rebuilt. -- cgit v1.2.3