diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-05-26 16:11:53 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-05-26 16:11:53 +0000 |
commit | 65d0aee407f81db9ca2261fc8ecb1958f62302a9 (patch) | |
tree | 5a3e69dd458e7455943e7b18738719cf7eb40fe1 /doc/todo | |
parent | 29507e94a46d0f2006671d31ac6812ebd0715cee (diff) | |
download | ikiwiki-65d0aee407f81db9ca2261fc8ecb1958f62302a9.tar ikiwiki-65d0aee407f81db9ca2261fc8ecb1958f62302a9.tar.gz |
* --getctime had bitrotted (well I only ever used it the once so far..),
* When inlining a page in another one, links from the inlined page are now
expanded the same as they are when rendering the inlined page as a
standalone page. So rather than being expanded from the POV of the
inlining page, they are expanded from the POV of the inlined page.
For example, a link from blog/foo to "bar" will now link to blog/bar
if it exists. Previously this needed to be a link explicitly to
"blog/bar"; such links will also continue to work.
(This was slightly complex to do as the link still has to be constructed
relative to the inlining page.)
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/done/utf8.mdwn | 13 | ||||
-rw-r--r-- | doc/todo/multiple_templates.mdwn | 3 | ||||
-rw-r--r-- | doc/todo/pageindexes.mdwn | 3 | ||||
-rw-r--r-- | doc/todo/plugin.mdwn | 4 | ||||
-rw-r--r-- | doc/todo/utf8.mdwn | 41 |
5 files changed, 20 insertions, 44 deletions
diff --git a/doc/todo/done/utf8.mdwn b/doc/todo/done/utf8.mdwn new file mode 100644 index 000000000..b49bb3376 --- /dev/null +++ b/doc/todo/done/utf8.mdwn @@ -0,0 +1,13 @@ +ikiwiki should support utf-8 pages, both input and output. To test, here's a +utf-8 smiley: + +# ☺ + +Currently ikiwiki is belived to be utf-8 clean itself; it tells perl to use +binmode when reading possibly binary files (such as images) and it uses +utf-8 compatable regexps etc. + +Notes: + +* Apache "AddDefaultCharset on" settings will not play well with utf-8 + pages. Turn it off. diff --git a/doc/todo/multiple_templates.mdwn b/doc/todo/multiple_templates.mdwn index 809a089eb..459a5fa4f 100644 --- a/doc/todo/multiple_templates.mdwn +++ b/doc/todo/multiple_templates.mdwn @@ -4,3 +4,6 @@ Well, that would probably be fairly easy to add if it used globlists to specify which pages use the non-default template. + +Hmm, I think the pagetemplate hook should allow one to get close enough to +this in a plugin now. diff --git a/doc/todo/pageindexes.mdwn b/doc/todo/pageindexes.mdwn index ac4c460ae..c4a9df9a3 100644 --- a/doc/todo/pageindexes.mdwn +++ b/doc/todo/pageindexes.mdwn @@ -1,2 +1,3 @@ Might be nice to support automatically generating an index based on headers -in a page, for long pages. The question is, how to turn on such an index? Well, make it a [[plugin]] enabled by a [[preprocessordirective]]. +in a page, for long pages. The question is, how to turn on such an index? +Well, make it a [[plugin]] enabled by a [[preprocessordirective]]. diff --git a/doc/todo/plugin.mdwn b/doc/todo/plugin.mdwn index fc0107b6f..03183d119 100644 --- a/doc/todo/plugin.mdwn +++ b/doc/todo/plugin.mdwn @@ -1,8 +1,8 @@ Suggestions of ideas for plugins: * list of registered users - tricky because it sorta calls for a way to rebuild the page when a new user is registered. Might be better as a cgi? -* a [[todo/link_map]] -* [[todo/sigs]] ? +* a [[link_map]] +* [[sigs]] ? * [[pageindexes]] * Wiki stats, such as total number of links, most linked to pages diff --git a/doc/todo/utf8.mdwn b/doc/todo/utf8.mdwn deleted file mode 100644 index b905e4633..000000000 --- a/doc/todo/utf8.mdwn +++ /dev/null @@ -1,41 +0,0 @@ -ikiwiki should support utf-8 pages, both input and output. To test, here's a -utf-8 smiley: - -# ☺ - -Currently ikiwiki is belived to be utf-8 clean itself; it tells perl to use -binmode when reading possibly binary files (such as images) and it uses -utf-8 compatable regexps etc. - -utf-8 IO is not enabled by default though. While you can probably embed -utf-8 in pages anyway, ikiwiki will not treat it right in the cases where -it deals with things on a per-character basis (mostly when escaping and -de-escaping special characters in filenames). - -To enable utf-8, edit ikiwiki and add -CSD to the perl hashbang line. -(This should probably be configurable via a --utf8 or better --encoding= -switch.) - -The following problems have been observed when running ikiwiki this way: - -* If invalid utf-8 creeps into a file, ikiwiki will crash rendering it as - follows: - - Malformed UTF-8 character (unexpected continuation byte 0x97, with no preceding start byte) in substitution iterator at /usr/bin/markdown line 1317. - Malformed UTF-8 character (fatal) at /usr/bin/markdown line 1317. - - In this example, a literal 0x97 character had gotten into a markdown - file. - - Running this before markdown can avoid it: - - $content = Encode::encode_utf8($content); - - I'm not sure how, or what should be done after markdown to get the string - back into a form that perl can treat as utf-8. - -* Apache "AddDefaultCharset on" settings will not play well with utf-8 - pages. - -* CGI::FormBuilder needs to be told to set `charset => "utf-8"` so that - utf-8 is used in the edit form. (done) |