On Nov 17, 2004, at 2:51 PM, John Fink wrote:
This totally works! Thanks much.
Woo-hoo!
I hate to hit you up for more information considering
how helpful
you've
been already, but I notice you're the author of the importUseMod php
script included in the mediawiki distribution. I've got a UseMod wiki
I'm
trying to upgrade to mediawiki, but this script says it's no longer
accurate for a UseMod upgrade. Is there a better way one can import
UseMod content into Mediawiki? Thanks much.
Make sure you're looking at the one in the maintenance directory, not
the old one in maintenance/archives. I should get rid of that one, it's
broken. :)
Also, I've just made a change which is in the CVS branch for adding
[[brackets]] to CamelCase and /Subpage links during import. I just
posted about this in response to a question on wikitech-l, check the
list archives at
mail.wikipedia.org.
A couple additional notes: the generated dump doesn't include the link
tables or search index, so run refreshLinks.php and
rebuildtextindex.php after importing to update those for all pages.
Also user accounts are not imported, since UseModWiki's user system is
very different and it's not easy to map them in, but the edit
attributions are retained by name. If you want Special:Contributions to
work after recreating the accounts you'll need to run through the cur
and old tables to update the cur_user and old_user fields with the
appropriate user_id numbers.
-- brion vibber (brion @
pobox.com)