]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 17 Nov 2009 21:18:26 +0000 (16:18 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 17 Nov 2009 21:18:26 +0000 (16:18 -0500)
doc/tips/convert_mediawiki_to_ikiwiki.mdwn

index 45df683de94a222ad98968c8f5675de87858b4fa..9719d9a7e86a5430b820be7ee035c8238238ea68 100644 (file)
@@ -118,7 +118,7 @@ into an ikiwiki tag name using a script such as
     pattern =  r'\[\[Category:([^\]]+)\]\]'
     
     def manglecat(mo):
-            return '[[!tag %s]]' % mo.group(1).strip().replace(' ','_')
+            return '\[[!tag %s]]' % mo.group(1).strip().replace(' ','_')
             
     for line in sys.stdin.readlines():
             res = re.match(pattern, line)