I know I can copy the rendered Tiki-Wiki page into LibreOffice and then export it into MediaWiki format, but what about hundreds of pages? Is there a reliable script?
I need to convert only tables.
I know I can copy the rendered Tiki-Wiki page into LibreOffice and then export it into MediaWiki format, but what about hundreds of pages? Is there a reliable script?
I need to convert only tables.
Copyright © 2021 Jogjafile Inc.
You need to convert this:
Into this:
So your script has to do 5 string substitutions:
||
by{|\n
||
by\n|}
||
by@@SEPARATOR_ROW@@
|
by||
@@SEPARATOR_ROW@@
by\n|-\n
Another way could be to convert your tiki table in HTML format, as MediaWiki also supports HTML format.
References for the wiki syntax: