Cscott has uploaded a new change for review. https://gerrit.wikimedia.org/r/79343
Change subject: Add parserTests for the interaction of italics and possessives. ...................................................................... Add parserTests for the interaction of italics and possessives. Bug: 49926 Change-Id: I9756a1fb0bd583e6a4495ef28c3c159492dad871 --- M tests/parser/parserTests.txt 1 file changed, 23 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/43/79343/1 diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 91fabb7..8268fd5 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -447,9 +447,9 @@ !! end -# this example taken from the simple/Moon article +# this example taken from the [[simple:Moon]] article (bug 47326) !! test -Italics and possessives +Italics and possessives (1) !! input obtained by ''[[Lunar Prospector]]'''s gamma-ray spectrometer !! result @@ -457,6 +457,27 @@ </p> !! end +# this example taken from [[en:Flaming Pie]] (bug 49926) +!! test +Italics and possessives (2) +!! input +'''''Flaming Pie''''' is ... released in 1997. In ''Flaming Pie'''s liner notes +!! result +<p><i><b>Flaming Pie</b></i> is ... released in 1997. In <i>Flaming Pie'</i>s liner notes +</p> +!! end + +# this example taken from [[en:Dictionary]] (bug 49926) +!! test +Italics and possessives (3) +!! input +The first monolingual dictionary written in a Romance language was ''Sebastián Covarrubias''' ''Tesoro de la lengua castellana o española'', published in 1611 in Madrid. In 1612 the first edition of the ''Vocabolario dell'[[Accademia della Crusca]]'', for Italian, was published. In 1690 in Rotterdam was published, posthumously, the ''Dictionnaire Universel''. +!! result +<p>The first monolingual dictionary written in a Romance language was <i>Sebastián Covarrubias'</i> <i>Tesoro de la lengua castellana o española</i>, published in 1611 in Madrid. In 1612 the first edition of the <i>Vocabolario dell'<a href="/index.php?title=Accademia_della_Crusca&action=edit&redlink=1" class="new" title="Accademia della Crusca (page does not exist)">Accademia della Crusca</a></i>, for Italian, was published. In 1690 in Rotterdam was published, posthumously, the <i>Dictionnaire Universel</i>. +</p> +!! end + + ### ### 2-quote opening sequence tests ### -- To view, visit https://gerrit.wikimedia.org/r/79343 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9756a1fb0bd583e6a4495ef28c3c159492dad871 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Cscott <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
