Feature summary:
distance
would return the edit distance between the new version and the old version, measured by characters. For example, say we have three strings:
- Among incarcerated youths recieving remedial education during their incarceration, 43% do not return to school. 40% re-enroll, but drop out within a year. 10% drop out after re-enrolling, but after more than a year. Only 7% graduate high school successfully.
- Among detained youths recieving remedial education during their detention, 43% do not return to school. 40% re-enroll, but drop out within a year. 10% drop out after more than a year. Only 7% graduate high school successfully.
- 43% of detained youths recieving remedial education do not return to school. 40% re-enroll, but drop out within a year. 10% drop out after more than a year. Only 7% graduate high school successfully.
Distance between 1 and 2: 25
1 & 3: 59
2 & 3: 49
Use case(s): Some abuse filters would need to check if two revisions of a page are closely related, such as to find canned edit summaries. See https://en.wikipedia.org/wiki/Wikipedia:Edit_filter/Requested#Significance-misleading_edits
Benefits: same as use cases. Within current capabilities, it is complex or even impossible to find the actual edit distance.