thiemowmde added a subscriber: thiemowmde.
thiemowmde added a comment.

Discussed during story time:

1. Have an "wbcheckentity/wbvalidation" (?) API. It does the checks in 
real-time.
2. Create a new [[Special:{All|Combined|Full}ConstraintReport]] (?) including 
external constraints, in addition to [[Special:ConstraintReport]]. **Or** 
repurpose the existing one.
3. Have a button in the UI, added via the extension (probably the base 
WikibaseQuality), that triggers that API call and adds icons to all statements 
with a violation. To do: Check the ditched version 2, relevant code should 
already be there.
4. No-JS fallback for the button: Link to the new special page.
5. Implement a caching layer for the results. (Note: The students working on 
https://phabricator.wikimedia.org/tag/wikibase-quality-constraints/ worked on a 
branch implementing persistence, but this got stuck on review and we had to 
ditch it.)
6. Trigger checks/purge during save. Warning: Need to purge all items using a 
property when the property is edited!

Keep in mind:

- In the future more external tools may want to add annotations/icons to our 
view (see https://phabricator.wikimedia.org/T95403).


TASK DETAIL
  https://phabricator.wikimedia.org/T110039

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: thiemowmde, Ricordisamoa, Tamslo, Aklapper, Lydia_Pintscher, Wikidata-bugs, 
aude



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to