On Nov 16, 2004, at 2:49 AM, Philipp wrote:
is there a howto available for comfortably
transferring an existing
usemod-wiki
(meaning its contents) to a newly installed mediawiki besides copying
each
single article manually and adjusting the links? About 1000 articles
in question.
AFAIK there's no documentation, but a UseMod->MediaWiki converter
script is in the maintenance subdirectory of the distribution:
importUseModWiki.php
Set the $wgRootDirectory at the top to the appropriate path to your
UseMod page database, and run the script. It will output a bunch of SQL
statements; save these to a file. Install a fresh MediaWiki, then
import the generated SQL dump into MySQL.
Very useful would be some function for influencing
"usemod article
name" ->
"mediawiki article name", so an old article "NamingConventions" can
be
chosen to
become "Naming Conventions" in mediawiki as well for the title as for
the links
themselves in any article they appear?
You could probably hack the script to do that.
-- brion vibber (brion @
pobox.com)