From: Brion Vibber Date: Tue, 8 May 2007 15:11:56 +0000 (+0000) Subject: Revert r21950; breaks four parser tests and allows various invalid constructions X-Git-Tag: 1.31.0-rc.0~53021 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=0be61ee338f4f34f8c67cee8bec3456f4f7d5383;p=lhc%2Fweb%2Fwiklou.git Revert r21950; breaks four parser tests and allows various invalid constructions --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e42954ba1e..ddd48ee2d6 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -40,8 +40,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN like [[User:#123|#123]] * Use the standard HTTP fetch functions when retrieving remote wiki pages through transwiki, so we can take advantage of cURL goodies if available -* (bug 9156) Section edit links break if wikitext headings have non-whitespace - after them on the line == Maintenance script changes since 1.10 == diff --git a/includes/Parser.php b/includes/Parser.php index 3a52f24e69..740dbd2518 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4583,7 +4583,7 @@ class Parser .+? # Section title... \\2 # Ending = count must match start (?:$comment|<\/?noinclude>|[ \\t]+)* # Trailing whitespace ok - # Bug 9156: don't require EOL here + $ | .*?