Jump to content

Topic on Extension talk:Antispam

Questions on config? cloud based servers?

2
Murteas (talkcontribs)

I would like to know if we can run this just for new page creation and edits and not for account creation?

Are there other configuration options available, i.e. not to run this for certain user groups, etc?

We use AWS servers to host our wiki and our ip address of our servers change constantly as we scale, will this cause problems recognizing the traffic as coming from a single wiki?

204.237.89.128 (talkcontribs)

It is possible (and advisable) to exempt all but new or unregistered users from Cleantalk, due to the risk of false-positive results from their server.


    // Skip antispam test if user is member of special group

    if ( $wgUser->isAllowed('cleantalk-bypass') ) {

        return;

    }


There are also some settings in extension.json which may be useful. I'd suggest at a minimum setting:

                "CTNewEditsOnly": {

                        "value": true

                },

so that only user registration and page creation are submitted to Cleantalk. There's otherwise too much risk that Cleantalk will see something in the original article body which looks spammy or suspect, blame the last user who edited the page (as an edit resubmits the entire article or article section to Cleantalk's scrutiny) and trigger a false-positive which gets the user added to Cleantalk's naughty list. That can cause problems for the user later, as well as causing the edit attempt to fail with an error.

If you have groups like autoconfirmed, sysop and the like you may want to grant those groups the "cleantalk-bypass" attribute so that they're not having everything they write submitted to Cleantalk for review.

Reply to "Questions on config? cloud based servers?"