Last modified: 2014-05-16 14:24:26 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 T66895, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64895 - consider deprecated and preferred rank in queries
consider deprecated and preferred rank in queries
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: High major (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks: 52385
  Show dependency treegraph
 
Reported: 2014-05-05 13:44 UTC by Lydia Pintscher
Modified: 2014-05-16 14:24 UTC (History)
2 users (show)

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


Attachments

Description Lydia Pintscher 2014-05-05 13:44:09 UTC
Simple queries should only return the items where the statement being queried for is the best statement available. This means we take ranks into account. More specifically:

* If the statement is marked deprecated do not include it in the result.
* If the statement is marked normal include it in the result only if there is no preferred statement.
* If there is a statement marked preferred always include it in the result.
Comment 1 Jeroen De Dauw 2014-05-05 16:51:55 UTC
In other words, we only want the "best claims", a concept which was introduced some time ago already.

This is _extremely_ trivial to implement. Going to await merging of https://github.com/wmde/WikibaseQueryEngine/pull/29 to avoid not needed conflicts though.
Comment 2 Jeroen De Dauw 2014-05-09 12:23:02 UTC
https://github.com/wmde/WikibaseQueryEngine/pull/41

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


Navigation
Links