Revert r21950; breaks four parser tests and allows various invalid constructions
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 8 May 2007 15:11:56 +0000 (15:11 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 8 May 2007 15:11:56 +0000 (15:11 +0000)
RELEASE-NOTES
includes/Parser.php

index e42954b..ddd48ee 100644 (file)
@@ -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 ==
 
index 3a52f24..740dbd2 100644 (file)
@@ -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
+                               $
                        |
                                <h([1-6])\b.*?>
                                .*?