Closed (fixed)
Project:
Wikitools
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2011 at 15:21 UTC
Updated:
11 Jul 2018 at 13:34 UTC
Jump to comment: Most recent
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