From: Fomafix Date: Wed, 7 Aug 2019 19:53:51 +0000 (+0200) Subject: parserTests: Add parser test with filename containing single quotes X-Git-Tag: 1.34.0-rc.0~537^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=ec7ad5a55453752e9901de466b4e58cb55e4d499;p=lhc%2Fweb%2Fwiklou.git parserTests: Add parser test with filename containing single quotes This parser test reflects the current behavior of the parser with filenames containing single quotes. The behavior can changed by future changes of the parser. Change-Id: I6dbeb6c1b8ab356d9d4372597957cd0ad01040a2 --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 7046a7f2fd..7efa8e332e 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -8079,6 +8079,17 @@ File containing double quotes and spaces

File:Cool "Gator".png

!! end +!! test +File containing single quotes +!! wikitext +[[File:Foo's ''italic'' bar.jpg]] +[[File:Foo's ''italic'' bar.jpg|Foo's ''italic'' bar]] +!! html/php+tidy +

File:Foo's italic bar.jpg +Foo's italic bar +

+!! end + !! test Redirect containing double quotes and spaces !! wikitext