mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-13 18:07:05 +00:00
ad3e5a7c48
Negative values for 'i' in mw.ustring.byteoffset are supposed to count from the end of the string. But in LuaSandbox, it was actually counting from two bytes before the end of the string due to a typo. Fix that, and add some tests for it. Bug: 50176 Change-Id: Iceee1022a55abd7a08df1ea7843e1277eb02798b |
||
---|---|---|
.. | ||
LuaCommon | ||
LuaSandbox | ||
LuaStandalone |