Partial fix for #595869 ": in URL after ; parsed as list item"
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 29 Apr 2004 06:16:21 +0000 (06:16 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 29 Apr 2004 06:16:21 +0000 (06:16 +0000)
commit40e3893b518560d858a48f74a7096223ce4c7b5f
treeb84ddc03709aaf4b243de19df325563e9d0182fc
parentb78e9d1492ff980d314901b17443ac9af7d4e584
Partial fix for #595869 ": in URL after ; parsed as list item"
Also put sensible names on many variables in doBlockLevels() and added
some comments.

This partial fix requires there to be a space prior to the post-; : to get
parsed as the definition:
; def title : def text

thus it doesn't trigger on a URL or namesapce properly written:
; def title [http://link] : def text

However the regexp will fail and break things if there's an actual space
before a : in the link, which is possible in piped text etc. It may be
desirable to deal with this at the tokenizer level, to keep it clear
of links, tags, etc.
includes/Parser.php