https://bugzilla.wikimedia.org/show_bug.cgi?id=48942

       Web browser: ---
            Bug ID: 48942
           Summary: Semantic Compound Query with format=count throws
                    exception
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticCompoundQueries
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I sort of figured this would cause issues and indeed it throws a PHP exception:

{{#compound_query:
   [[Category:Website]] [[Has active users count::+]] [[Has
farm::Farm:Wikimedia]] ; ?Has active users count=Active Users ; limit=500
 | [[Category:Website]] [[Has active users count::+]] [[Has farm.Has
farm::Farm:Wikimedia]] ; ?Has active users count=Active Users ; limit=500
 | format=count
}}

The exception is:

PHP message: PHP Fatal error:  Call to a member function getResults() on a
non-object in .../extensions/SemanticCompoundQueries/SCQ_QueryProcessor.php on
line 221

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to