Yaron Koren has submitted this change and it was merged. Change subject: Better explode() for CargoLuaLibrary ......................................................................
Better explode() for CargoLuaLibrary Change-Id: Id2956fdb30279275ecab18094f04537ac1c41169 --- M CargoLua.library.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Yaron Koren: Looks good to me, approved jenkins-bot: Verified diff --git a/CargoLua.library.php b/CargoLua.library.php index b480283..3bf4644 100644 --- a/CargoLua.library.php +++ b/CargoLua.library.php @@ -51,7 +51,7 @@ $result = array(); - $fieldArray = array_map( 'trim', explode( ',', $fields ) ); + $fieldArray = CargoUtils::smartSplit( ',', $fields ); $rowIndex = 1; // because Lua arrays start at 1 foreach ( $rows as $row ) { -- To view, visit https://gerrit.wikimedia.org/r/311361 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id2956fdb30279275ecab18094f04537ac1c41169 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Cargo Gerrit-Branch: master Gerrit-Owner: Yaron Koren <yaro...@gmail.com> Gerrit-Reviewer: Yaron Koren <yaro...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits