Yaron Koren has submitted this change and it was merged.
Change subject: Fixed parsing of semicolons in #cargo_compound_query
......................................................................
Fixed parsing of semicolons in #cargo_compound_query
Change-Id: Idfd3f467a946a9b3e22f956a48cfad5f8c2ed183
---
M parserfunctions/CargoCompoundQuery.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Yaron Koren: Checked; Looks good to me, approved
jenkins-bot: Verified
diff --git a/parserfunctions/CargoCompoundQuery.php
b/parserfunctions/CargoCompoundQuery.php
index 8551775..e6d12bc 100644
--- a/parserfunctions/CargoCompoundQuery.php
+++ b/parserfunctions/CargoCompoundQuery.php
@@ -52,7 +52,7 @@
$orderByStr = null;
$limitStr = null;
- $queryClauses = explode( ';', $param );
+ $queryClauses = CargoUtils::smartSplit( ';', $param );
$displayParamsForThisQuery = array();
foreach ( $queryClauses as $clause ) {
$parts = explode( '=', $clause, 2 );
--
To view, visit https://gerrit.wikimedia.org/r/275625
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Idfd3f467a946a9b3e22f956a48cfad5f8c2ed183
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits