Last modified: 2012-11-20 09:12:51 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 T40711, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38711 - [SIO][SCQ] Compound query for SIO when using custom namespaces
[SIO][SCQ] Compound query for SIO when using custom namespaces
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-26 14:37 UTC by novacellus
Modified: 2012-11-20 09:12 UTC (History)
5 users (show)

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


Attachments

Description novacellus 2012-07-26 14:37:18 UTC
As SIOs are named after the PAGENAME of the pages they belong to (i. A#1, A#2, A#3, instead of FULLPAGENAME, i. X:A#1, X:A#2; Y:A#1, Y:A#2, Y:A#3), querying them (#compound_query) results in partial results as "#compound_query avoids displaying the same page more than once" (http://www.mediawiki.org/wiki/Extension:Semantic_Compound_Queries):
A#1
A#2
A#3
instead of:
X:A#1
X:A#2
Y:A#1
Y:A#2
Y:A#3
(MW 1.20 alpha; SMW 1.8 alpha; SCQ 0.3.2; SIO 0.6.9)
Comment 1 novacellus 2012-07-26 14:47:49 UTC
You can compare #compound_query and #ask behaviour at http://scriptores.pl/test/index.php/Depost : #ask shows all the SIOs, while #compound_query only those that are first in the order and have unique PAGENAME.
Comment 2 Andy 2012-11-02 16:07:04 UTC
Same behaviour in my installation.
Comment 3 Yaron Koren 2012-11-19 16:04:38 UTC
Sorry it took me so long to look into this. This turned out to be a bug in SCQ - it ignored the namespaces when checking to see if a page had been handled already in a previous sub-query. I just checked in what I believe is a fix, to Git, so if you get the latest code, it should work. And I'm planning to release a new version soon. I'm marking this bug as fixed.
Comment 4 novacellus 2012-11-20 09:12:51 UTC
It did the trick indeed! Thank you!

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


Navigation
Links