{"id":223,"date":"2005-04-13T12:36:25","date_gmt":"2005-04-13T10:36:25","guid":{"rendered":"http:\/\/blogs.bl0rg.net\/neingeist-neu\/2005\/04\/13\/converting-twiki-to-mediawiki\/"},"modified":"2006-10-10T04:05:58","modified_gmt":"2006-10-10T02:05:58","slug":"converting-twiki-to-mediawiki","status":"publish","type":"post","link":"https:\/\/blogs.bl0rg.net\/neingeist\/2005\/04\/13\/converting-twiki-to-mediawiki\/","title":{"rendered":"Converting TWiki to MediaWiki"},"content":{"rendered":"<p>A while ago, we migrated our <a href=\"http:\/\/www.entropia.de\/wiki\">Entropia Wiki<\/a> from <a href=\"http:\/\/www.twiki.org\">TWiki<\/a> to <a href=\"http:\/\/www.mediawiki.org\">MediaWiki<\/a>. I wrote a little dirty Perl script to help us migrating and it did help a lot. I&#8217;m not maintaining it anymore, still I wanted to share the script as it could be useful for other people. You can get it <a href=\"http:\/\/bl0rg.net\/software\/twiki2mediawiki\/twiki2mediawiki-0.0.tar.gz\">here<\/a>. Don&#8217;t bother me with bug reports \ud83d\ude42<\/p>\n<p>From the script&#8217;s description:<\/p>\n<pre># twiki2mediawiki converts TWiki Wikis to MediaWiki SQL. Make backups and pray.\r\n# A todo list called Twiki2mediawiki_TODO_list will be generated, so you can\r\n# check each page for conversion errors.\r\n#\r\n# BUGS\r\n# - Doesn't handle umlauts in titles\r\n# - Leaves some HTML-markup that worked in TWiki hanging around\r\n# - Doesn't handle *fat* TWiki-style\r\n# - Doesn't handle TWiki-tables\r\n# - Doesn't handle Inter-TwikiWeb.Links correctly\r\n# - Doesn't handle all styles of links\r\n# - Full text earching does not work: As you really should touch\r\n#   every single page anyway, this is not a big problem.\r\n#\r\n# WHAT TO DO AFTER CONVERTING\r\n#\r\n# Visit \"Twiki2mediawiki_TODO_list\" to fix your wiki:\r\n#\r\n# - Rename a lot of pages (CameLcase)\r\n# - Fix b0rken links (see BUGS)\r\n# - Fix b0rken markup (see BUGS)<\/pre>\n<p>I believe the full-text search would work if you let MediaWiki reindex the whole Wiki. There&#8217;s some info about that in the <a href=\"http:\/\/de.wikipedia.org\/wiki\/Wikipedia:Download#Optional:_Textindex\">German Wikipedia&#8217;s Download page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A while ago, we migrated our Entropia Wiki from TWiki to MediaWiki. I wrote a little dirty Perl script to help us migrating and it did help a lot. I&#8217;m not maintaining it anymore, still I wanted to share the script as it could be useful for other people. You can get it here. Don&#8217;t [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,12],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts\/223"}],"collection":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":0,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/tags?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}