https://bugzilla.wikimedia.org/show_bug.cgi?id=46458
--- Comment #2 from MWJames <[email protected]> --- (In reply to comment #0) > I would love to add some deeper semantic statistics to WikiApiary beyond what > is reported in the smwinfo API method. This enhancement request could be seen > as a request to add more to smwinfo, but I think it would be better (and more > generic) as an enhancement to the Ask API. > Generally, results from the API are format independent. > PHP message: PHP Catchable fatal error: Argument 1 passed to > ApiSMWQuery::addQueryResult() must be an instance of SMWQueryResult, string > given, called in **/SemanticMediaWiki/includes/api/ApiAsk.php on line 48 and > defined in **/SemanticMediaWiki/includes/api/ApiSMWQuery.php on line 82 This certainly needs fixing because of the type hinting, it comes back with a fatal because getResult() doesn't return an SMWQueryResult object but instead outputs a "naked" number. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
