Last modified: 2014-08-06 16:43:28 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 T39259, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37259 - Subquery Namespace filter not working
Subquery Namespace filter not working
Status: RESOLVED WORKSFORME
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-06-01 05:42 UTC by John McClure
Modified: 2014-08-06 16:43 UTC (History)
4 users (show)

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


Attachments

Description John McClure 2012-06-01 05:42:11 UTC
{{#ask:[[Form:Dataset]] [[with::<q>[[Modification date::+]]</q>]]}}

returns a template:xyz and two concepts, as it should....

{{#ask:[[Form:Dataset]] [[with::<q>[[Template:+]][[Modification date::+]]</q>]]

returns an error that the subquery is not understood....
it should return just the template...
Comment 1 John McClure 2012-06-01 05:56:18 UTC
I meant to say
{{#ask:[[Form:Dataset]] [[with::<q>[[Concept:+]][[Modification date::+]]</q>]]
returns all three pages 
and an error that the subquery is not understood....

{{#ask:[[Form:Dataset]] [[with::<q>[[Template:+]][[Modification date::+]]</q>]]
returns nothing
Comment 2 MWJames 2014-08-06 16:43:28 UTC
Tested with MW 1.23 / SMW 2.0:

Page "Help:Test" contains [[Has some property::Help:Test]] [[Category:Test]].

When executing:

{{#ask:
 [[Category: Test]]
 [[Has some property::<q>[[Help:+]][[Modification date::+]]</q>]]
 |?Has some property
 |format=broadtable
}}

the expected result pages are returned.

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


Navigation
Links