Page MenuHomePhabricator

Universally allowed qualifiers
Open, Needs TriagePublic


The qualifiers P2241 (reason for deprecation), P7452 (reason for preferred rank) and P4390 (mapping relation type) should automatically be valid for all properties. Specifically:

  • They should never trigger a constraint violation regardless of the "allowed qualifiers" settings on any specific property
  • Property creators should not have to specify them as allowed qualifiers when creating new properties.

We need to understand how this could be accomplished, whether through creating a new class of qualifiers called "universally allowed qualifier" or something similar or if it needs to be accomplished through the back end on these specific properties.

If feasible, it would be nice to have if setting <instance of> "universally allowed qualifier" on a qualifier-property would allow an editor to add other qualifiers to this list.

See support discussion at

Event Timeline

PKM created this task.Jan 14 2020, 9:29 PM
Restricted Application added a project: Wikidata. · View Herald TranscriptJan 14 2020, 9:29 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This shouldn’t be too difficult to implement (though I’d strongly favor a version where the universally allowed qualifiers are just a static list in the extension configuration – a class statement on the property entities would be a lot worse for performance), but it might not happen soon. In the meantime, it might help to add those qualifiers to “allowed qualifiers” constraints explicitly, e. g. by plugging the results of this query into QuickStatements.

Eihel added a subscriber: Eihel.Feb 18 2020, 4:50 PM

I understand the need but we are making the system more and more complicated. Would it be ok for the time being to follow Lucas' advice and do a quick quickstatements run?

PKM added a comment.Apr 4 2020, 7:30 PM

Yes of course.

PKM added a comment.Apr 4 2020, 8:54 PM

Running the first batch now.

As @Esc3300 @Jura1 has already reverted a couple of these, I am holding off running more batches for now. Posted on their talk page.

PKM added a comment.Apr 6 2020, 10:43 PM

Update: I plan to start running batches again today or tomorrow, manually removing any properties that have been reverted on prior runs. So far there are only 4 of them, so this approach should be manageable.

PKM added a comment.Apr 19 2020, 11:45 PM

Completed for all properties through P6801 except for a few that have been reverted. Big thank you to whatever team got QuickStatements working again.