Topic on Project:Support desk

[RESOLVED] Importing from one mediawiki to another - help

4
69.112.86.179 (talkcontribs)

I have exactly 2 hours of experience with my new mediawiki installation :-)

Here's the problem. I am exported selected pages (via Special:Export to xml) from a mediawiki site that has some sort of forum extension. I can't tell which forum extension it is using. The export seems to work fine.

Upon import to my mediawiki site (which has no sort of forum extension), the pages all import fine -- but when I view them all I see are entries like this:

Template:ForumNewPost Template:ForumReplyPost Template:ForumReplyPost Template:ForumReplyPost Template:ForumReplyPost

If I go to the revision history of the page, I can click on the timestamp and I get the actual page rendered with all the text (and it is actually formatted pretty well!)

Question: How do I get the main link for the discussion page to show up with the actual discussion, not with those "Template" references?

Thanks...

Ciencia Al Poder (talkcontribs)

Well, at first look it seems that you should also import Template:ForumNewPost and Template:ForumReplyPost from the original wiki.

Also, if it uses a forum extension, and the messages are stored in it's own page (internally), each forum thread will be split with each message in a different page. That's the job of the forum extension, and you won't be able to emulate that, unless you manually create pages for each thread and transclude the contents of each message there.

69.112.86.179 (talkcontribs)

Thanks very much; I think I did subsequently import the templates but didn't realize that I had to edit/save the previously imported pages to get them to associate. They display fine now, and further page imports seem to work fine now with no need to do the edit/save routine.

Thanks!

Ciencia Al Poder (talkcontribs)

Yes, pages get imported in the order they're stored in the import XML. Maybe the pages were there before the templates, and when templates were imported they didn't purge the pages.

Note that if those templates were used on a lot of pages, those pages weren't purged automatically, and the purge should be delayed in the Manual:Job queue. Assuming that's what happened, running Manual:runJobs.php should have been fixed this, otherwise that would be a bug.

Reply to "[RESOLVED] Importing from one mediawiki to another - help"