Translations:Manual:$wgFilterCallback/7/en

The return should be boolean indicating whether the edit matched some evilness: