tetsuo13 / MediaWiki-to-DokuWiki-Importer

Convert MediaWiki to DokuWiki
31 stars 10 forks source link

Converting MW SQL Dump to DW #31

Closed sajjadG closed 10 years ago

sajjadG commented 10 years ago

Right now this converter is getting MW data from the Database (mysql, postgresql?) with configuration of LocalSettings.php of MW. This opens the scenario to some bugs related to the DB such as driver problem (issue #23). If the converter has a feature to accept a SQL dump of MW data, it would be nice and maybe faster/better in some situation (removing the load on DB).

tetsuo13 commented 10 years ago

I'm not sure about this one. If the program were to base its import off of an SQL dump then an SQL dump parser would need to be written, taking into account the differences between MySQL, PostgreSQL, etc. and also differences in dump syntax (MySQL fields/tables may optionally be surrounded by backticks). This sounds more difficult than getting the DB driver right.