Mailing List Archive

import just wiki pages from mediawiki to tracwiki
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

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/f2468f40-1e17-4dc4-97bb-f426adfff768%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Re: import just wiki pages from mediawiki to tracwiki [ In reply to ]
On Fri, Jun 21, 2019 at 2:29 PM Keith German GSK <germankw@gmail.com> wrote:

> 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
>

The Markup language used in MediaWiki is probably different from Trac. Here
are Trac's formatting rules:
https://trac.edgewall.org/wiki/WikiFormatting

You might look at: https://trac-hacks.org/wiki/MediaWikiPluginMacro

- Ryan

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CA%2BBGpn-FVrGZ5rx%3Dfum%2B%3DASinovGADp5S6pYgryDvtTvcJ_QDw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.