https://bugzilla.wikimedia.org/show_bug.cgi?id=30459
Web browser: ---
Bug #: 30459
Summary: #ask format=count kills page
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Catchable fatal error: Object of class SMWQueryResult could not be converted to
string in /path/to/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php
on line 319
This error is caused when using format=count in an #ask query, and takes down
the article page. Hopefully this is enough to reproduce the bug. If not, I can
probably do more testing. The query looks like this:
{{#ask:[[Category:Some category]][[Some property::{{PAGENAME}}]]|format=count}}
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l