mediawiki-extensions-Discus.../tests/data
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
..
arwiki-config.json Move /cases and /data up to /tests 2020-05-18 21:47:17 +01:00
arwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
enwiki-config.json Move /cases and /data up to /tests 2020-05-18 21:47:17 +01:00
enwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
frwiki-config.json Tests covering fr.wp unsigned comment templates 2020-05-28 00:13:07 +02:00
frwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
huwiki-config.json Move /cases and /data up to /tests 2020-05-18 21:47:17 +01:00
huwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
nlwiki-config.json Move /cases and /data up to /tests 2020-05-18 21:47:17 +01:00
nlwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
plwiki-config.json Move /cases and /data up to /tests 2020-05-18 21:47:17 +01:00
plwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
README.txt Move /cases and /data up to /tests 2020-05-18 21:47:17 +01:00

Minimal overrides for Hooks::getLocalData() and mw.config
required for us to be able to parse HTML generated by the given wiki.