diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-09-02 15:19:34 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-09-02 15:19:34 +0200 |
commit | 9498a3d2852ace0f4ee23598f542dbce3fd2ec28 (patch) | |
tree | 5aeced25a9fc09f93682788259f5c7d6d248634d /tests/parser/parserTests.txt | |
parent | 588cc40aeec0165400421ef9612e81b6d2c7b936 (diff) |
Update to MediaWiki 1.19.2
Diffstat (limited to 'tests/parser/parserTests.txt')
-rw-r--r-- | tests/parser/parserTests.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index d304b19c..11a55163 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -1733,6 +1733,21 @@ Link with double quotes in title part (literal) and alternate part (interpreted) !! end !! test +Broken image links with HTML captions (bug 39700) +!! input +[[File:Nonexistent|<script></script>]] +[[File:Nonexistent|100px|<script></script>]] +[[File:Nonexistent|<]] +[[File:Nonexistent|a<i>b</i>c]] +!! result +<p><a href="/index.php?title=Special:Upload&wpDestFile=Nonexistent" class="new" title="File:Nonexistent"><script></script></a> +<a href="/index.php?title=Special:Upload&wpDestFile=Nonexistent" class="new" title="File:Nonexistent"><script></script></a> +<a href="/index.php?title=Special:Upload&wpDestFile=Nonexistent" class="new" title="File:Nonexistent"><</a> +<a href="/index.php?title=Special:Upload&wpDestFile=Nonexistent" class="new" title="File:Nonexistent">abc</a> +</p> +!! end + +!! test Plain link to URL !! input [[http://www.example.com]] |