Difference between revisions of "Convert a dokuwiki to mediawiki"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 10: Line 10:
 
* for every dokuwiki page in data/pages, do a  
 
* for every dokuwiki page in data/pages, do a  
 
  cat export1 ''page'' export2 > import.xml
 
  cat export1 ''page'' export2 > import.xml
 +
 +
= See also =
 +
* [[How to make dokuwiki a good mediawiki]]

Revision as of 08:40, 16 July 2011

To convert a dokuwiki installation to a mediawiki installation:

Mediawiki

  • install mediawiki
  • create a page hello with the sole content hello world.
  • export the hello page
  • save the export file to export1 and export2
  • edit export1, delete all content starting from hello world including
  • edit export2, delete all content till hello world including
  • for every dokuwiki page in data/pages, do a
cat export1 page export2 > import.xml

See also