[maemo-community] Cannot import docs directly into wiki.maemo.org

From: Jarmo.Tikka at nokia.com Jarmo.Tikka at nokia.com
Date: Tue May 11 08:05:12 EEST 2010
Hi,

> -----Original Message-----
> From: Dave Neary [mailto:nearyd at gmail.com] On Behalf Of ext Dave Neary
> Sent: 10 May, 2010 20:05
> To: Tikka Jarmo (Nokia-D/Helsinki); List for community development
> Subject: Cannot import docs directly into wiki.maemo.org
> 
> Hi Jarmo,
> 
> I spent part of the afternoon with Niels explaining the steps necessary
> to import maemo-baseline docs into wiki.maemo.org according to your
> instructions.
> 
> I explained that the steps were:
> 
>  1. Unzip the toolchain from Jarmo, add a deb line pointing to the
> directory containing the packages, apt-get update, and install the
> toolchain packages (specifically,
> maemodoc-toolchain-mediawiki_0.2.6_all.deb)
>  2. Unzip the raw wiki text contents of the maemodoc-baseline docs
>  3. Run maemodoc-importwiki on the unzipped docs
> 
> His response was, "that's not something you should be doing on a
> production server" (which is, pretty much, what I said a couple of
> weeks
> ago).

Why is this something you shouldnto do? And how this is different from what you have been doing with all our documents in wiki (like developer guide and those tutorials you already imported)?

How those current documents have been imported to the maemo.org wiki is that they have been imported to some MediaWiki, exported from there and imported again to maemo.org wiki.

With our official toolchain you just skip this unnecessary import-export to another wiki. 

If you (for some reason) want to do this harder way e.g. using some middle MediaWiki installation you have to test this process to work yourself as I see no any benefits using another wiki in middle.
 
> 
> Can you propose an alternative method for importing wiki pages and
> images from an external mediawiki instance into the main production
> one,
> without installing the maemodoc-toolchain and using it to write data
> directly to the production database? Thanks.

You can import our documents into which MediaWiki service you like but you have to use our toolchain. If you are able to properly export-import same docs from this middle wiki to Maemo.org wiki that is fine for me also but I just do not understand why you want to do it in so complicated way.

Cheers,
//Jarmo

> 
> Daniel, you mentioned that in the past you have done the intermediate
> load/dump thing - how did you handle image attachments and the other
> problems Jarmo identified?
> 
> Cheers,
> Dave.
> 
> --
> maemo.org docsmaster
> Email: dneary at maemo.org
> Jabber: bolsh at jabber.org

More information about the maemo-community mailing list