From 68db18b87378cf9dd25f808f0bd4bace9caafe7a Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 22 Apr 2007 20:24:44 +0000 Subject: [PATCH] web commit by http://joey.kitenet.net/ --- doc/todo/fileupload/soc-proposal/discussion.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/todo/fileupload/soc-proposal/discussion.mdwn diff --git a/doc/todo/fileupload/soc-proposal/discussion.mdwn b/doc/todo/fileupload/soc-proposal/discussion.mdwn new file mode 100644 index 000000000..05d2dddde --- /dev/null +++ b/doc/todo/fileupload/soc-proposal/discussion.mdwn @@ -0,0 +1,7 @@ +There's nothing in [[fileupload]] that suggests putting the file upload limit in the body of a page. That would indeed be a strange choice. Ikiwiki already uses [[PageSpecs]] in the Preferences page (for specifying locked pages, banned users, and subscriptions), and I had envisioned putting the file upload controls there, and possibly subsuming some of those other controls into them. + +It's not clear to me that the concept of attaching files to a page fits ikiwiki very well; unlike most wikis, ikiwiki supports subdirectories and [[SubPages]], which allows for hierarchical placement of uploaded files, which is a much more flexible concept than simple attachment. Futhermore, the idea of listing all attached files at the bottom of a page seems somewhat inflexible. What if I want to make a podcast, using inline's existing support for that -- I won't want a list of every "attached" file at the bottom of my podcast's page then. + +I don't understand why the file size would need to be stored in the index file; this information is available by statting the file, surely? Similarly, the mime type can be determined through inspection, unless there turns out to be a reason to need to cache it for speed. + +--[[Joey]] \ No newline at end of file