Page MenuHomePhabricator

[MEX] M3.3.3 - Investigation of add ranking functionality to edit statement
Closed, ResolvedPublic

Description

As a wikidata editor,
I want to modify the ranking of a statement when editing or creating a statement on mobile
So that the statement can be more precise

Screenshot 2025-08-28 at 13.40.00.png (1×820 px, 108 KB)

https://www.figma.com/design/RtMDwH7sMF5IPRJvyyZPv4/Mobile-editing-experience?node-id=2238-13961&t=C9HTDU2XkF8Mdz6A-1

a/c

  • if possible - per default, the button assumes the width it would have when the longest option was selected - in english, "deprecated rank", to avoid layout shifts when you change between options
  • Longer terms should overflow to the next line(s) (esp. important w/different languages)

Note: Significant work completed in T402447:

  • The ranking button is the codex component select, with icon, and it already displays the select option
  • The icon used is the ranking icon, that is not on codex
  • per default (until someone changes it), the selected option is "normal rank"
  • The option menu opens over whatever elements are in the page - it does not push them down, to avoid layout shifts
  • The option menu shows all 3 options, including the one already selected - this one is highlighted (part of component behaviour)

Event Timeline

karapayneWMDE renamed this task from [MEX] M3.1.1 - add ranking to edit form for simple text inputs to [MEX] M3.3.3 - add ranking functionality to edit statement.Aug 22 2025, 8:18 AM
karapayneWMDE updated the task description. (Show Details)
karapayneWMDE renamed this task from [MEX] M3.3.3 - add ranking functionality to edit statement to [MEX] M3.3.3 - Investigation of add ranking functionality to edit statement.Sep 4 2025, 11:05 AM
karapayneWMDE updated the task description. (Show Details)

Task Time: Timebox of 4 hours

Change #1190926 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/Wikibase@master] Render selected rank in item view, add tests

https://gerrit.wikimedia.org/r/1190926

Change #1190926 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Render selected rank in item view, add tests

https://gerrit.wikimedia.org/r/1190926