diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-03-27 15:09:41 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-03-27 15:09:41 -0400 |
commit | 825e2b1378b1def4980e36642ed84999599eb017 (patch) | |
tree | 8c5225715c9cf7a3405dbc679f124f74ca9983e7 /doc/todo/natural_sorting.mdwn | |
parent | f4a1732b0e65ea4459098e4e852dff10a5af9320 (diff) | |
parent | c8237b4351f6023b3d3a661df2568c6d7488b8cf (diff) |
Merge branch 'master' into po
Conflicts:
debian/control
Diffstat (limited to 'doc/todo/natural_sorting.mdwn')
-rw-r--r-- | doc/todo/natural_sorting.mdwn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/todo/natural_sorting.mdwn b/doc/todo/natural_sorting.mdwn new file mode 100644 index 000000000..5df17e95b --- /dev/null +++ b/doc/todo/natural_sorting.mdwn @@ -0,0 +1,21 @@ +[[!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://git.ikiwiki.info/?p=ikiwiki;a=commit;h=55b83cb7bd1cd7c60bb45dc22c3745dd80a63fed) +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. + +> See also: [[inline:_numerical_ordering_by_title]] (I probably prefer your +> approach..) --[[Joey]] + +> [[applied|done]] |