mediawiki-extensions-Scribunto/engines/LuaCommon/lualib
Jackmcbarn d1030989bc Allow passing nils to mw.html
Rather than calling error() when nils get passed to mw.html methods,
either remove whatever it was that the nil would go to (if that makes
sense), or just do nothing. The seemingly inconsistent use of "not x" and
"x ~= nil" is to allow any falsey value where it wouldn't be ambiguous
(such as class names), but not where it could be (such as attribute values).

Bug: 62982
Change-Id: I76773abbb4394aa9bb8c8a08445e019cade3b2bf
2014-06-19 11:40:39 -04:00
..
luabit Clean up lualibs 2013-02-28 18:39:16 -08:00
ustring Merge "Add frontier pattern (%f[set]) to ustring" 2013-08-30 06:22:40 +00: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.html.lua Allow passing nils to mw.html 2014-06-19 11:40:39 -04:00
mw.language.lua Provide access to Language::getFallbacksFor() 2013-12-16 14:12:47 -05:00
mw.lua Keep modules' export tables inside Lua 2014-05-26 20:01:18 -04:00
mw.message.lua Remove message formats other than plain 2014-02-03 15:29:39 -05:00
mw.site.lua Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
mw.text.lua Improve mw.text.nowiki, part 2 2013-09-20 13:17:38 -04:00
mw.title.lua Add protectionLevels variable to mw.title output 2014-01-15 14:53:18 -05: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
mwInit.lua Avoid running all of mw.lua twice 2014-05-15 14:15:08 -04:00
package.lua Use correct variable in require() 2014-04-20 18:57:03 -04:00