diff options
author | chrysn <chrysn@fsfe.org> | 2009-03-17 21:22:26 +0100 |
---|---|---|
committer | chrysn <chrysn@fsfe.org> | 2009-03-17 21:30:26 +0100 |
commit | 35460e3153286381a6019e5afd46b2880a95cb88 (patch) | |
tree | 65110ea0a438b12f6910ed78748037de7efbe54b /doc/todo | |
parent | 5dd0993f644f49ae7f4d9b20a6a6a8ed9ba2adc4 (diff) |
new wishlist item, patch included
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/natural_sorting.mdwn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/natural_sorting.mdwn b/doc/todo/natural_sorting.mdwn new file mode 100644 index 000000000..84f35c5da --- /dev/null +++ b/doc/todo/natural_sorting.mdwn @@ -0,0 +1,16 @@ +[[!tag wishlist]] +[[!tag patch]] + +the inline plugin's sorting is plain lexical, thich may not be appropriate for +page titles if they have numeric components. the +[Sort::Naturally](http://search.cpan.org/dist/Sort-Naturally/) perl module +provides an algorithm for that. + +there is a +[patch](http://github.com/github076986099/ikiwiki/commit/25617577746dc1e4ab5ab69aa70d633daddcc01b) +attached that makes the [[plugins/inline]] plugin use Sort::Naturally if sort +is set to "title_natural". + +the current patch uses `require Sort::Naturally`, so +[libsort-naturally-perl](http://packages.debian.org/libsort-naturally-perl) +does not become a dependency; it might be worth suggesting, though. |