Page MenuHomePhabricator

[MEX] M3.1.2 - add functionality for when edit form is opened on a deleted property
Open, Needs TriagePublic

Description

As a wikidata editor
I do not want to be using deleted properties while editing on mobile
So that I do not create outdated information

a/c

Event Timeline

karapayneWMDE renamed this task from [MEX] M3.4 edit functionality for references to [MEX] M3 - title WIP 1.Aug 22 2025, 8:09 AM
karapayneWMDE renamed this task from [MEX] M3 - title WIP 1 to [MEX] M3 - add functionality for when edit form is opened on a deleted property.Aug 22 2025, 10:13 AM
karapayneWMDE assigned this task to Arian_Bozorg.
karapayneWMDE updated the task description. (Show Details)

I believe additional design work is needed for this use case

karapayneWMDE renamed this task from [MEX] M3 - add functionality for when edit form is opened on a deleted property to [MEX] M3.1.2 - add functionality for when edit form is opened on a deleted property.Aug 22 2025, 10:14 AM

Do you have an example of where this occours and how it looks on desktop? I am unable to recreate it anywhere

So, as i understand this, it is actually not possible to edit - the only possible action is to delete the statement.

What would be the best case user behavior here? should we motivate him to delete it?

Not sure if “motivate” is the right word, but I think it’s the only meaningful option we can offer the user, at least. (The desktop UI lets users try to edit the qualifiers and references of the statement, but the API doesn’t actually permit it, so no edit like that can be saved.) However, when a deleted property is found on an item in the latest revision, then it’s likely that the value should be migrated to a different property, so I don’t think we should encourage deletion too much. (Ideally, administrators would only delete the property after it’s no longer used at all, but they’ve been known to not do that; see e.g. T374681#10153994.)

From desktop we should have the same text with the same formatting as it is on desktop:

string value for statement of deleted property
Property P253160 not found, cannot determine the data type to use.

image.png (281×948 px, 25 KB)

I think that an edit button would be misleading, and a bit confusing.
But I would think the edit button on mobile could take you to the edit page with only delete and cancel options valid as we have in the above screenshot.

But happy for @Alice.moutinho to suggest any other options