mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-27 09:40:12 +00:00
d1030989bc
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 |
||
---|---|---|
.. | ||
CommonTest.php | ||
CommonTests-data-fail1.lua | ||
CommonTests-data-fail2.lua | ||
CommonTests-data-fail3.lua | ||
CommonTests-data-fail4.lua | ||
CommonTests-data-fail5.lua | ||
CommonTests-data.lua | ||
CommonTests.lua | ||
HtmlLibraryTest.php | ||
HtmlLibraryTests.lua | ||
LanguageLibraryTest.php | ||
LanguageLibraryTests.lua | ||
LuaDataProvider.php | ||
LuaEngineTestBase.php | ||
LuaEnvironmentComparisonTest.php | ||
LuaInterpreterTest.php | ||
luaParserTests.txt | ||
MessageLibraryTest.php | ||
MessageLibraryTests.lua | ||
SiteLibraryTest.php | ||
SiteLibraryTests.lua | ||
TestFramework.lua | ||
TextLibraryTest.php | ||
TextLibraryTests.lua | ||
TitleLibraryTest.php | ||
TitleLibraryTests.lua | ||
UriLibraryTest.php | ||
UriLibraryTests.lua | ||
UstringLibraryNormalizationTests.lua | ||
UstringLibraryTest.php | ||
UstringLibraryTests.lua |