Import size restrictions

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.

---Rotan.


[1]
http://en.wikibooks.org/wiki/MediaWiki_Administrator's_Handbook/Importin
g

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