* (bug 6398) Work around apparent PCRE bug breaking section editing when massively...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 21 Jun 2006 23:13:05 +0000 (23:13 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 21 Jun 2006 23:13:05 +0000 (23:13 +0000)
RELEASE-NOTES
includes/Parser.php

index 998086f..90a182b 100644 (file)
@@ -532,6 +532,9 @@ Some default configuration options have changed:
 * (bug 6351) Update to German translation (de)
 * Respect language directionality when displaying arrow in Special:Brokenredirects
 * Remove unused "validation" table definitions from the schema files
+* (bug 6398) Work around apparent PCRE bug breaking section editing when
+  massively-indented preformatted text immediately followed a header
+
 
 == Compatibility ==
 
index bf7e24a..37832a9 100644 (file)
@@ -4327,7 +4327,7 @@ class Parser
                                (=+) # Should this be limited to 6?
                                .+?  # Section title...
                                \\2  # Ending = count must match start
-                               (?:$comment|<\/?noinclude>|\s+)* # Trailing whitespace ok
+                               (?:$comment|<\/?noinclude>|[ \\t]+)* # Trailing whitespace ok
                                $
                        |
                                <h([1-6])\b.*?>