On Tue, Aug 29, 2006 at 11:49:44AM +0200, Andre Engels wrote:
2006/8/28, Jay R. Ashworth jra@baylink.com:
I think the behaviour where the saved text is not what you actually typed ought to be kept to a minimum. At current I know of that happening in two instances: ~~~~ (and variants) and [[Foo (blah)|]], which is replaced by [[Foo (blah)|Foo]]. It's kind of surprising to the user...
I concur, but both examples are miswarts: on inspection, it's pretty clear why those choices were made...
I agree where the ~~~~ is concerned, but how about [[Foo (blah)|]]? I have always considered the way that has been programmed to be some kind of error. I think it would have been better to keep [[Foo (blah)|]] in the text, and change it at parsing.
I'm of two minds on that. I think I might like invisible magic in the parser even less than I like visible magic in the subst:
Apart from the
'surprise' factor, I see two more advantages:
- It diminishes the human readability of the wiki text less (just
disregard the special symbols and anything between brackets and you get the 'flat text')
- It makes it much easier for newbies to learn this 'trick'. Now you
have to hear or read it somewhere, but if it were not changed on save, one could find it in existing wiki text and learn that way.
Well, if you learned it.
I really *would* like to know what percentage of our editors are the sort who would learn something like that; I'm *certain* it's declining... and we'd do well to remember that.
Cheers, -- jra