mediawiki-extensions-Discus.../tests/data/arwiki-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

75 lines
1.8 KiB
JSON

{
"dateFormat": "H:i، j xg Y",
"digits": [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9"
],
"localTimezone": "UTC",
"specialContributionsName": "مساهمات",
"timezones": {
"ت ع م": "UTC"
},
"contLangMessages": {
"timezone-utc": "ت ع م",
"sunday": "الأحد",
"monday": "الاثنين",
"tuesday": "الثلاثاء",
"wednesday": "الأربعاء",
"thursday": "الخميس",
"friday": "الجمعة",
"saturday": "السبت",
"sun": "أحد",
"mon": "اثنين",
"tue": "ثلاثاء",
"wed": "أربعاء",
"thu": "خميس",
"fri": "جمعة",
"sat": "سبت",
"january": "يناير",
"february": "فبراير",
"march": "مارس",
"april": "أبريل",
"may_long": "مايو",
"june": "يونيو",
"july": "يوليو",
"august": "أغسطس",
"september": "سبتمبر",
"october": "أكتوبر",
"november": "نوفمبر",
"december": "ديسمبر",
"january-gen": "يناير",
"february-gen": "فبراير",
"march-gen": "مارس",
"april-gen": "أبريل",
"may-gen": "مايو",
"june-gen": "يونيو",
"july-gen": "يوليو",
"august-gen": "أغسطس",
"september-gen": "سبتمبر",
"october-gen": "أكتوبر",
"november-gen": "نوفمبر",
"december-gen": "ديسمبر",
"jan": "يناير",
"feb": "فبراير",
"mar": "مارس",
"apr": "أبريل",
"may": "مايو",
"jun": "يونيو",
"jul": "يوليو",
"aug": "أغسطس",
"sep": "سبتمبر",
"oct": "أكتوبر",
"nov": "نوفمبر",
"dec": "ديسمبر"
},
"signatureScanLimit": 100
}