MWM
From Bjoern Hassler
"Mediawiki mirroring and synchronisation"
Mediawiki mirroring and synchronisation - Mirroring - moving - Offline mediawiki (mvs, MWEclipse) - API/Mirroring - Mwlib - OAI - [Edit]
Contents |
[edit] 1 Mediawiki Move data around between wikis
One of the points of OER is that data can be moved around.
[edit] 1.1 Step 1
Exporting data via Special:Export - MWM/Getting_SpecialExport_data_with_LWP
[edit] 1.2 Step 2
- Rewrite the xml to remap namespace if needed
- Record the page name
[edit] 1.3 Step 3
Upload to wiki.
- Set cookie with LWP
- Submit to Special:Import
[edit] 1.4 Utilities
We may need to delete the pages from the new wiki again, so the page names recorded in Step 2 can be used to do this on the command line.
This above will only move around text. The the mediawiki::api tools for perl can upload images too: Mediawiki_mirror#MediaWiki-API
[edit] 2 Links
- Also see Mediawiki/Transwiki