Yaron Koren has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/275625

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cargo 
refs/changes/25/275625/1

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: newchange
Gerrit-Change-Id: Idfd3f467a946a9b3e22f956a48cfad5f8c2ed183
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to