W3C home > Mailing lists > Public > public-wiki-dev@w3.org > October to December 2007

Import size restrictions

From: Rotan Hanrahan <rotan.hanrahan@mobileaware.com>
Date: Tue, 30 Oct 2007 00:35:20 -0000
Message-ID: <D5306DC72D165F488F56A9E43F2045D301597AF9@FTO.mobileaware.com>
To: <public-wiki-dev@w3.org>
The moinmoin -> MediaWiki porting process continues. At this point I can
generate individual XML import files, as well as a single All-In-One XML
file. For the DDWG wiki (the motivation behind this exercise) the XML
file comes to 2.1 Mb. I have read in [1] that MediaWiki limits a single
import to about 1.4 Mb, so that limit will have to be changed, or I'll
have to write more code to track the limits.

Plus, I still have not figured out how to automatically handle the
attachments. MediaWiki administration tools/docs are not very helpful
here. The import/export technology seem only to have been designed for
the textual aspect of the wiki. Furthermore, MediaWiki attachments are
mainly for images.

I think I will just have to make my tool generate some instructions for
a human administration. The instructions could be:
-	Import the following XML file(s) ...
-	Configure MediaWiki to accept the following media file
extensions: ...
-	Upload the following files, giving each the indicated Wiki
names: ...

Not exactly what I wanted (in terms of a "fire-and-forget" solution) but
perhaps the best I'm going to get in the time available.

The script is extremely untidy, being the product of a mad RAD session
and insufficient sleep. When I've done a bit more testing and some
tidying, I'll post it to the list.


Received on Tuesday, 30 October 2007 00:35:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:40:57 UTC