mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-24 00:06:21 +00:00
928a21605a
It's impossible that explode() returns an empty array. This is dead code. Also add tests for the previously untested #titleparts function to make sure this patch doesn't change any behavior. Including weird usages with negative numbers. Change-Id: Ib0d2503fdb0900bf6db3ebbc26d2ff648dbfc86d |
||
---|---|---|
.. | ||
ExprError.php | ||
ExprParser.php | ||
Hooks.php | ||
LuaLibrary.php | ||
mw.ext.ParserFunctions.lua | ||
ParserFunctions.php |