aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-21 17:09:44 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-21 17:09:44 -0400
commit70e0c9447add5853aa745f1f1e681e849f56c6f7 (patch)
treeab9f5b65f5831981cad4e81c8c97130d49758d1b /doc
parent327adadf0443db5d240253f375e72657b6a88cfa (diff)
downloadikiwiki-70e0c9447add5853aa745f1f1e681e849f56c6f7.tar
ikiwiki-70e0c9447add5853aa745f1f1e681e849f56c6f7.tar.gz
change obsolete example
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/write/external.mdwn7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/plugins/write/external.mdwn b/doc/plugins/write/external.mdwn
index 272f74a7c..e30bf2ff3 100644
--- a/doc/plugins/write/external.mdwn
+++ b/doc/plugins/write/external.mdwn
@@ -96,14 +96,13 @@ the sentinal.
## Function injection
-Some parts of ikiwiki are extensible by adding functions. For example, the
-RCS interface relies on plugins providing several IkiWiki::rcs_* functions.
+Some parts of ikiwiki are extensible by adding or overriding functions.
It's actually possible to do this from an external plugin too.
-To make your external plugin provide an `IkiWiki::rcs_update` function, for
+To make your external plugin override the `IkiWiki::formattime` function, for
example, make an RPC call to `inject`. Pass it named parameters "name" and
"call", where "name" is the name of the function to inject into perl (here
-"Ikiwiki::rcs_update" and "call" is the RPC call ikiwiki will make whenever
+"Ikiwiki::formattime" and "call" is the RPC call ikiwiki will make whenever
that function is run.
If the RPC call is memoizable, you can also pass a "memoize" parameter, set