Page MenuHomePhabricator

allow abuse filter to see if a value is changed without changing the reference of a statement
Open, Needs TriagePublic

Description

Problem:
It is possible in Wikidata to change the value of a statement without changing its reference. We would like to be able to detect when such an edit is made with the abuse filter to tag these edits or show a warning to the editor. Currently it is not possible to detect such edits with abuse filter rules.

Example:
an edit changing the value without changing the reference

BDD
GIVEN
AND
WHEN
AND
THEN
AND

Acceptance criteria:

Open questions:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 12 2019, 5:48 PM

This might be best tackled with something like T209023 which could allow us to add some structure to the data that we pass to AbuseFilter.

A temporary hack could be adding something explicit to abuse filter text, for example, when a statement is changed that have references flag this in the text passed to abuse filter if the references were not also changed, however this would likely be a hacky mess in the code :/

Lydia_Pintscher added a subscriber: Bugreporter.

@Bugreporter Thank you! I had totally forgotten about this task...