apps-android-commons icon indicating copy to clipboard operation
apps-android-commons copied to clipboard

Allow the user to proceed after being warned by AbuseFilter

Open whym opened this issue 8 years ago • 3 comments

On the website, once the warning is shown, the user can choose whether to cancel it or ignore the warning upload it. The app currently does not allow the choice, and treats it as a failed upload. We would like to provide an experience similar to the website by showing the warning and asking for confirmation.

For example, Wikimedia Commons currently gives warnings to small JPG files contributed by new users: https://commons.wikimedia.org/wiki/Special:AbuseFilter/156

It doesn't appear that many new users of the app are affected by the particular filter above (maybe because smartphone pictures tend to be large enough), but I think it's good to be ready for it. Abuse filters that affect a wider range of contributions may be added anytime by the Commons sysops, for example to fight against sudden increase of vandalisms.

Note also not all AbuseFilter rules allow this choice. Some rules are designed to immediately reject an upload or edit without asking the user.

For details on how to programmatically interact with the AbuseFilter system, see https://www.mediawiki.org/wiki/Extension:AbuseFilter#API .

A screenshot with AbuseFilter asking for confirmation: failed

whym avatar Apr 30 '17 09:04 whym

Also, it looks like emulator's auto-generated images tend to be caught by the filter mentioned above when uploaded from a new account. (They are small JPGs.) So the lack of this feature causes a bit of trouble to developers, too.

whym avatar Apr 30 '17 09:04 whym

Hmm, is this something that Wikimedia still does; is it still an issue for us?

Thanks,

Chris.

chrisdebian avatar Dec 19 '24 21:12 chrisdebian

It still is a feature of MediaWiki deployed on Wikimedia Commons. Whether if it currently affects the mobile app's users significantly, I don't know.

We might want to see if we can come up with a query to the dataset available via https://wikitech.wikimedia.org/wiki/Help:Toolforge/Database .

whym avatar Dec 20 '24 12:12 whym