mediawiki-extensions-Discus.../tests/cases
Derick Alangi c296917ffa
tests: Fix content data for "hu" language code
After I6d82a827e20d18ff4d78d7351aa9e9c08129e400 landed, it caused
DiscussionTools to break in CI, this patch fixes it to use the correct
language code per the patch above.

If this patch passes CI, then the issue is resolved potentially.

Bug: T376020
Change-Id: I5324e5690d25f295d3fc1fb91d8f0f24adcc35e8
2024-09-30 11:11:43 +01:00
..
accidental-transclusion1 Allow replying to some comments with accidental complex transclusions 2022-11-14 19:17:36 +01:00
accidental-transclusion2 Allow replying to some comments with accidental complex transclusions 2022-11-14 19:17:36 +01:00
ar-nbsp-timezone-oldparser Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
ar-nbsp-timezone-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
ar-no-paragraph-oldparser Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
ar-no-paragraph-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
ckb-big-oldparser Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
ckb-big-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
double-signature1 Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
double-signature2 Only include one set of DiscussionTools buttons in the page HTML 2024-03-01 16:51:17 +00:00
dt-tags-oldparser Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
dt-tags-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
empty-comments
en-big-oldparser Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
en-big-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
en-bigafd-parsoid CommentParser: Output display name if different to username 2023-02-23 23:03:32 +00:00
EventDispatcher EventDispatcher: Generate dt-added-topic events 2023-03-20 14:41:21 +00:00
fake-headings Only include one set of DiscussionTools buttons in the page HTML 2024-03-01 16:51:17 +00:00
fallback-encoding-link Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
for-parser-cache Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
for-parser-cache-new Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
fr-invalid-date Ignore signatures with invalid timestamps 2023-12-05 13:23:15 +00:00
fr-unsigned-oldparser Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
fr-unsigned-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
heading-style-oldparser Only include one set of DiscussionTools buttons in the page HTML 2024-03-01 16:51:17 +00:00
heading-style-parsoid Only include one set of DiscussionTools buttons in the page HTML 2024-03-01 16:51:17 +00:00
heading-templated-parsoid Parsoid's templated content have other attrs as well 2024-08-14 17:30:31 -04:00
it-unsigned-oldparser Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
it-unsigned-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
linearWalk
lrm-signature Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
mixed-indentation
parsoid-sections CommentParser: Output display name if different to username 2023-02-23 23:03:32 +00:00
pl-big-oldparser Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
pl-big-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
reflist-oldparser Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
reflist-parsoid Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
selflink-signature Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
signatures-comments Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
signatures-funny Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
signatures-T356884 Add test cases for the main loop getting stuck on some signatures 2024-02-08 16:59:01 +01:00
signatures-T356884b Add test cases for the main loop getting stuck on some signatures 2024-02-08 16:59:01 +01:00
single-comment-heading Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
single-comment-no-heading Parser: Store timestamp ranges 2023-03-28 23:51:17 +00:00
span-about-group
split-list
split-list2
sr-ec Trim whitespace from truncated heading titles in IDs 2024-05-01 14:20:12 +01:00
sr-el Trim whitespace from truncated heading titles in IDs 2024-05-01 14:20:12 +01:00
suppressed-talk Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
ThreadItemStore Update expected IDs in ThreadItemStore tests 2023-09-09 23:36:04 +02:00
timestamp-format-switch Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
timestamplink tests: Rebuild expected 'timestamplink' output 2024-02-16 19:27:55 +01:00
tracked-template Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
transclusions
transclusions2
transclusions3
transclusions4 Only include one set of DiscussionTools buttons in the page HTML 2024-03-01 16:51:17 +00:00
transclusions5 Place replies outside transclusions, disallow replying to transcluded comments 2022-11-14 19:17:18 +01:00
unclosed-font Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
wrappers Move [subscribe] links outside of <h2> tags 2024-03-08 21:18:53 +01:00
wrappers-mobile-section Don't insert reply tool outside <section> on mobile 2022-10-21 01:20:13 +02:00
wrappers2-oldparser
wrappers2-parsoid
appendSignature.json
authors.json ThreadItem: Add display names to getAuthorsBelow 2023-02-23 23:03:35 +00:00
comments.json CommentParser: Add test case for already-linked timestamp 2024-02-12 20:33:06 +00:00
datatest-ckb.json LanguageData: Use special page alias with spaces 2023-01-16 22:27:23 +01:00
datatest-en.json
datatest-hu.json tests: Fix content data for "hu" language code 2024-09-30 11:11:43 +01:00
datatest-sr.json LanguageData: Use special page alias with spaces 2023-01-16 22:27:23 +01:00
datatest-th.json LanguageData: Use special page alias with spaces 2023-01-16 22:27:23 +01:00
formatted.json Parsoid's templated content have other attrs as well 2024-08-14 17:30:31 -04:00
getHTML.json
getText.json Support ignoring "mw-notalk" before/after/between comments 2023-10-07 00:32:27 +00:00
isSingleCommentSignedBy.json Fix signature check not to look at the content of previous section 2024-04-25 23:15:18 +02:00
linearWalk.json
modified.json Add test cases for T313093 2022-11-14 19:17:34 +01:00
README.txt Update reference to tests/phpunit/phpunit.php 2023-07-02 16:25:53 +00:00
reply.json
sanitize-wikitext-linebreaks.json
threaditemshtml.json
timestamp-parser-dst.json
timestamp-parser.json Replace preg_replace_callback with strtr in CommentParser 2023-10-31 08:55:40 +01:00
timestamp-regex.json Support ISO 8601 timestamps in the parser 2023-06-17 11:36:43 -07:00
transcluded.json Add test cases for T313093 2022-11-14 19:17:34 +01:00
unwrap.json

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

To update the expected outputs, run the PHP tests with the environment variable
"DISCUSSIONTOOLS_OVERWRITE_TESTS" set to any value, e.g.:

     DISCUSSIONTOOLS_OVERWRITE_TESTS=1 composer phpunit:entrypoint -- extensions/DiscussionTools/tests/phpunit/


The input HTML files were saved from:

pl-big:
https://pl.wikipedia.org/w/index.php?action=render&title=Wikipedia:Kawiarenka/Artyku%C5%82y_dyskusja/Archiwum/2018-pa%C5%BAdziernik&oldid=55171451
https://pl.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AKawiarenka%2FArtyku%C5%82y_dyskusja%2FArchiwum%2F2018-pa%C5%BAdziernik/55171451

en-big:
https://en.wikipedia.org/w/index.php?action=render&title=Wikipedia:Village_pump_(technical)/Archive_175&oldid=913983958
https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AVillage_pump_(technical)%2FArchive_175/913983958

ckb-big:
https://ckb.wikipedia.org/w/index.php?title=ویکیپیدیا:دیوەخان_(پێشنیارەکان)&oldid=638545&action=render
https://ckb.wikipedia.org/api/rest_v1/page/html/ویکیپیدیا%3Aدیوەخان_(پێشنیارەکان)/638545

en-bigafd:
https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AArticles_for_deletion%2FLog%2F2020_March_7

ar-no-paragraph:
https://ar.wikipedia.org/w/index.php?action=render&title=نقاش_المستخدم:Khaled&oldid=45576943
https://ar.wikipedia.org/api/rest_v1/page/html/نقاش_المستخدم%3AKhaled/45576943

ar-nbsp-timezone:
https://ar.wikipedia.org/wiki/ويكيبيديا:إخفاء_أرقام_الآي_بي?oldid=46583196&action=render
https://ar.wikipedia.org/api/rest_v1/page/html/ويكيبيديا%3Aإخفاء_أرقام_الآي_بي/46583196

fr-unsigned:
https://fr.wikipedia.org/w/index.php?title=Discussion:Le_Monde&oldid=170426593&action=render
https://fr.wikipedia.org/api/rest_v1/page/html/Discussion%3ALe_Monde/170426593

it-unsigned:
https://it.wikipedia.org/w/index.php?title=Aiuto:Sportello_informazioni&oldid=116856029&action=render
https://it.wikipedia.org/api/rest_v1/page/html/Aiuto%3ASportello_informazioni/116856029

sr-ec:
https://sr.wikipedia.org/w/index.php?title=Википедија:Трг/Архива/Техника/35&variant=sr-ec&action=render

sr-el:
https://sr.wikipedia.org/w/index.php?title=Википедија:Трг/Архива/Техника/35&variant=sr-el&action=render

unclosed-font:
https://nl.wikipedia.org/w/index.php?title=Overleg_gebruiker:RYasmeen_(WMF)&oldid=57970619&action=render

double-signature1:
https://en.wikipedia.org/w/index.php?title=Wikipedia:Requests_for_comment/User_names&oldid=1002108637&action=render

double-signature2:
https://en.wikipedia.org/w/index.php?title=Wikipedia:Articles_for_deletion/Equal_Education&oldid=1009060583&action=render

transclusions2:
https://en.wikipedia.beta.wmflabs.org/api/rest_v1/page/html/Talk%3AT289873/514467

transclusions3:
https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia_talk%3ATemplate_documentation/1056728376

transclusions4:
https://it.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AVandalismi_in_corso/124462482

transclusions5:
https://es.wikipedia.org/api/rest_v1/page/html/Usuario_discusi%C3%B3n%3AJvaspad/144526415

wrappers2:
https://en.wikipedia.org/w/index.php?title=User_talk:Dylsss&oldid=1058459889&action=render
https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3ADylsss/1058459889

tracked-template:
https://commons.wikimedia.org/api/rest_v1/page/html/Commons_talk%3ASPARQL_query_service

fake-headings:
https://pl.wikipedia.org/w/index.php?title=Wikipedia:Propozycje_do_Artyku%C5%82%C3%B3w_na_Medal/Aposto%C5%82_Pawie%C5%82&action=render

Text is available under the Creative Commons Attribution-ShareAlike License.
See these pages for attribution.