import just wiki pages from mediawiki to tracwiki

8 views
Skip to first unread message

Keith German GSK

unread,
Jun 21, 2019, 5:29:01 PM6/21/19
to Trac Users
I'm trying to migrate all the content from our legacy wiki (mediawiki) to our new wiki (tracwiki).  First I exported from mediawiki using dumpBackup.php and then tried to load it using trac-admin but when I view it the format is all wrong.

export on mediawiki server:
# php dumpBackup.php --current > dump.xml

copy dump.xml to trac server and load:
# trac-admin <path-to-wiki> wiki load dump.xml

What am I missing?  Do I need to convert the xml file to another format before loading with trac-admin?

Thanks,
Keith

Ryan Ollos

unread,
Jun 21, 2019, 5:30:59 PM6/21/19
to Trac Users
The Markup language used in MediaWiki is probably different from Trac. Here are Trac's formatting rules:


- Ryan 
Reply all
Reply to author
Forward
0 new messages