aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-04 01:24:23 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-04 01:24:23 -0400
commit1dddec0ba9f66f082f4b8349916cdb6bdb5636e3 (patch)
tree2ee6818cd5f9c896ab0de2caea677ba5a9cc18f9 /doc/plugins
parent1546b48b979399eb33ce502a00b089263d7cee26 (diff)
downloadikiwiki-1dddec0ba9f66f082f4b8349916cdb6bdb5636e3.tar
ikiwiki-1dddec0ba9f66f082f4b8349916cdb6bdb5636e3.tar.gz
Pass a destpage parameter to the sanitize hook.
Because the search plugin needed it, also because it's one of the few plugins that didn't already have it. I also considered adding it to htmlize, but I really cannot imagine caring what the destpage is when htmlizing. (I'll probably be poven wrong later.)
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/search.mdwn8
-rw-r--r--doc/plugins/write.mdwn4
2 files changed, 5 insertions, 7 deletions
diff --git a/doc/plugins/search.mdwn b/doc/plugins/search.mdwn
index 67e3b85ef..e53c28c7c 100644
--- a/doc/plugins/search.mdwn
+++ b/doc/plugins/search.mdwn
@@ -7,11 +7,9 @@ This plugin adds full text search to ikiwiki, using the
and the [[cpan Search::Xapian]] perl module. (The [[cpan HTML::Scrubber]]
perl module will also be used, if available.)
-Ikiwiki will handle indexing new and changed page contents. Note that it
-indexes page contents before they are preprocessed and converted to html,
-as this tends to produce less noisy search results. Also, since it only
-indexes page contents, files copied by the [[rawhtml]] plugin will not be
-indexed, nor will other types of data files.
+Ikiwiki will handle indexing new and changed page contents. Note that since
+it only indexes page contents, files copied by the [[rawhtml]] plugin will
+not be indexed, nor will other types of data files.
There is one setting you may need to use in the config file. `omega_cgi`
should point to the location of the omega cgi program. The default location
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 606031cf2..35f391f7f 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -211,8 +211,8 @@ want to change the default ("page.tmpl"). Template files are looked for in
Use this to implement html sanitization or anything else that needs to
modify the body of a page after it has been fully converted to html.
-The function is passed named parameters: "page" and "content", and
-should return the sanitized content.
+The function is passed named parameters: "page", "destpage", and "content",
+and should return the sanitized content.
### format