Cscott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/57748


Change subject: New parserTest: check interaction of italics and English 
possessives.
......................................................................

New parserTest: check interaction of italics and English possessives.

This documents a current bug in the Parsoid parser.

Change-Id: I242324237640dd21fb24c50fa164a45091e388b8
---
M tests/parser/parserTests.txt
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/48/57748/1

diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index e2dcde8..f17bd81 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -363,6 +363,16 @@
 
 !! end
 
+# this example taken from the simple/Moon article
+!! test
+Italics and possessives
+!! input
+obtained by ''[[Lunar Prospector]]'''s gamma-ray spectrometer
+!! result
+<p>obtained by <i><a 
href="/index.php?title=Lunar_Prospector&amp;action=edit&amp;redlink=1" 
class="new" title="Lunar Prospector (page does not exist)">Lunar 
Prospector</a>'</i>s gamma-ray spectrometer
+</p>
+!! end
+
 ###
 ### 2-quote opening sequence tests
 ###

-- 
To view, visit https://gerrit.wikimedia.org/r/57748
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I242324237640dd21fb24c50fa164a45091e388b8
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

Reply via email to