format=count" is a pseudo result format that requires special handling. Without this patch, "ask" returns nil. Performing a "getQueryResult" and looking at the row count is a possible workaround but it's incredibly inefficient for larger datasets.
Steps to reproduce the observation (recommendation is to use the sandbox):
Perform "mw.smw.ask" query with "format=count". It will alway return "nil".
Setup and configuration
Issue
format=count" is a pseudo result format that requires special handling. Without this patch, "ask" returns nil. Performing a "getQueryResult" and looking at the row count is a possible workaround but it's incredibly inefficient for larger datasets.
Steps to reproduce the observation (recommendation is to use the sandbox):
Perform "mw.smw.ask" query with "format=count". It will alway return "nil".