(bug 9156) Section edit links break if wikitext headings have non-whitespace after...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 7 May 2007 01:05:54 +0000 (01:05 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 7 May 2007 01:05:54 +0000 (01:05 +0000)
RELEASE-NOTES
includes/Parser.php

index fd1d8a9..e7f8ee1 100644 (file)
@@ -40,6 +40,8 @@ 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 0ef3d2b..30a4169 100644 (file)
@@ -4582,7 +4582,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.*?>
                                .*?