mediawiki-extensions-Discus.../tests/cases/formatted.json
Bartosz Dziewoński 9c68e058ef CommentFormatter: Add test cases for mobile version
Also, rename the files, since CommentFormatter now does more than
replies.

Change-Id: I1ae432c06badd9790274db27881c2222c0439ba8
2022-08-02 14:21:36 +01:00

157 lines
5.7 KiB
JSON

[
{
"name": "plwiki oldparser",
"title": "Wikipedia:Kawiarenka/Artykuły dyskusja/Archiwum/2018-październik",
"dom": "cases/pl-big-oldparser/pl-big-oldparser.html",
"expected": {
"desktop": "cases/pl-big-oldparser/pl-big-oldparser-formatted-desktop.html",
"mobile": "cases/pl-big-oldparser/pl-big-oldparser-formatted-mobile.html"
},
"config": "../data/plwiki-config.json",
"data": "../data/plwiki-data.json"
},
{
"name": "enwiki oldparser",
"title": "Wikipedia:Village pump (technical)/Archive 175",
"dom": "cases/en-big-oldparser/en-big-oldparser.html",
"expected": {
"desktop": "cases/en-big-oldparser/en-big-oldparser-formatted-desktop.html",
"mobile": "cases/en-big-oldparser/en-big-oldparser-formatted-mobile.html"
},
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "arwiki no-paragraph oldparser",
"title": "نقاش المستخدم:Khaled",
"dom": "cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser.html",
"expected": {
"desktop": "cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser-formatted-desktop.html",
"mobile": "cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser-formatted-mobile.html"
},
"config": "../data/arwiki-config.json",
"data": "../data/arwiki-data.json"
},
{
"name": "frwiki unsigned oldparser",
"title": "Discussion:Le Monde",
"dom": "cases/fr-unsigned-oldparser/fr-unsigned-oldparser.html",
"expected": {
"desktop": "cases/fr-unsigned-oldparser/fr-unsigned-oldparser-formatted-desktop.html",
"mobile": "cases/fr-unsigned-oldparser/fr-unsigned-oldparser-formatted-mobile.html"
},
"config": "../data/frwiki-config.json",
"data": "../data/frwiki-data.json"
},
{
"name": "itwiki unsigned oldparser",
"title": "Aiuto:Sportello informazioni",
"dom": "cases/it-unsigned-oldparser/it-unsigned-oldparser.html",
"expected": {
"desktop": "cases/it-unsigned-oldparser/it-unsigned-oldparser-formatted-desktop.html",
"mobile": "cases/it-unsigned-oldparser/it-unsigned-oldparser-formatted-mobile.html"
},
"config": "../data/itwiki-config.json",
"data": "../data/itwiki-data.json"
},
{
"name": "Double signature 1",
"title": "Wikipedia:Requests for comment/User names",
"dom": "cases/double-signature1/double-signature1.html",
"expected": {
"desktop": "cases/double-signature1/double-signature1-formatted-desktop.html",
"mobile": "cases/double-signature1/double-signature1-formatted-mobile.html"
},
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "Double signature 2",
"title": "Wikipedia:Articles for deletion/Equal Education",
"dom": "cases/double-signature2/double-signature2.html",
"expected": {
"desktop": "cases/double-signature2/double-signature2-formatted-desktop.html",
"mobile": "cases/double-signature2/double-signature2-formatted-mobile.html"
},
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "Mess caused by unclosed <font> tags in wikitext",
"title": "Overleg:Unclosed font",
"dom": "cases/unclosed-font/unclosed-font.html",
"expected": {
"desktop": "cases/unclosed-font/unclosed-font-formatted-desktop.html",
"mobile": "cases/unclosed-font/unclosed-font-formatted-mobile.html"
},
"config": "../data/nlwiki-config.json",
"data": "../data/nlwiki-data.json"
},
{
"name": "Reply inserted inside/outside various wrapper elements",
"title": "Talk:Wrappers",
"dom": "cases/wrappers/wrappers.html",
"expected": {
"desktop": "cases/wrappers/wrappers-formatted-desktop.html",
"mobile": "cases/wrappers/wrappers-formatted-mobile.html"
},
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "Many comment start markers outside of paragraphs",
"title": "Wikipedia:Vandalismi in corso",
"dom": "cases/transclusions4/transclusions4.html",
"expected": {
"desktop": "cases/transclusions4/transclusions4-formatted-desktop.html",
"mobile": "cases/transclusions4/transclusions4-formatted-mobile.html"
},
"config": "../data/itwiki-config.json",
"data": "../data/itwiki-data.json"
},
{
"name": "Fake headings using ';' syntax in wikitext (<dt> tags)",
"title": "Wikipedia:Propozycje do Artykułów na Medal/Apostoł Pawieł",
"dom": "cases/fake-headings/fake-headings.html",
"expected": {
"desktop": "cases/fake-headings/fake-headings-formatted-desktop.html",
"mobile": "cases/fake-headings/fake-headings-formatted-mobile.html"
},
"config": "../data/plwiki-config.json",
"data": "../data/plwiki-data.json"
},
{
"name": "Signatures in funny places",
"title": "Talk:Signatures funny",
"dom": "cases/signatures-funny/signatures-funny.html",
"expected": {
"desktop": "cases/signatures-funny/signatures-funny-formatted-desktop.html",
"mobile": "cases/signatures-funny/signatures-funny-formatted-mobile.html"
},
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "For parser cache",
"title": "Talk:For parser cache",
"dom": "cases/for-parser-cache/for-parser-cache.html",
"expected": {
"desktop": "cases/for-parser-cache/for-parser-cache-formatted-desktop.html",
"mobile": "cases/for-parser-cache/for-parser-cache-formatted-mobile.html"
},
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "Timestamp format switch behavior",
"title": "Talk:T304595",
"dom": "cases/timestamp-format-switch/timestamp-format-switch.html",
"expected": {
"desktop": "cases/timestamp-format-switch/timestamp-format-switch-formatted-desktop.html",
"mobile": "cases/timestamp-format-switch/timestamp-format-switch-formatted-mobile.html"
},
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
}
]