diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-03-21 23:11:09 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-03-21 23:11:09 +0000 |
commit | 2a0d91af2f8f6ca3142c8f73ea6869e7a914bb30 (patch) | |
tree | d4c7c3dae158e8603cd1a3c01fd8784ef478ba2e /doc/plugins | |
parent | 0daec2bf14871072a4b3d3aebbbfc5eaa7608ef5 (diff) |
* Fix link() PageSpecs to not just look at the raw link text, but at where
that given link points based on the page doing the linking. Note that this
could make such PageSpecs match different things than before, if you
relied on the old behavior of them only matching the raw link text.
* This required changing the match_* interface, adding a third parameter.
* Allow link() PageSpecs to match relative, as is allowed with globs.a
* Add postform option to inline plugin.
* Add an bug tracker to the softwaresite example.
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/inline.mdwn | 4 | ||||
-rw-r--r-- | doc/plugins/write.mdwn | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/plugins/inline.mdwn b/doc/plugins/inline.mdwn index b7cf629da..f3af08abf 100644 --- a/doc/plugins/inline.mdwn +++ b/doc/plugins/inline.mdwn @@ -29,7 +29,9 @@ directive: configured to use atom feeds, set to "no" to disable. * `feeds` - controls generation of all types of feeds. Set to "no" to disable generating any feeds. -* `rootpage` - Enables a form to post new pages to a [[blog]]. +* `postform` - Set to "yes" to enables a form to post new pages to a [[blog]]. +* `rootpage` - Also enables a form to post new pages to a [[blog]], and + allows specifying of a page that is used as the parent page for new pages. * `archive` - If set to "yes", only list page titles and some metadata, not full controls. * `quick` - Build archives in quick mode, without reading page contents for diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 5547ae699..be5f86924 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -431,6 +431,7 @@ See [[about_RCS_backends]] for some more info. It's also possible to write plugins that add new functions to [[PageSpecs|PageSpec]]. Such a plugin should add a function to the IkiWiki::PageSpec package, that is named `match_foo`, where "foo()" is -how it will be accessed in a [[PageSpec]]. The function will be passed two -parameters: The name of the page being matched, and the thing to match -against. It should return true if the page matches. +how it will be accessed in a [[PageSpec]]. The function will be passed +three parameters: The name of the page being matched, the thing to match +against, and the page that the matching is occuring on. It should return +true if the page matches. |