mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-29 05:16:27 +00:00
986840e7e8
Expand the 'signatures-funny' test case with more examples, which don't behave correctly. Follow-up commits I04a8ea09401e06f2d4bb1f226f17eb528b29ed95 and Ic26a87642f8a15d5de2f7073d4d8176b299c7f94 fix them. Bug: T255738 Change-Id: I0fdd8bdf11b497ffeed37c37953c5730f6e4f3b7
101 lines
3.5 KiB
JSON
101 lines
3.5 KiB
JSON
[
|
|
{
|
|
"name": "plwiki oldparser",
|
|
"dom": "cases/pl-big-oldparser/pl-big-oldparser.html",
|
|
"expected": "../cases/pl-big-oldparser/pl-big-oldparser.json",
|
|
"config": "../data/plwiki-config.json",
|
|
"data": "../data/plwiki-data.json"
|
|
},
|
|
{
|
|
"name": "plwiki parsoid",
|
|
"dom": "cases/pl-big-parsoid/pl-big-parsoid.html",
|
|
"expected": "../cases/pl-big-parsoid/pl-big-parsoid.json",
|
|
"config": "../data/plwiki-config.json",
|
|
"data": "../data/plwiki-data.json"
|
|
},
|
|
{
|
|
"name": "enwiki oldparser",
|
|
"dom": "cases/en-big-oldparser/en-big-oldparser.html",
|
|
"expected": "../cases/en-big-oldparser/en-big-oldparser.json",
|
|
"config": "../data/enwiki-config.json",
|
|
"data": "../data/enwiki-data.json"
|
|
},
|
|
{
|
|
"name": "enwiki parsoid",
|
|
"dom": "cases/en-big-parsoid/en-big-parsoid.html",
|
|
"expected": "../cases/en-big-parsoid/en-big-parsoid.json",
|
|
"config": "../data/enwiki-config.json",
|
|
"data": "../data/enwiki-data.json"
|
|
},
|
|
{
|
|
"name": "arwiki no-paragraph oldparser",
|
|
"dom": "cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser.html",
|
|
"expected": "../cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser.json",
|
|
"config": "../data/arwiki-config.json",
|
|
"data": "../data/arwiki-data.json"
|
|
},
|
|
{
|
|
"name": "arwiki no-paragraph parsoid",
|
|
"dom": "cases/ar-no-paragraph-parsoid/ar-no-paragraph-parsoid.html",
|
|
"expected": "../cases/ar-no-paragraph-parsoid/ar-no-paragraph-parsoid.json",
|
|
"config": "../data/arwiki-config.json",
|
|
"data": "../data/arwiki-data.json"
|
|
},
|
|
{
|
|
"name": "arwiki nbsp-timezone oldparser",
|
|
"dom": "cases/ar-nbsp-timezone-oldparser/ar-nbsp-timezone-oldparser.html",
|
|
"expected": "../cases/ar-nbsp-timezone-oldparser/ar-nbsp-timezone-oldparser.json",
|
|
"config": "../data/arwiki-config.json",
|
|
"data": "../data/arwiki-data.json"
|
|
},
|
|
{
|
|
"name": "arwiki nbsp-timezone parsoid",
|
|
"dom": "cases/ar-nbsp-timezone-parsoid/ar-nbsp-timezone-parsoid.html",
|
|
"expected": "../cases/ar-nbsp-timezone-parsoid/ar-nbsp-timezone-parsoid.json",
|
|
"config": "../data/arwiki-config.json",
|
|
"data": "../data/arwiki-data.json"
|
|
},
|
|
{
|
|
"name": "frwiki fr-unsigned oldparser",
|
|
"dom": "cases/fr-unsigned-oldparser/fr-unsigned-oldparser.html",
|
|
"expected": "../cases/fr-unsigned-oldparser/fr-unsigned-oldparser.json",
|
|
"config": "../data/frwiki-config.json",
|
|
"data": "../data/frwiki-data.json"
|
|
},
|
|
{
|
|
"name": "frwiki fr-unsigned parsoid",
|
|
"dom": "cases/fr-unsigned-parsoid/fr-unsigned-parsoid.html",
|
|
"expected": "../cases/fr-unsigned-parsoid/fr-unsigned-parsoid.json",
|
|
"config": "../data/frwiki-config.json",
|
|
"data": "../data/frwiki-data.json"
|
|
},
|
|
{
|
|
"name": "No heading",
|
|
"dom": "cases/no-heading/no-heading.html",
|
|
"expected": "../cases/no-heading/no-heading.json",
|
|
"config": "../data/enwiki-config.json",
|
|
"data": "../data/enwiki-data.json"
|
|
},
|
|
{
|
|
"name": "Manually added signature with LRM",
|
|
"dom": "cases/lrm-signature/lrm-signature.html",
|
|
"expected": "../cases/lrm-signature/lrm-signature.json",
|
|
"config": "../data/nlwiki-config.json",
|
|
"data": "../data/nlwiki-data.json"
|
|
},
|
|
{
|
|
"name": "Link using fallback 8-bit encoding (invalid UTF-8)",
|
|
"dom": "cases/fallback-encoding-link/fallback-encoding-link.html",
|
|
"expected": "../cases/fallback-encoding-link/fallback-encoding-link.json",
|
|
"config": "../data/huwiki-config.json",
|
|
"data": "../data/huwiki-data.json"
|
|
},
|
|
{
|
|
"name": "Signatures in funny places",
|
|
"dom": "cases/signatures-funny/signatures-funny.html",
|
|
"expected": "../cases/signatures-funny/signatures-funny.json",
|
|
"config": "../data/enwiki-config.json",
|
|
"data": "../data/enwiki-data.json"
|
|
}
|
|
]
|