Difference between revisions of "Convert a dokuwiki to mediawiki"

From Linuxintro
imported>ThorstenStaerk
Line 13: Line 13:
  
 
[[Category:Guides]]
 
[[Category:Guides]]
 +
 +
Greetings,
 +
 
 +
  I'm new to wiki world ... can someone share exactly what it means up above where the documentation says:
 +
 +
      "All history, users and access control lists will not be taken over"
 +
 +
      In other words ... how much work would we lose and/or have to reconstruct?
 +
 +
      Could you email answer to george@touchthismedia.com? 
 +
 +
 +
Sincerely, George
 +
 +
George Zeigler
 +
 +
MBA, Website Consultant

Revision as of 05:38, 8 January 2014

This describes how to convert a dokuwiki installation to a mediawiki installation. All history, users and access control lists will not be taken over. This howto has been successfully tested with MediaWiki 1.16 and 1.19.1.

  • 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.
  • cd to the maintenance folder of your mediawiki, e.g.
cd /srv/www/htdocs/maintenance
  • import all text files from dokuwiki, e.g.:
for i in /srv/www/htdocs/dokuwiki/data/pages/*; do php importTextFile.php $i; done
  • now you will want to care about subdirectories, images and files in the dokuwiki as well

See also

Greetings,

 I'm new to wiki world ... can someone share exactly what it means up above where the documentation says:
     "All history, users and access control lists will not be taken over"
      In other words ... how much work would we lose and/or have to reconstruct?
      Could you email answer to george@touchthismedia.com?  


Sincerely, George

George Zeigler

MBA, Website Consultant