[MediaWiki-commits] [Gerrit] mediawiki...parsoid[master]: T156295: Make tests php only
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/339578 ) Change subject: T156295: Make tests php only .. T156295: Make tests php only Change-Id: I7c4699a6b5ac1f2d1c891f0d66b3e1cc7d0bd5fa --- M tests/parserTests-blacklist.js M tests/parserTests.txt 2 files changed, 3 insertions(+), 17 deletions(-) Approvals: C. Scott Ananian: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/parserTests-blacklist.js b/tests/parserTests-blacklist.js index ad16405..dc5b9cb 100644 --- a/tests/parserTests-blacklist.js +++ b/tests/parserTests-blacklist.js @@ -240,9 +240,6 @@ add("wt2html", "formatdate parser function, with default format and on a page of which the content language is always English and different from the wiki content language", "Parser function implementation for pf_#formatdate missing in Parsoid."); add("wt2html", "Bad images - basic functionality", ""); add("wt2html", "Bad images - T18039: text after bad image disappears", "Foo bar\n\nBar foo"); -add("wt2html", "Page status indicators: Empty name is invalid", "indicator name=\" \">/indicator>\nindicator>/indicator>"); -add("wt2html", "Page status indicators: Weird syntaxes that are okay", "indicator name=\"empty\" />\nindicator name=\"name\">/indicator>"); -add("wt2html", "Page status indicators: Torture test", "indicator name=\"01\">hello world/indicator>\nindicator name=\"02\">[[Main Page]]/indicator>\nindicator name=\"03\">[[File:Foobar.jpg|25px|link=]]/indicator>\nindicator name=\"04\">[[File:Foobar.jpg|25px]]/indicator>\nindicator name=\"05\">* foo\n* bar/indicator>\nindicator name=\"06\">nowiki>foo/nowiki>/indicator>\nindicator name=\"07\"> Preformatted/indicator>\nindicator name=\"08\">div>Broken tag/indicator>\nindicator name=\"09\">{| class=wikitable\n| cell\n|}/indicator>\nindicator name=\"10\">Two\n\nparagraphs/indicator>"); add("wt2html", "T33098 Template which includes system messages which includes the template", "Parser function implementation for pf_int missing in Parsoid.\nParser function implementation for pf_int missing in Parsoid."); add("wt2html", "T33490 Turkish: ucfirst 'ix'", "Ix"); add("wt2html", "T33490 Turkish: ucfırst (with a dotless i)", "{{ucfırst:blah}}"); @@ -344,7 +341,6 @@ add("wt2wt", "T2529: Uncovered bullet leaving empty list, normally removed by tidy", "*** Foo \n{{bullet}}"); add("wt2wt", "HHP2.1: Heuristics for headings in preprocessor parenthetical structures", "{{foo|\n=heading=\n"); add("wt2wt", "HHP2.2: Heuristics for headings in preprocessor parenthetical structures", "{{foo|\n==heading==\n"); -add("wt2wt", "Page status indicators: Empty name is invalid", "\n\n"); add("wt2wt", "T21052 U+3000 IDEOGRAPHIC SPACE should terminate bracketed external links", "[http://www.example.org/ ideograms]\n"); add("wt2wt", "Ignore pipe between table row attributes", "{|\n| quux\n|- id=\"foo\" style=\"color: red\" |\n| bar\n|}"); add("wt2wt", "2. Bad treebuilder fixup of formatting elt is cleaned up", "'''foo'''[[File:Foobar.jpg|thumb|'''caption''']]'''bar'''\n\n[[Image:Foobar.jpg|right|300px]]"); @@ -541,8 +537,6 @@ add("html2html", "Free external link invading image caption", "http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg\; alt=\"180px-Foobar.jpg\" rel=\"mw:externalImage\" data-parsoid='{\"dsr\":[71,135,null,null]}'/> [/wiki/File:Foobar.jpg]hello\n"); add("html2html", "Bad images - basic functionality", "\n"); add("html2html", "Bad images - T18039: text after bad image disappears", "Foo bar\n\nBar foo\n"); -add("html2html", "Page status indicators: Weird syntaxes that are okay", "empty=\nname=\n\n\n"); -add("html2html", "Page status indicators: Torture test", "01=hello world\n02=Main Page\n03=http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg\; alt=\"25px-Foobar.jpg\" rel=\"mw:externalImage\" data-parsoid='{\"dsr\":[50,113,null,null]}'/>\n04=http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg\; alt=\"25px-Foobar.jpg\" rel=\"mw:externalImage\" data-parsoid='{\"dsr\":[117,180,null,null]}'/>\n05=\n foo\n bar\n\n06=foo\n07=\nPreformatted\n\n08=Broken tag\n\n09=\n\n cell\n\n\n10=\n\nTwo\n\nparagraphs\n\n\n\n\n\n\n\n\n\n\n"); add("html2html", "T33098 Template which includes system messages which includes the template", "Template loop detected: Template:Identical\nTemplate loop detected: Template:Identical\n"); add("html2html", "T33490 Turkish: ucfırst (with a dotless i)", "[/index.php?title=%C5%9Eablon:Ucf%C4%B1rst:blahaction=editredlink=1 Şablon:Ucfırst:blah]\n"); add("html2html", "T33490 ucfırst (with a dotless i) with English language", "[/index.php?title=Template:Ucf%C4%B1rst:blahaction=editredlink=1 Template:Ucfırst:blah]\n"); @@ -1152,9 +1146,6 @@ add("html2wt", "formatdate parser function, with default format", "March 24, 2009\n"); add("html2wt", "Spacing of numbers in formatted
[MediaWiki-commits] [Gerrit] mediawiki...parsoid[master]: T156295: Make tests php only
Arlolra has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/339578 ) Change subject: T156295: Make tests php only .. T156295: Make tests php only Change-Id: I7c4699a6b5ac1f2d1c891f0d66b3e1cc7d0bd5fa --- M lib/config/baseconfig/enwiki.json M tests/parserTests-blacklist.js M tests/parserTests.txt 3 files changed, 5 insertions(+), 12 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid refs/changes/78/339578/1 diff --git a/lib/config/baseconfig/enwiki.json b/lib/config/baseconfig/enwiki.json index 524e179..fef34c1 100644 --- a/lib/config/baseconfig/enwiki.json +++ b/lib/config/baseconfig/enwiki.json @@ -1297,7 +1297,8 @@ "", "", "", - "" + "", + "" ], "general": { "mainpage": "Main Page", diff --git a/tests/parserTests-blacklist.js b/tests/parserTests-blacklist.js index 93087ee..985d46d 100644 --- a/tests/parserTests-blacklist.js +++ b/tests/parserTests-blacklist.js @@ -240,9 +240,6 @@ add("wt2html", "formatdate parser function, with default format and on a page of which the content language is always English and different from the wiki content language", "Parser function implementation for pf_#formatdate missing in Parsoid."); add("wt2html", "Bad images - basic functionality", ""); add("wt2html", "Bad images - T18039: text after bad image disappears", "Foo bar\n\nBar foo"); -add("wt2html", "Page status indicators: Empty name is invalid", "indicator name=\" \">/indicator>\nindicator>/indicator>"); -add("wt2html", "Page status indicators: Weird syntaxes that are okay", "indicator name=\"empty\" />\nindicator name=\"name\">/indicator>"); -add("wt2html", "Page status indicators: Torture test", "indicator name=\"01\">hello world/indicator>\nindicator name=\"02\">Main Page/indicator>\nindicator name=\"03\">/indicator>\nindicator name=\"04\">/indicator>\nindicator name=\"05\">* foo\n bar/indicator>\nindicator name=\"06\">foo/indicator>\nindicator name=\"07\"> Preformatted/indicator>\nindicator name=\"08\">Broken tag/indicator>\nindicator name=\"09\">{| class=wikitable\n| cell\n|}/indicator>\nindicator name=\"10\">Two\n\nparagraphs/indicator>"); add("wt2html", "T33098 Template which includes system messages which includes the template", "Parser function implementation for pf_int missing in Parsoid.\nParser function implementation for pf_int missing in Parsoid."); add("wt2html", "T33490 Turkish: ucfirst 'ix'", "Ix"); add("wt2html", "T33490 Turkish: ucfırst (with a dotless i)", "Warning: Page/template fetching disabled, and no cache for Ucfırst:blah"); @@ -540,8 +537,6 @@ add("html2html", "Free external link invading image caption", "http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg\; alt=\"180px-Foobar.jpg\" rel=\"mw:externalImage\" data-parsoid='{\"dsr\":[71,135,null,null]}'/> [/wiki/File:Foobar.jpg]hello\n"); add("html2html", "Bad images - basic functionality", "\n"); add("html2html", "Bad images - T18039: text after bad image disappears", "Foo bar\n\nBar foo\n"); -add("html2html", "Page status indicators: Weird syntaxes that are okay", "empty=\nname=\n\n\n"); -add("html2html", "Page status indicators: Torture test", "01=hello world\n02=Main Page\n03=http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg\; alt=\"25px-Foobar.jpg\" rel=\"mw:externalImage\" data-parsoid='{\"dsr\":[50,113,null,null]}'/>\n04=http://example.com/images/thumb/3/3a/Foobar.jpg/25px-Foobar.jpg\; alt=\"25px-Foobar.jpg\" rel=\"mw:externalImage\" data-parsoid='{\"dsr\":[117,180,null,null]}'/>\n05=\n foo\n bar\n\n06=foo\n07=\nPreformatted\n\n08=Broken tag\n\n09=\n\n cell\n\n\n10=\n\nTwo\n\nparagraphs\n\n\n\n\n\n\n\n\n\n\n"); add("html2html", "T33098 Template which includes system messages which includes the template", "Template loop detected: Template:Identical\nTemplate loop detected: Template:Identical\n"); add("html2html", "T33490 Turkish: ucfırst (with a dotless i)", "[/index.php?title=%C5%9Eablon:Ucf%C4%B1rst:blahaction=editredlink=1 Şablon:Ucfırst:blah]\n"); add("html2html", "T33490 ucfırst (with a dotless i) with English language", "[/index.php?title=Template:Ucf%C4%B1rst:blahaction=editredlink=1 Template:Ucfırst:blah]\n"); @@ -1151,9 +1146,6 @@ add("html2wt", "formatdate parser function, with default format", "March 24, 2009\n"); add("html2wt", "Spacing of numbers in formatted dates", "January 15\n"); add("html2wt", "formatdate parser function, with default format and on a page of which the content language is always English and different from the wiki content language", "24 March 2009\n"); -add("html2wt", "Page status indicators: Empty name is invalid", "Error: Page status indicators' name attribute must not be empty.\nError: Page status indicators' name attribute must not be empty.\n"); -add("html2wt", "Page status indicators: Weird syntaxes that are okay", "empty=\nname=\n\n\n");