mediawiki-extensions-Scribunto/includes/Engines/LuaCommon
Umherirrender 8f6ead1f82 Replace empty() with falsy check
empty() should only be used to suppress errors
When the type of the variable is array,
a falsy check is the same (checks for null, false and empty array)
Found by a new phan plugin (T234237)

Change-Id: Id855be9dd25a27d9e46e3065dacbd268177b073d
2023-10-21 23:30:25 +02:00
..
lualib Optimize mw.text.trim() with default charset 2023-07-14 15:59:20 +00:00
HashLibrary.php Capitalise Engines folder 2022-09-30 00:58:27 +00:00
HtmlLibrary.php Capitalise Engines folder 2022-09-30 00:58:27 +00:00
LanguageLibrary.php Rethrow TimeoutException when using mw.language.formatDate function 2023-10-02 21:03:02 +02:00
LibraryBase.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 12:22:05 +00:00
LuaEngine.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 12:22:05 +00:00
LuaError.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 12:22:05 +00:00
LuaInterpreter.php Capitalise Engines folder 2022-09-30 00:58:27 +00:00
LuaInterpreterBadVersionError.php Replace deprecated MWException 2023-06-09 14:43:44 +02:00
LuaInterpreterNotExecutableError.php Replace deprecated MWException 2023-06-09 14:43:44 +02:00
LuaInterpreterNotFoundError.php Replace deprecated MWException 2023-06-09 14:43:44 +02:00
LuaModule.php Capitalise Engines folder 2022-09-30 00:58:27 +00:00
MessageLibrary.php Update moved class RawMessage 2023-05-19 10:31:10 +00:00
SiteLibrary.php Avoid DB access in databaseless tests 2023-08-31 19:12:55 +00:00
TextLibrary.php Add mw.loadJsonData() 2022-10-13 04:46:25 +00:00
TitleLibrary.php Replace empty() with falsy check 2023-10-21 23:30:25 +02:00
UriLibrary.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 12:22:05 +00:00
UstringLibrary.php Apply some minor PHP code modernizations 2022-09-29 21:45:09 -04:00