Last modified: 2010-02-21 19:18:05 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 T24360, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22360 - Multi-value properties search doesn't work as expected.
Multi-value properties search doesn't work as expected.
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-02 16:13 UTC by z.pekar
Modified: 2010-02-21 19:18 UTC (History)
0 users

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


Attachments

Description z.pekar 2010-02-02 16:13:56 UTC
Add following to the Main page:

[[Area(Height, Length)::3;2;1 | ]]
[[Area(Height, Length)::7;2;1 | ]]

(Area(Height, Length) of type Number, Number, Number)

query:
[[Area(Height, Length)::>4;2;1]]
[[Area(Height, Length)::<6;2;1]]

Main page is shown as search result even though neither 3 nor 7 is inside of [4..6].
Comment 1 Markus Krötzsch 2010-02-21 19:18:05 UTC
SMW queries ask for the existence of a value with a certain condition, and having two parts in a query asks for the existence of two values that meet the given conditions. There is no way to combine conditions on a single value explicitly, but maybe hooks for extending the query conditions in such a way will be added in some future. In any case, the above will remain the intendend and correct behaviour for SMW.

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


Navigation
Links