(no commit message)
[ikiwiki.git] / doc / tips / convert_mediawiki_to_ikiwiki.mdwn
index 607560cba9045ec4b4d3b9b1a96da0887f0f638e..5c1a1863ba0ed69d2a19718b09c22f4925473b5e 100644 (file)
@@ -186,6 +186,8 @@ There is a repository of tools for converting MediaWiki to Git based Markdown wi
 
 [[Albert]] wrote a ruby script to convert from mediawiki's database to ikiwiki at <https://github.com/docunext/mediawiki2gitikiwiki>
 
+[[scy]] wrote a python script to convert from mediawiki XML dumps to git repositories at <https://github.com/scy/levitation>.
+
 [[Anarcat]] wrote a python script to convert from a mediawiki website to ikiwiki at <http://anarcat.ath.cx/software/mediawikigitdump.git/>. The script doesn't need any special access or privileges and communicates with the documented API (so it's a bit slower, but allows you to mirror sites you are not managing, like parts of Wikipedia). The script can also incrementally import new changes from a running site, through RecentChanges inspection. It also supports mithro's new Mediawiki2markdown converter.
 
 > Some assembly is required to get Mediawiki2markdown and its mwlib
@@ -258,4 +260,10 @@ IOError: [Errno 13] Permission denied: u'/Sites_using_MediaWiki_(English).mdwn'
 zsh: exit 1     ./mediawikigitdump.py -v -t http://archiveteam.org
 </pre>
 
-[[scy]] wrote a python script to convert from mediawiki XML dumps to git repositories at <https://github.com/scy/levitation>.
+> > > > > I have updated my script to call the parser without strict mode and to trim leading slashes (and /../, for that matter...) -- [[anarcat]]
+
+> > > > > > Getting this error with the new version on any site I try (when using -t only): `TypeError: argument 1 must be string or read-only character buffer, not None` 
+> > > > > > bisecting, commit 55941a3bd89d43d09b0c126c9088eee0076b5ea2 broke it.
+> > > > > > --[[Joey]] 
+
+> > > > > > > I can't reproduce here, can you try with -v or -d to try to trace down the problem? -- [[anarcat]]