Difference between revisions of "Convert a dokuwiki to mediawiki"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 11: Line 11:
 
= See also =
 
= See also =
 
* [[How to make dokuwiki a good mediawiki]]
 
* [[How to make dokuwiki a good mediawiki]]
 +
 +
= Comments =
 +
<comments />{{:{{TALKSPACE}}:{{PAGENAME}}}}

Revision as of 09:39, 4 February 2012

To convert a dokuwiki installation to a mediawiki installation:

  • install mediawiki. In this example we assume you install to /srv/www/htdocs.
  • convert the syntax of every dokuwiki page to Mediawiki's syntax. MediaSyntax has a converter for this.
  • copy every file in dokuwiki's data/pages folder to mediawiki's maintenance folder
  • cd to the maintenance folder of your mediawiki, e.g.
cd /srv/www/htdocs/maintenance
  • import all text files:
for i in *.imp; do php importTextFile.php $i; done

See also

Comments

<comments />

ThorstenStaerk said ...

Very interested in your comments!!!

--ThorstenStaerk 10:40, 4 February 2012 (CET)

Good and helpful article. But, it needs an update:
importTextFile.php has been removed in current versions of MediaWiki. Now, edit.php should be used instead...
Joerg