diff options
author | Simon McVittie <smcv@debian.org> | 2010-04-03 13:57:38 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2010-04-03 14:28:21 +0100 |
commit | 04a59b3c65e8e60805b6ed6d11d448b1d5babe64 (patch) | |
tree | 3bd1565e918b1944a18b641f70af48ffc28a2e06 /doc | |
parent | 75fd08046548940c443c46bcdf9a5b0b6968b175 (diff) | |
download | ikiwiki-04a59b3c65e8e60805b6ed6d11d448b1d5babe64.tar ikiwiki-04a59b3c65e8e60805b6ed6d11d448b1d5babe64.tar.gz |
Move sort hooks to the IkiWiki::SortSpec namespace
Also rename cmpspec_translate (internal function) to sortspec_translate
for consistency.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/write.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 06c8f8e44..b67142230 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -1114,7 +1114,7 @@ while "glob(*)" is not influenced by the contents of any page. Similarly, it's possible to write plugins that add new functions as [[ikiwiki/pagespec/sorting]] methods. To achieve this, add a function to -the IkiWiki::PageSpec package named `cmp_foo`, which will be used when sorting +the IkiWiki::SortSpec package named `cmp_foo`, which will be used when sorting by `foo` or `foo(...)` is requested. The function will be passed three or more parameters. The first two are |