From ec7ad5a55453752e9901de466b4e58cb55e4d499 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Wed, 7 Aug 2019 21:53:51 +0200 Subject: [PATCH] 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 --- tests/parser/parserTests.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.20.1