mediawiki-extensions-Discus.../tests/qunit/cases
Bartosz Dziewoński c0002be7cd tests: Fix computing ranges in Parsoid documents
In JS tests, we load the documents via mw.template, which apparently
causes the <html>, <head> and <body> tags to disappear, resulting
in the ranges not matching in PHP tests (and the real document).

Put in a big hack that makes them match, and update the JSON files.

Change-Id: I8194752cd5f82c3716c99e76a37226af5d4a0ec1
2020-05-14 01:11:44 +02:00
..
ar-nbsp-timezone-oldparser Handle &nbsp; and other entities in the timestamp/timezone 2020-05-05 22:38:16 +02:00
ar-nbsp-timezone-parsoid tests: Fix computing ranges in Parsoid documents 2020-05-14 01:11:44 +02:00
ar-no-paragraph-oldparser Fix skipping to the end of the paragraph when there is no wrapper 2020-04-03 18:11:59 +00:00
ar-no-paragraph-parsoid tests: Fix computing ranges in Parsoid documents 2020-05-14 01:11:44 +02:00
en-big-oldparser parser: Improve merging multiple comments on one line 2020-03-14 13:34:42 +00:00
en-big-parsoid tests: Fix computing ranges in Parsoid documents 2020-05-14 01:11:44 +02:00
en-bigafd-parsoid parser: Make #getTranscludedFrom return page title in text form 2020-03-24 22:29:35 +00:00
fallback-encoding-link parser: Return signature and timestamp ranges 2020-03-05 14:28:17 +01:00
lrm-signature parser: Return signature and timestamp ranges 2020-03-05 14:28:17 +01:00
no-heading parser: Return signature and timestamp ranges 2020-03-05 14:28:17 +01:00
pl-big-oldparser Fix signatureRanges overlapping for some comments 2020-03-09 13:28:22 +00:00
pl-big-parsoid tests: Fix computing ranges in Parsoid documents 2020-05-14 01:11:44 +02:00
signatures-funny Add reply links at the end of a line, even if the signature is in the middle 2020-03-02 21:39:37 +01:00
split-list Rearrange test cases 2020-02-25 00:19:30 +00:00
split-list2 Rearrange test cases 2020-02-25 00:19:30 +00:00
transclusions Remove Parsoid section wrappers before finding transclusions 2020-03-24 23:31:21 +01:00
wrappers Fix inserting replies inside a <pre> 2020-04-27 23:23:31 +02:00
comments.json Separate out more data from parser.tests.js 2020-05-08 12:12:11 +01:00
modified.json Modifier: Separate out test data 2020-05-11 16:58:00 +01:00
README.txt Handle &nbsp; and other entities in the timestamp/timezone 2020-05-05 22:38:16 +02:00
reply.json Modifier: Separate out test data 2020-05-11 16:58:00 +01:00
timestamp-parser-dst.json Separate out more data from parser.tests.js 2020-05-08 12:12:11 +01:00
timestamp-parser.json Separate out more data from parser.tests.js 2020-05-08 12:12:11 +01:00
timestamp-regex.json Separate out more data from parser.tests.js 2020-05-08 12:12:11 +01:00
unwrap.json Modifier: Separate out test data 2020-05-11 16:58:00 +01:00

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.

The 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

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

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