-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Thursday 12 May 2005 17:58, Andrew Rodland wrote:
On 5/12/05, Nicolas Weeger
<nicolas.weeger(a)laposte.net> wrote:
* Current
syntax: '''italic''plain => '<i>italic</i>plain
* Proposed syntax: '''italic''plain =>
<b>italic<i>plain</i></b>
* Previous behaviour with new syntax:
<nowiki>'</nowiki>''italic''plain
For the record, I shall say that I fully expect riots on w:fr: if
this new behaviour becomes mandatory :)
Some versions, months ago, did require the <nowiki> tag, and it was
really afwul to manage.
And we'd also need to *fix* all pages with this syntax, and we can't
really fix automatically, need to check on a case-by-case basis.
Not quite true; it could be fixed automatically by having the existing
parser code apply the rule that it does now, and write a <nowiki>
around the ' that it interprets literally. It wouldn't be quite
semantically perfect, but articles would keep their appearances (and
it could even be applied before/without removing the offending code).
I agree that <nowiki> is somewhat unwieldy, but it's a solution to the
problem that already exists (and always has) and doesn't require
mangling the grammar so that it's imposible to know whether ''' means
''' or not.
A slightly more radical approach that just crossed my mind would be to
add a token reminiscent of TeX's "\/" which would produce no output,
but break up tokens. For the sake of readability in this email, let's
imagine it's ";"
* l';''italic''bold =>
"l'<i>italic</i>bold"
* l'';'italic''bold =>
"l<i>'italic</i>bold"
"\" as in
* l'\''italic''bold
* l''\'italic''bold
? "\" escaping is used a lot elsewhere and "\" would be the first char
that springs to my mind.
Best wishes,
Tels
gives you full control without the 17 characters of <nowiki></nowiki>.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l
- --
Signed on Thu May 12 20:19:22 2005 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
"Spammed if you do, spammed if you don't." - Murphy's Law
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQEVAwUBQoOeY3cLPEOTuEwVAQHMEAf+LjH+mywiDF2ov/tUfCjP39cH0PURR1zU
XPk8b2hdAHcYs0RnXMIEbdPXkJHZaYI0X/SakPEdd9KAAXcvrIX0zqV6kQdcURKc
XlY47o8JQt0oPLzgBRb+9Txktwjs1ur9ANqjriqSZFY1SrodiqIPVB4sSuKAxg8T
DxAdPO41/pK7MhzLT5/N4KSDUq/lADS2woZM0lxQShhaM2vagZg855XFdS+4yqu+
gpm8iRMQnoA51xLkUFwXBCwS/KNHVya4rv5nNdR/R9V+XGTY787jfz4GkBGizGIb
3VsJHXjDLyqbrkVL6pG1OlbL4SeUI5EG4Dk2XsB5P01oXUK3wyeMxQ==
=v1r2
-----END PGP SIGNATURE-----