On May 12, 2005, at 23:24, rdlugosz.10120601@bloglines.com wrote:
> I can''t do a diff from where I''m at, but basically you
just need to
> make two simple
> edits to the app/controllers/file_controller.rb file. First, in
> the method
> "import", comment out the "return if
file_uploads_disabled?" line.
>
> Second,
> go down to the next method "check_allow_uploads" and change the
> first line
> from "unless RAILS_ENV == ''test''" to
"unless RAILS_ENV ==
> ''production''".
>
> Now, go to yourWiki/import and you''ll get an interface which will
> let you
> upload a zip full of textile. It will import each page in the zip
> into your
> wiki.
I followed these instructions, and with a little further tweaking to
change the max_upload_size was able to get import working. I was
looking for something that would maintain the revisions and
authorship, however, so I''ve decided to suck up my perfectionism and
try to let the wiki live on it''s own for the time being. Thanks for
the help and suggestions,
Tyler Hunt