mediawiki-extensions-Discus.../tests/data/huwiki-data.json
Bartosz Dziewoński 2d3fe47ac1 Fix parsing localised digits in PHP discussion parser
The PHP code incorrectly assumed that the digits are single-byte in
UTF-8, which is never the case (except for 0-9).

The JS code worked correctly because it uses UTF-16 strings, so the
bug would only affect non-BMP digits there. This was noted in a TODO
comment, but we overlooked it when reimplementing in PHP.

Instead of a string of 10 characters, use an array of 10
single-character strings.

Bug: T261706
Change-Id: Ic5421382474c88f003424799c53ff473d99cce92
2020-09-01 01:50:33 +02:00

76 lines
1.6 KiB
JSON

{
"dateFormat": "Y. F j., H:i",
"digits": [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9"
],
"localTimezone": "Europe/Berlin",
"specialContributionsName": "Szerkesztő_közreműködései",
"timezones": {
"CEMT": "CEMT",
"CEST": "CEST",
"CET": "CET"
},
"contLangMessages": {
"sunday": "vasárnap",
"monday": "hétfő",
"tuesday": "kedd",
"wednesday": "szerda",
"thursday": "csütörtök",
"friday": "péntek",
"saturday": "szombat",
"sun": "vas",
"mon": "hét",
"tue": "kedd",
"wed": "sze",
"thu": "csü",
"fri": "pén",
"sat": "szo",
"january": "január",
"february": "február",
"march": "március",
"april": "április",
"may_long": "május",
"june": "június",
"july": "július",
"august": "augusztus",
"september": "szeptember",
"october": "október",
"november": "november",
"december": "december",
"january-gen": "január",
"february-gen": "február",
"march-gen": "március",
"april-gen": "április",
"may-gen": "május",
"june-gen": "június",
"july-gen": "július",
"august-gen": "augusztus",
"september-gen": "szeptember",
"october-gen": "október",
"november-gen": "november",
"december-gen": "december",
"jan": "jan",
"feb": "febr",
"mar": "márc",
"apr": "ápr",
"may": "máj",
"jun": "jún",
"jul": "júl",
"aug": "aug",
"sep": "szept",
"oct": "okt",
"nov": "nov",
"dec": "dec"
},
"signatureScanLimit": 100
}