Pintoch added a comment.

  @Lydia_Pintscher Sure! I have just deployed a demonstration of this use case 
on EditGroups <https://tools.wmflabs.org/editgroups/>.
  
  The goal is to index all Wikidata edit groups by the properties that they 
change (as statements or qualifiers, added or removed by the edit group). This 
can be useful to get an overview of the data imports that happened in a 
particular domain. For instance, the list of all edit groups using P50 (author) 
<https://tools.wmflabs.org/editgroups/?tags=prop-P50> gives you an overview of 
the ongoing author disambiguation effort in Wikicite.
  
  Some editing actions (such as `wbeditentity-create` or `wbeditentity-update`) 
allow users to perform big changes on items, and therefore do not expose the 
properties used in the edit summary. So, to make sure these edits are also 
indexed, we need to analyze their diffs. Hence the need for this API.
  
  One alternative would be to retrieve the JSON representation of the entities 
for all revisions involved and compute the diff manually, client-side. This is 
potentially more scalable as we could retrieve 25 diffs in one API call (25*2 
revisions). But implementing the diff logic is probably a bit more involved.
  
  Relevant code: 
  https://github.com/Wikidata/editgroups/blob/master/tagging/diffinspector.py

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

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

To: Pintoch
Cc: Lydia_Pintscher, Aklapper, Pintoch, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to