this is meant to work like Jon expected it would

master
http://smcv.pseudorandom.co.uk/ 2011-06-04 14:36:31 +00:00 committed by admin
parent 7d2d0768a3
commit d5a3335e15
1 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,11 @@ The presentation of the resulting comments is not sorted by this date, which I w
> (eg, default of when the file was first seen) is used. The comment > (eg, default of when the file was first seen) is used. The comment
> date only affects the date displayed. > date only affects the date displayed.
> >
> > That's not what I intended - it's meant to be more or less just
> > syntactic sugar for `\[[!meta date=foo]]`, setting the `%pagectime`.
> > The code looks as though it ought to work, but perhaps it's buggy?
> > --[[smcv]]
>
> The only time I've seen this be much problem personally is when moving > The only time I've seen this be much problem personally is when moving
> a page, which means moving its comments directory, which tends to > a page, which means moving its comments directory, which tends to
> jumble the order. (And --gettime does not help, as ikiwiki does not > jumble the order. (And --gettime does not help, as ikiwiki does not
@ -34,3 +39,10 @@ The presentation of the resulting comments is not sorted by this date, which I w
>> >>
>> In my current situation, I could live with by-filename ordering. By-title >> In my current situation, I could live with by-filename ordering. By-title
>> ordering would also be workable. — [[Jon]] >> ordering would also be workable. — [[Jon]]
>>> I agree with Jon's reasons for embedding an explicit date in the file.
>>> As I said, this is *meant* to work, but it might not.
>>>
>>> Sorting by filename would only be useful with
>>> [[!cpan Sort::Naturally]], since normal `cmp` ordering would break pages
>>> with more than 9 comments. --s