mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
2d3fe47ac1
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 |
||
---|---|---|
.. | ||
arwiki-config.json | ||
arwiki-data.json | ||
enwiki-config.json | ||
enwiki-data.json | ||
frwiki-config.json | ||
frwiki-data.json | ||
huwiki-config.json | ||
huwiki-data.json | ||
nlwiki-config.json | ||
nlwiki-data.json | ||
plwiki-config.json | ||
plwiki-data.json | ||
README.txt |
Minimal overrides for Hooks::getLocalData() and mw.config required for us to be able to parse HTML generated by the given wiki.