From 0be61ee338f4f34f8c67cee8bec3456f4f7d5383 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 8 May 2007 15:11:56 +0000 Subject: [PATCH] Revert r21950; breaks four parser tests and allows various invalid constructions --- RELEASE-NOTES | 2 -- includes/Parser.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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 + $ | .*? -- 2.20.1