Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorder statement values in a smarter way #70

Closed
mkroetzsch opened this issue Jun 2, 2016 · 1 comment
Closed

Reorder statement values in a smarter way #70

mkroetzsch opened this issue Jun 2, 2016 · 1 comment
Assignees
Labels
enhancement New feature or request view: Entity This relates to the entity view

Comments

@mkroetzsch
Copy link
Member

Statement values are now shown in the order they are stored in Wikidata. As the main criterion, values should instead be ordered by rank (preferred > normal > deprecated).

Further possibilities to define an order with one rank:

  • Temporal information (P580, P585 qualifiers, highest first)
  • Position information (P1352, P1545 qualifiers, lowest first)

Ordering by item label is maybe not good since it means the order may change when the labels are fetched (this happens on demand while the page is loaded).

@mkroetzsch mkroetzsch added enhancement New feature or request view: Entity This relates to the entity view labels Jun 2, 2016
@mkroetzsch mkroetzsch self-assigned this Jun 2, 2016
mkroetzsch added a commit that referenced this issue Jul 15, 2016
@mkroetzsch
Copy link
Member Author

Fixed in master and online. Statements are now ordered using a number of heuristic criteria, including statement rank (preferred on top), time (recent first), position quantifier (lowest on top, see Q15220420 for examples), and language (selected language on top of the others).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request view: Entity This relates to the entity view
Projects
None yet
Development

No branches or pull requests

1 participant