I need to migrate MediaWiki data into wikitools, how it can be done?
Found only this:
http://cwgordon.com/how-to-create-a-wiki-with-drupal#comment-1780
Any better way of doing that?
It's worth to implement it into wikitools module?
I need to migrate MediaWiki data into wikitools, how it can be done?
Found only this:
http://cwgordon.com/how-to-create-a-wiki-with-drupal#comment-1780
Any better way of doing that?
It's worth to implement it into wikitools module?
Comments
Comment #1
kenorb commentedSimilar: #1057862: Ability to import mediawiki, wikipedia & wikia exports
Comment #2
TimelessDomain commentedsubscribing
Comment #3
kenorb commentedHere is example block of code you can use to connect to mediawiki database from Drupal:
http://api.drupal.org/api/drupal/includes--database.inc/function/db_set_...
I'll post the full code soon.
Comment #4
kenorb commentedMake sure as well that you have the right database name in your MediaWiki Auth configuration (admin/settings/mediawikiauth).
Make sure as well that Drupal db user has access to that database.
Comment #5
kenorb commentedComment #6
TimelessDomain commentedThank you kenorb for working on this! Do you plan on launching it as a module? or can you provide a patch to integrate this with wikitools?
Comment #7
kenorb commentedHi,
Probably not.
I was only working on this one week and I'm not planing further development.
This function is used only for one time migration, so as separate module it will be not much usage of it and it will be another non-maintained module.
It will be good to be part of some existing module related to Mediawiki functionality.
I think Wikitools module will be the best for it.
I.e. we can include it into some include file like: wikitools.migrate.inc and load it on demand (some option from settings).
I used that function from hook_update that it was part of next release process.
Comment #8
kenorb commented