Feature summary (what you would like to be able to do and where):
Currently the filter offers the added_lines / removed_lines variables to see whats has been changed. But both variables show the full text line and not only what really was added. Two new variables which will show what exactly was added / removed (e.g. "added_text" / "removed_text") would be very helpful to prevent false positive results.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
The currently available variables added_lines / removed_lines get the same results as achieved via diff links, like https://de.wikipedia.org/w/index.php?title=Metalle&type=revision&diff=221237001&oldid=219606657&diffmode=source . I contrast to this the API offers a way to see what exactly was added / removed. In the linked example: https://de.wikipedia.org/w/api.php?action=compare&fromrev=219606657&torev=221237001&prop=diff|comment|timestamp&format=json where the added text is encapsulated between <ins class=\"diffchange diffchange-inline\"> and </ins>
I was faced with the too unspecific results given by added_lines when I tried to implement a filter function which should detect edits with multiple letter repeats like "hellooooooooo" or "yeaaaaah". If someone adds anything in e.g. in a table which contains color codes like "color=aaaaaa", I get false positive results, because added lines shows the whole table and not only what really was added.
If someone only removes a blank space its very difficult to see in removed_lines what really was removed.
Benefits (why should this be implemented?):
- It will reduce false positive results
- It will be a more precise filter tool
- It will reduce vandalism