mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-02 20:16:41 +00:00
934872a170
This is primarily to cover the handling of localised digits, which previously wasn't being tested, leading to T261706. Bug: T261706 Change-Id: I9de7f01f77e767e9048c85604b559af4bca0de91
115 lines
4 KiB
JSON
115 lines
4 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": "ckbwiki oldparser",
|
|
"dom": "cases/ckb-big-oldparser/ckb-big-oldparser.html",
|
|
"expected": "../cases/ckb-big-oldparser/ckb-big-oldparser.json",
|
|
"config": "../data/ckbwiki-config.json",
|
|
"data": "../data/ckbwiki-data.json"
|
|
},
|
|
{
|
|
"name": "ckbwiki parsoid",
|
|
"dom": "cases/ckb-big-parsoid/ckb-big-parsoid.html",
|
|
"expected": "../cases/ckb-big-parsoid/ckb-big-parsoid.json",
|
|
"config": "../data/ckbwiki-config.json",
|
|
"data": "../data/ckbwiki-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"
|
|
}
|
|
]
|