|
[
Permlink
| « Hide
]
Laura Kolker added a comment - 14/May/07 01:26 PM
Alternatively, if step 3 is simple and predictable enough... we could just run links from step 4 through that syntax converter as well (instead of keeping the state in a hashtable)
What about the starting chars?
The message describing illegal pagenames says: Page titles can not contain (:, @, /, \, |, ^, #, ;, [, ], {, }, <, >) or start with ($, .., ~).
There were generally two possible solutions (or a combination of those two): one that maintained the illegal names in some sort of state, one that didn't.
The problem with the stateful one is that then, the user can't batch the sets of pages. Ie. They have to run the UWC on all their pages in order to get the links correct. The stateless one can't handle all edge cases for links. Currently, the most problematic edge case is if there are right brackets in the illegal name. The page name will be changed correctly, but the links won't be. Luckily, many wikis have right brackets as illegal characters for page names as well, so this case is unlikely. In then event it does become a use case of interest, perhaps we could have an optional-turn-on-the-stateful logic in addition to the stateless logic option. |
|||||||||||||||||||||||||||||||||||||||||||||||||