summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://www.cse.unsw.edu.au/~willu/ <http://www.cse.unsw.edu.au/~willu/@web>2009-02-19 06:45:40 -0500
committerJoey Hess <joey@kitenet.net>2009-02-19 06:45:40 -0500
commitc1b051600036291f20bc179d7149410379832e37 (patch)
treea5b13d62d7d134cf38599dacfb6d1268fe85f40e /doc
parent02d64838405e470493b8b0b47fbeb64b12c47a4b (diff)
Yes, the patch is complete.
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/Allow_filenames_that_are_all_type.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/todo/Allow_filenames_that_are_all_type.mdwn b/doc/todo/Allow_filenames_that_are_all_type.mdwn
index b8b136aeb..e165da7dc 100644
--- a/doc/todo/Allow_filenames_that_are_all_type.mdwn
+++ b/doc/todo/Allow_filenames_that_are_all_type.mdwn
@@ -9,6 +9,19 @@ lost because it didn't have its own bug to track it. Now it does :). -- [[Will
> Many things in ikiwiki check if `pagetype($file)` returns
> true to see if it's a page, etc. --[[Joey]]
+>> I think this patch is complete. It does not change `pagename()`, it
+>> changes `pagetype()` (the diff is fairly old - line numbers may have
+>> changed).
+>>
+>> Before this patch, `pagetype()` required a `.` in the page name. With
+>> this patch it doesn't, as long as the extension is being kept. This allows
+>> the filename to be all extension. `pagename()` relies on `pagetype()`
+>> to detect the type. `pagename()` also removes the extension on some
+>> pages, but this patch only affects pages where the extension isn't
+>> removed.
+>>
+>> So, yeah, I think this patch is complete. :) -- [[Will]]
+
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 8d728c9..1bd46a9 100644
--- a/IkiWiki.pm