Page MenuHomePhabricator

Install AbuseFilter on FileImporter test wiki and add a few meaningful rules
Closed, ResolvedPublic5 Estimated Story Points

Description

Motivation
In order to be able to test that using the AbuseFilter actually works, we need to create a test environment that can do so

Task

  • On the FileImporter Test wiki, install the AbuseFilter
  • Add a set of rules to the AbuseFilter that best reflects the different kinds of checks the AbuseFilter can do, and that are easy to fail

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Tobi_WMDE_SW set the point value for this task to 5.

@Andrew-WMDE @WMDE-Fisch could you give me hints what are the rules and what I can do to test this?

@Lea_WMDE So some demo AbuseFilter rules can be found here: http://mwfileimport.wmflabs.org/wiki/index.php?title=Special:AbuseFilter
The first rule, for example, blocks an import if it's wikitext contains the word "papaya". Therefore, an easy test would be to add the word "papaya" to the pages wikitext during the import process and when you click on import an error message should then appear.