Page MenuHomePhabricator

Format = Count, doesn't count right
Closed, DeclinedPublic

Description

Author: simon.bachenberg

Description:
Format = Count, counts more than it should.

I Created a little test page, where you can compare the results between format=count and the MagicWords {{PAGESINCATEGORY:<CategoryName>}}

http://sofis.gesis.org/sofiswiki/Test

For editing you have just to create an Account.

Version (http://sofis.gesis.org/sofiswiki/Spezial:Version):

*Semantic MediaWiki (Version 1.7.1)
*MediaWiki 1.18.1


Version: unspecified
Severity: normal
OS: Linux
Platform: Other
URL: http://sofis.gesis.org/sofiswiki/Test

Details

Reference
bz36350

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:21 AM
bzimport set Reference to bz36350.
bzimport added a subscriber: Unknown Object (MLST).

Does this persist after running the SMW data update script?

Unknown Object (User) added a comment.Jun 5 2012, 5:32 PM

I didn't look at it in detail but since {{#ask: [[Kategorie:Institution]]|format = count}} always accounts for a larger number than {{PAGESINCATEGORY:Institution}} could it be that either:

  • {{#ask: [[Kategorie:Institution]]|format = count}} includes results from all namespaces which {{PAGESINCATEGORY:Institution}} does not?
  • or [[Kategorie:Institution]] includes some subcategories that {{PAGESINCATEGORY:Institution}} does not account for as relevant in its selection scheme?
Aklapper added a subscriber: Aklapper.

The Semantic MediaWiki developers requested in https://phabricator.wikimedia.org/T64114 to move their task tracking to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues and to close remaining tasks in Wikimedia Phabricator. If you still face the problem reported in this task in a supported version of SMW, please feel free to transfer your report to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues . We are sorry for the inconvenience.