On Commons the variable "new_wikitext" contains wrong data if a user edits only image captions. See [[commons:Special:AbuseLog/9710528]], [[commons:Special:AbuseLog/9711367]], [[commons:Special:AbuseLog/9711938]] as examples. The page content is unchanged (see diffs on the log pages) but new_wikitext doesn't contain the page content but the entered caption data which then leads to false positives.
Description
Description
Event Timeline
Comment Actions
The full URLs for those example links are: https://commons.wikimedia.org/wiki/Special:AbuseLog/9710528 , https://commons.wikimedia.org/wiki/Special:AbuseLog/9711367 , and https://commons.wikimedia.org/wiki/Special:AbuseLog/9711938 . See also https://commons.wikimedia.org/wiki/Commons_talk:Abuse_filter#Report_by_Lieven , which will be archived to https://commons.wikimedia.org/wiki/Commons_talk:Abuse_filter/Archive_2023/04#Report_by_Lieven .