X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/e5fd29803493b875015fe6366cc430f171ddc898..0c73a825d13bae50a00702852522202227d66676:/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn diff --git a/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn index 4f83c8bf5..6d702fedf 100644 --- a/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn +++ b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn @@ -46,3 +46,42 @@ Changes to the structure of `$pagestate{$registering_page}{edittemplate}{$pagesp >> v3/v5 UUIDs, please describe it and I'll try to suggest some >> better way based on that, maybe global configuration in `$config`. >> --[[smcv]] + +>>> [[!template id=gitbranch branch=smcv/ready/edittemplate2 + browse=http://git.pseudorandom.co.uk/smcv/ikiwiki.git/shortlog/refs/heads/ready/edittemplate2 + author="Jonathon Anderson, [[smcv]]"]] +>>> Here is a version of that branch that I [[would merge|users/smcv/ready]] if I could. +>>> Changes since Jonathon's version: +>>> +>>> * only generate a UUID if needed +>>> * read `/proc/sys/kernel/random/uuid` instead of using [[!cpan UUID::Tiny]] +>>> if available, to avoid the dependency on at least Linux +>>> * remove v3/v5 UUID support since I don't really see the point, +>>> and if included, it would need a migration path for `$pagestate` +>>> * use RFC 3339 time format for `time` to make the timezone unambiguous +>>> * add `html_time` which is the output of `IkiWiki::displaytime`, e.g. +>>> a `