projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1820436
)
shuffle commit symbol around
author
Jon Dowland
<jon@alcopop.org>
Tue, 17 Nov 2009 15:56:42 +0000
(15:56 +0000)
committer
Jon Dowland
<jon@alcopop.org>
Tue, 17 Nov 2009 15:56:42 +0000
(15:56 +0000)
doc/tips/convert_mediawiki_to_ikiwiki.mdwn
patch
|
blob
|
history
diff --git
a/doc/tips/convert_mediawiki_to_ikiwiki.mdwn
b/doc/tips/convert_mediawiki_to_ikiwiki.mdwn
index 3b8e5043c8c14ca6a2aafa21291d1f3017c860e5..9719d9a7e86a5430b820be7ee035c8238238ea68 100644
(file)
--- a/
doc/tips/convert_mediawiki_to_ikiwiki.mdwn
+++ b/
doc/tips/convert_mediawiki_to_ikiwiki.mdwn
@@
-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)