comparison 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
comparison
equal deleted inserted replaced
2725:388204baf00f 2726:6cb75379c073
7 'PAGE', 'some_page' -> 'some page' 7 'PAGE', 'some_page' -> 'some page'
8 'FILE', 'with%20blank.txt' -> 'with blank.txt' 8 'FILE', 'with%20blank.txt' -> 'with blank.txt'
9 9
10 Markup transformations needed: 10 Markup transformations needed:
11 ------------------------------------------------------- 11 -------------------------------------------------------
12 ["some_page"] -> ["some page"] # renamed 12 ["some_page"] -> [[some page]] # renamed
13 [:some_page:some text] -> ["some page" some text] # NEW: free link with link text 13 [:some_page:some text] -> [[some page|some text]] # NEW: free link with link text
14 [:page:text] -> ["page" text] # NEW: free link with link text 14 [:page:text] -> [[page|text]] # NEW: free link with link text
15 (with a page not being renamed) 15 (with a page not being renamed)
16 16
17 attachment:with%20blank.txt -> attachment:"with blank.txt" 17 attachment:with%20blank.txt -> [[attachment:with blank.txt]]
18 attachment:some_page/with%20blank.txt -> attachment:"some page/with blank.txt" 18 attachment:some_page/with%20blank.txt -> [[attachment:some page/with blank.txt]]
19 The attachment processing should also urllib.unquote the filename (or at 19 The attachment processing should also urllib.unquote the filename (or at
20 least replace %20 by space) and put it into "quotes" if it contains spaces. 20 least replace %20 by space) and put it into "quotes" if it contains spaces.
21 21
22 @copyright: 2007 MoinMoin:JohannesBerg, 22 @copyright: 2007 MoinMoin:JohannesBerg,
23 2007 MoinMoin:ThomasWaldmann 23 2007 MoinMoin:ThomasWaldmann