diff MoinMoin/script/migration/_conv160_wiki.py @ 2726:6cb75379c073

change ["free link"] to [[free link]] in all built-in markup
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 12 Aug 2007 23:58:58 +0200
parents e3e5e2373c60
children 59b3d8b8971f
line wrap: on
line diff
--- a/MoinMoin/script/migration/_conv160_wiki.py	Sun Aug 12 23:42:33 2007 +0200
+++ b/MoinMoin/script/migration/_conv160_wiki.py	Sun Aug 12 23:58:58 2007 +0200
@@ -9,13 +9,13 @@
 
     Markup transformations needed:
     -------------------------------------------------------
-    ["some_page"]           -> ["some page"] # renamed
-    [:some_page:some text]  -> ["some page" some text] # NEW: free link with link text
-    [:page:text]            -> ["page" text] # NEW: free link with link text
+    ["some_page"]           -> [[some page]] # renamed
+    [:some_page:some text]  -> [[some page|some text]] # NEW: free link with link text
+    [:page:text]            -> [[page|text]] # NEW: free link with link text
                                (with a page not being renamed)
 
-    attachment:with%20blank.txt -> attachment:"with blank.txt"
-    attachment:some_page/with%20blank.txt -> attachment:"some page/with blank.txt"
+    attachment:with%20blank.txt -> [[attachment:with blank.txt]]
+    attachment:some_page/with%20blank.txt -> [[attachment:some page/with blank.txt]]
     The attachment processing should also urllib.unquote the filename (or at
     least replace %20 by space) and put it into "quotes" if it contains spaces.