mediawiki-extensions-Scribunto/engines/LuaCommon/lualib
Brad Jorsch d8314539da Fix mw.ustring edge cases
A few edge cases were being incorrectly handled:
* mw.ustring.sub( 'abc', 1, 0 ) returned 'a', not ''.
* mw.ustring.codepoint( 'abc', 1, 0 ) returned 97, not no results.
* mw.ustring.codepoint( 'abc', 4, 4 ) returned 99, not no results.
* mw.ustring.gcodepoint had the same issues as mw.ustring.codepoint.

Change-Id: Ib8c0ef5a8073106eb7d90d0aa0513be4525dca08
2013-07-03 11:49:52 -04:00
..
luabit Clean up lualibs 2013-02-28 18:39:16 -08:00
ustring Fix mw.ustring edge cases 2013-07-03 11:49:52 -04:00
bit32.lua Add requirable bit32 library 2013-03-05 01:36:17 +00:00
libraryUtil.lua Add text module 2013-03-20 10:10:15 -04:00
mw.language.lua (bug 47268) lang:parseFormattedNumber should return a number, not a string 2013-04-15 20:53:47 -04:00
mw.lua (bug 47300) Fix sandboxing with require 2013-04-24 06:19:44 +00:00
mw.message.lua Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
mw.site.lua Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
mw.text.lua Add text module 2013-03-20 10:10:15 -04:00
mw.title.lua Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
mw.uri.lua Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
mw.ustring.lua Fix mw.ustring.gmatch and patterns with '^' 2013-02-14 14:25:55 -05:00
package.lua Fix package.loaded and other cleanups 2013-01-30 17:24:09 +00:00