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

RE: Uploading to MediaWiki

From: Rotan Hanrahan <rotan.hanrahan@mobileaware.com>
Date: Thu, 25 Oct 2007 17:37:23 +0100
Message-ID: <D5306DC72D165F488F56A9E43F2045D301532529@FTO.mobileaware.com>
To: "Rotan Hanrahan" <Rotan.Hanrahan@MobileAware.com>, <public-wiki-dev@w3.org>

There is one other thing I wanted to point out...

If you are a WikiMedia Sysop you'll know about the import/export
feature. This enables you to export any existing WikiMedia pages as an
XML archive, and also to import such XML archives into a WikiMedia

I am considering this option instead of the HTTP mechanism illustrated
in the code I previously attached.

BUT... I don't know anything about the WikiMedia import/export XML
format. (Although as a Sysop on my test server, I can easily get

Has anyone got any experience using the import/export feature? If so,
this is something I'd be very interested to know about because this
mechanism can preserve timestamps and other metadata.


-----Original Message-----
From: public-wiki-dev-request@w3.org
[mailto:public-wiki-dev-request@w3.org] On Behalf Of Rotan Hanrahan
Sent: 25 October 2007 17:26
To: public-wiki-dev@w3.org
Subject: Uploading to MediaWiki

(This stuff below will probably page-wrap badly. Sorry.)

As part of my quick coding of a solution to port from moinmoin to
MediaWiki, I needed to put together some code to upload the converted
content. The code I've written (sample below) is for uploading the
converted markup, and it works fine. Perhaps at the weekend I'll address
the issue of uploading attachments, but meanwhile if anyone has some
advice on that task, I'd welcome it.

Otherwise I'll just hack along in the rare moments of downtime (e.g.
coffee breaks) and see where it takes me.

Meanwhile just to report that I've enhanced the mm/mw translator to deal
with typical mm table markup (including r/c-spans, alignments and
colours). I've also improved the nested list processing and a few other
things. I'll stop this tweaking when I'm happy enough that the code will
process the DDWG wiki. If people want more functionality after that task
is complete, I'll have to think about it. :)


Received on Thursday, 25 October 2007 16:37:37 UTC

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