r23100 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23099‎ | r23100 | r23101 >
Date:15:49, 19 June 2007
Author:brion
Status:old
Tags:
Comment:
parser test cases for bug 10309
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -5832,7 +5832,48 @@
58335833 a
58345834 !! end
58355835
 5836+
58365837 !! test
 5838+Section extraction, <pre> around bogus header (bug 10309)
 5839+!! options
 5840+noxml section=2
 5841+!! input
 5842+== Section One ==
 5843+<pre>
 5844+=======
 5845+</pre>
 5846+
 5847+== Section Two ==
 5848+stuff
 5849+!! result
 5850+== Section Two ==
 5851+stuff
 5852+!! end
 5853+
 5854+!! test
 5855+Section replacement, <pre> around bogus header (bug 10309)
 5856+!! options
 5857+noxml replace=2,"xxx"
 5858+!! input
 5859+== Section One ==
 5860+<pre>
 5861+=======
 5862+</pre>
 5863+
 5864+== Section Two ==
 5865+stuff
 5866+!! result
 5867+== Section One ==
 5868+<pre>
 5869+=======
 5870+</pre>
 5871+
 5872+xxx
 5873+!! end
 5874+
 5875+
 5876+
 5877+!! test
58375878 Handling of &#x0A; in URLs
58385879 !! input
58395880 **irc://&#x0A;a

Follow-up revisions

RevisionCommit summaryAuthorDate
r23101* (bug 10309) Initialise parser state properly in extractSections(), fixes...brion16:00, 19 June 2007
r23104Merged revisions 23087-23102 via svnmerge from...david21:40, 19 June 2007

Status & tagging log