mediawiki-extensions-Scribunto/engines
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
..
LuaCommon Allow passing nils to mw.html 2014-06-19 11:40:39 -04:00
LuaSandbox Use the new limit report hooks 2014-02-10 04:11:35 +00:00
LuaStandalone Avoid running all of mw.lua twice 2014-05-15 14:15:08 -04:00