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

79 lines
1.6 KiB
JSON

{
"dateFormat": "j F Y à H:i",
"digits": [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9"
],
"localTimezone": "Europe/Paris",
"specialContributionsName": "Contributions",
"timezones": {
"CEST": "CEST",
"CET": "CET",
"PMT": "PMT",
"WEMT": "WEMT",
"WEST": "WEST",
"WET": "WET"
},
"contLangMessages": {
"sunday": "dimanche",
"monday": "lundi",
"tuesday": "mardi",
"wednesday": "mercredi",
"thursday": "jeudi",
"friday": "vendredi",
"saturday": "samedi",
"sun": "dim.",
"mon": "lun.",
"tue": "mar.",
"wed": "mer.",
"thu": "jeu.",
"fri": "ven.",
"sat": "sam.",
"january": "janvier",
"february": "février",
"march": "mars",
"april": "avril",
"may_long": "mai",
"june": "juin",
"july": "juillet",
"august": "août",
"september": "septembre",
"october": "octobre",
"november": "novembre",
"december": "décembre",
"january-gen": "janvier",
"february-gen": "février",
"march-gen": "mars",
"april-gen": "avril",
"may-gen": "mai",
"june-gen": "juin",
"july-gen": "juillet",
"august-gen": "août",
"september-gen": "septembre",
"october-gen": "octobre",
"november-gen": "novembre",
"december-gen": "décembre",
"jan": "janv.",
"feb": "fév.",
"mar": "mars",
"apr": "avr.",
"may": "mai",
"jun": "juin",
"jul": "juill.",
"aug": "août",
"sep": "sept.",
"oct": "oct.",
"nov": "nov.",
"dec": "déc."
},
"signatureScanLimit": 100
}