revert r84022 parser tests (code reverted by r89088)
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 31 May 2011 06:17:59 +0000 (06:17 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 31 May 2011 06:17:59 +0000 (06:17 +0000)
The code cause bug 29197 (PHP 5.3.x crash) and the parser tests are
blocking cruise control.

tests/parser/parserTests.txt

index 637fe98..94cb98b 100644 (file)
@@ -975,33 +975,6 @@ External links: wiki links within external link (Bug 3695)
 </p>
 !! end
 
-!! test
-External links: links containing empty bracket pair []
-!! input
-[http://example.com?parameter[]=foo link]
-!! result
-<p><a rel="nofollow" class="external text" href="http://example.com?parameter%5B%5D=foo">link</a>
-</p>
-!! end
-
-!! test
-External links: links ending in empty bracket pair []
-!! input
-[http://example.com?parameter[]=foo&option[]]
-!! result
-<p><a rel="nofollow" class="external autonumber" href="http://example.com?parameter%5B%5D=foo&amp;option%5B%5D">[1]</a>
-</p>
-!! end
-
-!! test
-External links: bare links ending in empty bracket pair []
-!! input
-http://example.com?parameter[]=foo&option[]
-!! result
-<p><a rel="nofollow" class="external free" href="http://example.com?parameter%5B%5D=foo&amp;option%5B%5D">http://example.com?parameter%5B%5D=foo&amp;option%5B%5D</a>
-</p>
-!! end
-
 !! test
 BUG 787: Links with one slash after the url protocol are invalid
 !! input