Cscott has uploaded a new change for review. https://gerrit.wikimedia.org/r/61777
Change subject: Update parserTests.txt to include combined link prefix/link trail tests. ...................................................................... Update parserTests.txt to include combined link prefix/link trail tests. The new test was added in https://gerrit.wikimedia.org/r/61617 and we fixed the exposed bugs in https://gerrit.wikimedia.org/r/61691 The new test fails html2html and html2wt, like all the link tests do. (The HTML in the parserTests is missing the rel="mw:WikiLink" on the <a> tag which WikitextSerializer expects.) Change-Id: I6332e5bcb29cde13437e1cdddb06b23e87c745da --- M js/tests/fetch-parserTests.txt.js M js/tests/parserTests-blacklist.js 2 files changed, 6 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid refs/changes/77/61777/1 diff --git a/js/tests/fetch-parserTests.txt.js b/js/tests/fetch-parserTests.txt.js index da617dd..348a019 100755 --- a/js/tests/fetch-parserTests.txt.js +++ b/js/tests/fetch-parserTests.txt.js @@ -10,9 +10,9 @@ // and update these hashes automatically. // // You can use 'sha1sum -b tests/parser/parserTests.txt' to compute this value: -var expectedSHA1 = "1d55be6db97e021e776547f162374089f8e8d04b"; +var expectedSHA1 = "4d62310d8a2c86af58e8a3d637056bf074092ab5"; // git log --pretty=oneline -1 tests/parser/parserTests.txt -var latestCommit = "7833589c5d576648b4db78bc69963bf8d516242d"; +var latestCommit = "bfe2ee4bc237fbe2105f66094ad8ef231dd36b82"; var fs = require('fs'), path = require('path'), diff --git a/js/tests/parserTests-blacklist.js b/js/tests/parserTests-blacklist.js index bed5b83..222ac5a 100644 --- a/js/tests/parserTests-blacklist.js +++ b/js/tests/parserTests-blacklist.js @@ -711,7 +711,8 @@ add("html2html", "Internal link with en linktrail: no apostrophes (bug 27473)"); add("html2html", "Internal link with ca linktrail with apostrophes (bug 27473)"); add("html2html", "Internal link with kaa linktrail with apostrophes (bug 27473)"); -add("html2html", "Internal link with is linkprefix"); +add("html2html", "Internal link with is link prefix"); +add("html2html", "Internal link with is link trail and link prefix"); add("html2html", "Parsoid-centric test: Whitespace in ext- and wiki-links should be preserved"); add("html2html", "Inline interwiki link"); add("html2html", "Inline interwiki link with empty title (bug 2372)"); @@ -1297,7 +1298,8 @@ add("html2wt", "Internal link with en linktrail: no apostrophes (bug 27473)"); add("html2wt", "Internal link with ca linktrail with apostrophes (bug 27473)"); add("html2wt", "Internal link with kaa linktrail with apostrophes (bug 27473)"); -add("html2wt", "Internal link with is linkprefix"); +add("html2wt", "Internal link with is link prefix"); +add("html2wt", "Internal link with is link trail and link prefix"); add("html2wt", "Parsoid-centric test: Whitespace in ext- and wiki-links should be preserved"); add("html2wt", "Inline interwiki link"); add("html2wt", "Inline interwiki link with empty title (bug 2372)"); -- To view, visit https://gerrit.wikimedia.org/r/61777 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6332e5bcb29cde13437e1cdddb06b23e87c745da Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: Cscott <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
