summaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorJon Dowland <jon@alcopop.org>2009-10-16 11:21:26 +0100
committerJon Dowland <jon@alcopop.org>2009-10-16 11:21:26 +0100
commit58287a929b0ea209a062d11940232a3d31805885 (patch)
treea690a0e46fd989054b5e2b90af393a527ff38fe9 /doc/tips
parent811394ec92205112d3fec0d4f6aac380202f114b (diff)
explanatory text
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/convert_mediawiki_to_ikiwiki.mdwn9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/tips/convert_mediawiki_to_ikiwiki.mdwn b/doc/tips/convert_mediawiki_to_ikiwiki.mdwn
index ce0c684e7..3f771ed9b 100644
--- a/doc/tips/convert_mediawiki_to_ikiwiki.mdwn
+++ b/doc/tips/convert_mediawiki_to_ikiwiki.mdwn
@@ -83,10 +83,13 @@ well-crafted queries.
## Step 2: format conversion
-The next step is to convert Mediawiki conventions into Ikiwiki ones. These
-include
+The next step is to convert Mediawiki conventions into Ikiwiki ones.
- * convert Categories into tags
+### categories
+
+Mediawiki uses a special page name prefix to define "Categories", which
+otherwise behave like ikiwiki tags. You can convert every Mediawiki category
+into an ikiwiki tag name using a script such as
import sys, re
pattern = r'\[\[Category:([^\]]+)\]\]'