Page MenuHomePhabricator

[MEX] M3 - SPIKE - indicating which properties are not compatible yet on mobile editing when creating new statements
Closed, ResolvedPublic

Description

Before we release the mobile editing experience on wikidata.org we need to indicate which properties are not compatible yet on mobile editing when creating new statements.

Currently when creating a new statement with an incompatible datatype, the editor recieves an error telling them that the statement could not be made, but no indication why.

We must indicate that the Property they selected is not supported in the property selection like we do on the Query Builder:
By adding "Not supported on mobile" after the property name.

image.png (215×336 px, 20 KB)

We must also make sure that the Property is not able to be selected in the drop-down

Before we do this we must see if this is possible on Codex, and we will require an investigation.

Acceptance Criteria

  • Conclude if it is possible to add "Not supported on mobile" after the Property name when selecting a Property
  • Conclude if it is to make the unsupported Properties not selectable

Timebox: 4 hours

Event Timeline

Lucas_Werkmeister_WMDE renamed this task from [MEX] M3 indcating which properties are not compatible yet on mobile editing to [MEX] M3 indicating which properties are not compatible yet on mobile editing.Dec 15 2025, 3:25 PM

That one only applies to existing statements, there is no indication that a property isn't included in mobile editing when we are creating new statements. I'll update the message to make it more clear

Arian_Bozorg renamed this task from [MEX] M3 indicating which properties are not compatible yet on mobile editing to [MEX] M3 indicating which properties are not compatible yet on mobile editing when creating new statements.Dec 16 2025, 9:10 AM
Arian_Bozorg updated the task description. (Show Details)

Conclude if it is possible to add "Not supported on mobile" after the Property name when selecting a Property
Conclude if it is to make the unsupported Properties not selectable

(We’re hoping that the supportingText and disabled props of the codex menu item will let us do these things, respectively.)

karapayneWMDE renamed this task from [MEX] M3 indicating which properties are not compatible yet on mobile editing when creating new statements to [MEX] M3 - SPIKE - indicating which properties are not compatible yet on mobile editing when creating new statements.Dec 16 2025, 10:30 AM
karapayneWMDE updated the task description. (Show Details)

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

[mediawiki/extensions/Wikibase@master] Indicate which properties are not yet supported in addstatement

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

My conclusion is that this is possible - I've implemented the restrictions in the attached patch.

Change #1219139 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Indicate which properties are not yet supported in addstatement

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

@Arian_Bozorg if you want, you can already product-review/verify this task, it’s only back in development for a follow-up about the browser tests.