jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/355578 )

Change subject: Revert "lineardoc: Add test to cover span wrapping for around 
linkback a tags"
......................................................................


Revert "lineardoc: Add test to cover span wrapping for around linkback a tags"

This reverts commit 414d8c147aa48bbf7e1f85244052b9ecb210f060.

Parsoid patch for this feature was reverted

Change-Id: I57657fd99b6198dd6b5487dd0b7c5f54ffbb930d
---
M test/lineardoc/LinearDoc.test.js
D test/lineardoc/data/test6-result.xhtml
D test/lineardoc/data/test6-result.xml
D test/lineardoc/data/test6.xhtml
4 files changed, 1 insertion(+), 19 deletions(-)

Approvals:
  KartikMistry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/test/lineardoc/LinearDoc.test.js b/test/lineardoc/LinearDoc.test.js
index 2c27a97..ca397e9 100644
--- a/test/lineardoc/LinearDoc.test.js
+++ b/test/lineardoc/LinearDoc.test.js
@@ -9,7 +9,7 @@
        it( 'should be possible to linearise all kind of HTML inputs', function 
() {
                var parser, testXhtmlFile, resultXmlFile, resultXhtmlFile, 
testXhtml, resultXml,
                        resultXhtml, i,
-                       numTests = 6;
+                       numTests = 5;
                for ( i = 1; i <= numTests; i++ ) {
                        testXhtmlFile = __dirname + '/data/test' + i + '.xhtml';
                        resultXmlFile = __dirname + '/data/test' + i + 
'-result.xml';
diff --git a/test/lineardoc/data/test6-result.xhtml 
b/test/lineardoc/data/test6-result.xhtml
deleted file mode 100644
index e6376a9..0000000
--- a/test/lineardoc/data/test6-result.xhtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<ol about="#mwt6" class="mw-references" 
data-mw="{&#34;name&#34;:&#34;references&#34;,&#34;attrs&#34;:{}}" 
typeof="mw:Extension/references">
-<li about="#cite_note-x-1" id="cite_note-x-1"><span 
rel="mw:referencedBy"><span><a href="./Main_Page#cite_ref-x_1-0"><span 
class="mw-linkback-text">1 </span></a></span><span><a 
href="./Main_Page#cite_ref-x_1-1"><span class="mw-linkback-text">2 
</span></a></span></span> <span class="mw-reference-text" 
id="mw-reference-text-cite_note-x-1">foo</span></li>
-</ol>
diff --git a/test/lineardoc/data/test6-result.xml 
b/test/lineardoc/data/test6-result.xml
deleted file mode 100644
index 06d0e70..0000000
--- a/test/lineardoc/data/test6-result.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<ol>
-<cxblockspace/>
-<li>
-<cxtextblock>
-  <cxtextchunk tags="span:rel=mw:referencedBy span 
a:href=./Main_Page#cite_ref-x_1-0 span:class=mw-linkback-text">1 </cxtextchunk>
-  <cxtextchunk tags="span:rel=mw:referencedBy span 
a:href=./Main_Page#cite_ref-x_1-1 span:class=mw-linkback-text">2 </cxtextchunk>
-  <cxtextchunk> </cxtextchunk>
-  <cxtextchunk 
tags="span:id=mw-reference-text-cite_note-x-1,class=mw-reference-text">foo</cxtextchunk>
-</cxtextblock>
-</li>
-<cxblockspace/>
-</ol>
diff --git a/test/lineardoc/data/test6.xhtml b/test/lineardoc/data/test6.xhtml
deleted file mode 100644
index 453b5a8..0000000
--- a/test/lineardoc/data/test6.xhtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<ol class="mw-references" typeof="mw:Extension/references" about="#mwt6" 
data-mw='{"name":"references","attrs":{}}'>
-<li about="#cite_note-x-1" id="cite_note-x-1"><span 
rel="mw:referencedBy"><span><a href="./Main_Page#cite_ref-x_1-0"><span 
class="mw-linkback-text">1 </span></a></span><span><a 
href="./Main_Page#cite_ref-x_1-1"><span class="mw-linkback-text">2 
</span></a></span></span> <span id="mw-reference-text-cite_note-x-1" 
class="mw-reference-text">foo</span></li>
-</ol>

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I57657fd99b6198dd6b5487dd0b7c5f54ffbb930d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: KartikMistry <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to