Last modified: 2012-11-20 11:35:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36262, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34262 - [SMW] count format not producing 0 on non-existing category queries
[SMW] count format not producing 0 on non-existing category queries
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-08 06:24 UTC by badon
Modified: 2012-11-20 11:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description badon 2012-02-08 06:24:16 UTC
Tested in SMW 1.7.0.2:

Produces "0" when there are no results:

{{#ask: [[Category:Existing category]] | format=count }} 
{{#ask: [[Existing property name::any property value]] | format=count }}
{{#ask: [[Non-existing property name::any property value]] | format=count }}

Produces nothing when there are no results:

{{#ask: [[Category:Non-existing category]] | format=count }}

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links