mediawiki-extensions-Scribunto/engines/LuaCommon
Brad Jorsch 29452c9bef mw.language: Fix exceptions and add tests
Various methods are throwing exceptions when passed invalid language
codes. Those need to be caught.

And we should really add unit tests for the mw.language library, too.
Doing so exposed another bug (in lang:gender), which is also fixed here.

Bug: 62242
Change-Id: Ib7d257cbb1ce179c510273526910d6ac5f3cac5d
2014-03-09 02:56:06 +00:00
..
lualib Remove message formats other than plain 2014-02-03 15:29:39 -05:00
HtmlLibrary.php Add mw.html to Scribunto 2014-01-03 00:04:34 +01:00
LanguageLibrary.php mw.language: Fix exceptions and add tests 2014-03-09 02:56:06 +00:00
LibraryBase.php Clean up title handling for defaultUrl 2013-02-07 15:45:49 -05:00
LuaCommon.php Use a child frame in frame:expandTemplate 2014-01-30 22:47:31 +00:00
LuaInterpreter.php (bug 45684) Don't count argument parsing time towards Lua limit 2013-03-12 03:18:05 +00:00
MessageLibrary.php Remove message formats other than plain 2014-02-03 15:29:39 -05:00
SiteLibrary.php Properly handle spaces/underscores in mw.site.namespaces 2013-10-31 11:09:16 -04:00
TextLibrary.php Improve mw.text.nowiki 2013-09-03 17:36:36 -04:00
TitleLibrary.php Add protectionLevels variable to mw.title output 2014-01-15 14:53:18 -05:00
UriLibrary.php Clean up argument lists 2013-03-04 14:55:46 -05:00
UstringLibrary.php Fix PHP implementation of mw.ustring %W 2014-02-10 00:45:46 +00:00