Dear,
I have just semi-successfully migrated data from my current MediaWiki instance to Xwiki.
The problem I have is with templates.
Every page which uses templates is not being converted correctly.
This is what I am getting:
The templates were imported as pages e.g.:


But pages which were using those are displayed with unknown macro block.
Could you please point me to the correct direction, what should I do to make it work.
Thank you in advance.
Hi, I’m not familiar with the MediaWiki importer but I doubt that it’s able to automatically convert MW templates into XWiki macros. You’ll need to create those wiki macros yourself AFAIK. See https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/WritingMacros/WikiMacroTutorial/
The mediawiki input filter does not convert templates right now (and most probably ever since converting PHP scripts using specific mediawiki API to XWiki script is probably a lost cause) but what it’s doing is adding “place holders” in the form of macro calls so that you know what’s missing and “just” have to provide implementation for those calls.
Hi,
Thank you very much for pointing this out. I will take a different approach.
Greets.