mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
14fb013515
PHP was counting UTF-8 bytes, JS was counting UTF-16 bytes. Both should have been counting codepoints (although it doesn't really matter as long as they both count the same things). I noticed the issue after adding some tests using the Cyrillic script, when one case had different results in PHP and JS: Id25b537fecd789640c209ff7f30e777455a3aece. Change-Id: Ic31240678f71ba48e6ec202126bf490cea12bb66 |
||
---|---|---|
.. | ||
ApiDiscussionTools.php | ||
ApiDiscussionToolsEdit.php | ||
CommentItem.php | ||
CommentModifier.php | ||
CommentParser.php | ||
CommentUtils.php | ||
Data.php | ||
HeadingItem.php | ||
Hooks.php | ||
ImmutableRange.php | ||
NodeFilter.php | ||
ThreadItem.php | ||
TreeWalker.php |