Page MenuHomePhabricator

AbuseFilter variable "new_wikitext" invalid for edits made from the mobile version
Closed, DuplicatePublic

Description

For some edits (I am almost sure that it is only edits are made from the mobile version, i.e. http://<lang_code>.m.wikipedia.org/), the abusefilter variable "new_wikitext" contains only the text of the edited section, while "old_wikitext" contains the full text of the article. As a consequence, there are currently many false positives for filters that trigger on large deletions.

For exemple, the following entry in the log of http://en.wikipedia.org/wiki/Special:AbuseFilter/30 ("Large deletion from article by new editors") shows a huge deletion:
https://en.wikipedia.org/wiki/Special:AbuseLog/9044770

However, there is no deletion in the actual diff (which is incorrectly tagged with "Tag: blanking"):
https://en.wikipedia.org/w/index.php?title=Kkangpae&diff=prev&oldid=565689194


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52077

Details

Reference
bz52062