Thread:Project:Support desk/Export to an other platform/reply

Hi Martin,

I have quickly googled to see if there is a script and I did not find one, which offers it could do that.

However, from a logical point of view, it is surely possible: MediaWiki uses pages and so does TYPO3. Theoretically you can use the page names from the pages table to have according pages inside TYPO3.

TYPO3 uses content elements on the pages - you could take the text of the newest revision of a page and put this text into one content element, which you store on the page (identified by its uid). However, you will have to modify the content when you do so: TYPO3 does not support wiki syntax; the Rich Text Editor saves HTML in the content elements. Another aspect would be links, e.g. to files. You would have to upload these files in TYPO3 and create according links in the content elements. TYPO3 has a file abstraction layer and I think it might have an API, but I don't know for sure.

Something else would be the page structure: While the pages in MediaWiki are not structured hierarchically in some way, TYPO3 uses a page tree, that means the pages are organized in a tree structure. Maybe you can in theory create such a structure, if you use categorization in MediaWiki and then use the information on categories and subcategories to create such a tree. However, I do not know of a script, which could do that automatically out of the box.

As for the users: TYPO3 uses the concept of users as well, so you can create new accounts based on the users you have in the user table of MediaWiki. Also does TYPO3 use user groups to give users special rights. This system is way more complex in TYPO3 than it is in MediaWiki, so it will be possible to translate your MediaWiki user groups into TYPO3 user groups without loosing information. However, if the number of users, who are in special groups, is rather big, I think it would be easier to write a script, which automatically adds the users to the according groups in TYPO3 instead of adding them all by hand.

These are the things that spontaneously came to my mind. There might still be other relevant issues, but I guess these are some of the main points at least. Depending on the size of the wiki, this will be more or less work. However, since you explicitly asked for TYPO3 I think you already know of the advantages, which TYPO3 offers over MediaWiki, so you have to weigh, if these advantages are worth the work in your case.