Topic on Extension talk:AbuseFilter

User is triggering abuse filter but their edit doesn't contain the words?

13
STITCH+COFFEE (talkcontribs)

Hi MediaWiki community,


I have a user in one of my sites who can't edit because they keep triggering one of my abuse filters that prohibit them from writing specific words.

The problem is, there are no words in the edit they provided me with that could trigger the abuse filter.

It seems like he is the only one experiencing it, as I am able to edit with his intended edits.

Any idea what is happening?

DannyS712 (talkcontribs)

Hi. Is the wiki public / can you post a link to the abuse logs? Or, can you post the contents of the `details` view?

Daimona Eaytoy (talkcontribs)

Indeed, we'd need some more info to understand what's going on. Ideally, links to (or copypaste if the wiki/the filter is private) the faulty filter and the AbuseLog entry for the edit. And also your MediaWiki version, and the version of the AbuseFilter extension (the git hash you can find in Special:Version). Thanks!

STITCH+COFFEE (talkcontribs)

Hi my abuse filter simply blocks users from adding the obscene word and there is no fault in it. One example is the word "travellers" the user wanted to add that word and wasn't allowed to. But he added another edit that was completely different and that was blocked too. I am wondering if something on the user end could trigger a false response?

DannyS712 (talkcontribs)

Can you please post the details and stuff? Without that its hard to help

STITCH+COFFEE (talkcontribs)

spamfilter:= "(helpdesk|applesupport|applenumber|\bkeygen\b|starcraft|microsoftsupport|cryptocurrency|flappybird|netflix|quickbooks‎|voyance|sheneverreallyliked|heneverreallyliked|moneyhack|\bseo\b|everybodycallsme|meuweblog|digsthatnickname|digsthatname|searchenginemarketing|meushobbies|introducingtheauthor|introducetheauthor|testosterone|sitedaweb|writtenonherbirthcertificate|notherbirthcall|hackgame|gamehack|surfemeulocal|howtomakemoney|meuhobby|myparentsgaveme|visitmyblog|thewriteriscalled|garciniacambogia|thewritersnameis|iadoreit|meulocal|earnmoremoney|introducemyselftoyou|astrologique|blockchain|emailmarketing|spouseenjoys|lovestophoneme|masculinename|happywheelsdemo|pussy|songdownload|roofrepair|onlinecasino|unifytotheentireglobe|mywebblog|viagra|investmentbanking|linkbuilding|seostrategies|meublog|meuhomepage|backlinks|theauthorsnameis|unitetothewholeglobe|avastinternet|ididmyschooling|surftomyweblog|meupágina|visitmysite|visitmywebsite|\bcialis\b|myweblog|ventolin|designershoes|apexatropin|zyntix|gotomysite|notherbirthtitle|cardsharing|nothisbirthtitle|landscaping|directTelescope|metalfabricator|prednisone|curlingwandreviews|adorethisname|introducingmyself|makemoneyonline|triptofano|surftomyblog|vaping|mercedesengines|mercedesengine|rangefinder|letmeintroducemyself|maleenhancement|designerwomenshoes|meuwebpage|moneylenders|totallydigthattitle|horoscopo|howshescalled|creditscore|ameritrade|debtcollectors|businessloans|thingsshelovesmost|uggboots|nikeshox|zoomair|basketballshoe|husbanddoesntlikeitatall|thewriterisknown|multilevelmarketing|hintingtheauthorsname|weightlossgoals|authorisknownbythename|namepeopleusetocallme|feminineofnames|paydayloans|masuclinetitle|titleshelovestobecalled|jointotheentireworld|sexyvideo|breastimplants|unifytotheentireworld|zithromax|captchasolvingservices|letusmowthelawn|lookintomysite|

hereismyhomepage|reviewmypage|myblogpost|examinemywebsite|ourownwebsite|bypassrecaptcha|hereismypagе|checkmysite|checkthisweblog|redessociais|tarotcard|hereismywebsite|spendstimewithhobbies|hobbiesthatinclude|myhobbiesare|fuerdai|windowsupdatesserver|insurancecoverage|minecraft|bestbabyseat|babycarseat|meuincrívelwebblog|dailyhoroscope|littleaboutmyself|mbactrosegroff|onlinepoker|Electronicdogfence|cliqueaqui|antioxidantes|sayingmytitle|checkouthiswebsite|checkoutherwebsite|\bmyhomepage\b|youcanfindmywebsite|introducethewriter|vedicastrology|moreonoursite|mbactrosdpfoff|concealedpetfence|dopamin|phenibut|wweporn|sexvideo|justclickthenextsite|poop|pee|poopee|poo|mealreplacements|estewebblog|completelylovethisname|homebasedbusiness|andhelovesit|kindlystopbyourpage|aoweblog|meunetwork|whatindividualscallher|visitourwebsite|decidingonamountainbike|Hereismyblog|petpharmacy|hereismywebpage|visitmyweblog|hasseveralhobbiesandinterests|ThunderingTyphoons|Vagina|vagina|Vaginan|\b卐\b)";

rmspecials(ccnorm(ADDED_LINES))  irlike spamfilter  & !('sysop' in user_groups) & !('bureaucrat' in user_groups) & !('autoconfirmed' in user_groups)

STITCH+COFFEE (talkcontribs)

I'm wondering if its because I didn't add \b to the words so it blocks any word with that sequence in it?

Daimona Eaytoy (talkcontribs)

It could be. Handling boundaries is up to the person writing the filter. It's also possible that the ccnorm could have caused a false positive. However, I'd need the AbuseLog entry for the edit in order to understand what's going on. If the wiki is private, it's also fine to just post the content of added_lines.

STITCH+COFFEE (talkcontribs)

This is one of the edits: the only difference is deleting a space.

*''' Great Burn Brewing''', [https://www.greatburnbrewing.com/] Woods-themed taproom with great selection in the south end of town. Often has a food truck. *''' Great Burn Brewing''', [https://www.greatburnbrewing.com/] Woods-themed taproom with great selection in the south end of town. Often has a food truck.
*''' Western Cider''', [https://westerncider.com/] Fantastic cider selection brewed using fruit from local orchards. They also offer tours. + *'''Draught Works Brewery''' [http://www.draughtworksbrewery.com/] Big selection of original beers. Has live music Thursdays, Saturdays and Sundays.  
*''' Conflux Brewing''', [http://confluxbrewing.com/] Great brewery downtown with a full restaurant. + *''' Western Cider''' [https://westerncider.com/] Fantastic cider selection brewed using fruit from local orchards. They also offer tours.
+
+ *''' Conflux Brewing''' [http://confluxbrewing.com/] Great brewery downtown with a full restaurant.
=== Wine === === Wine ===
Missoula wineries include: Missoula wineries include:
*''' Lolo Peak Winery''', [http://www.lolopeak.com] for fruit wines. + *''' Lolo Peak Winery''' [http://www.lolopeak.com] for fruit wines.
*''' Ten Spoons Vineyard''', [http://tenspoonvineyard.com/] is another local favorite. + *''' Ten Spoons Vineyard''' [http://tenspoonvineyard.com/] is another local favorite.
*''' Lake Missoula Cellars''', [http://www.lakemissoulacellars.com]. Another Great Montana Winery.  Tasting Room and Event Center. Complementary tastings. Friday night music and special events. New Bocce Court. Open Noon to 7:30 pm Tuesdays through Saturdays. + *''' Lake Missoula Cellars''' [http://www.lakemissoulacellars.com]. Another Great Montana Winery.  Tasting Room and Event Center. Complementary tastings. Friday night music and special events. New Bocce Court. Open Noon to 7:30 pm Tuesdays through Saturdays.
===Whiskey and Spirits=== ===Whiskey and Spirits===
STITCH+COFFEE (talkcontribs)

Here is another one

Long distance buses from Hong Kong such as to Guangzhou use Shenzhen Bay Checkpoint. Long distance buses from Hong Kong such as to Guangzhou use Shenzhen Bay Checkpoint.
+
+ ===China High Speed Rail from Hong Kong===
+
+ Trains run Northbound from West Kowloon station in Hong Kong to 3 stations in Shenzhen starting from 7 am with the last departure gone by 11 pm. As at September 2019, journey times and one way adult ticket costs from West Kowloon station are:
+
+ * Futian:        14 mins, HKD76, 36 trains per weekday plus additional trains at weekends
+ * Shenzhen North: 18 mins, HKD84, 66 trains per day
+ * Guangmingcheng: 31 mins, HKD106, 3 trains per day
+
+ See the MTR high speed rail website for more and latest info.
===By train=== ===By train===
'''Shenzhen Tong''' '''Shenzhen Tong'''
The most convenient way to travel is to buy a Shenzhen Tong (深圳通) card. This is a stored value ticket. Touch it on the turnstile reader on entering and leaving the station. It can also be used for purchases in convenience stores. The card can be bought from a separate stand at metro stations, as well as special machines. At Luohu station, the stand is located at Exit A. The stand displays the Shenzhen Tong cards and they cost 50 yuan. The most convenient way to travel is to buy a Shenzhen Tong (深圳通) card. This is a stored value ticket. Touch it on the turnstile reader on entering and leaving the station. It can also be used for purchases in convenience stores. The card can be bought from a separate stand at metro stations, as well as special machines. At Luohu station, the stand is located at Exit A. The stand displays the Shenzhen Tong cards and they cost 50 yuan.
===China High Speed Rail from Hong Kong===
Trains run Northbound from West Kowloon station in Hong Kong to 3 stations in Shenzhen starting from 7 am with the last departure gone by 11 pm. As at September 2019, journey times and one way adult ticket costs from West Kowloon station are:
* Futian:        14 mins, HKD76, 36 trains per weekday plus additional trains at weekends
* Shenzhen North: 18 mins, HKD84, 66 trains per day
* Guangmingcheng: 31 mins, HKD106, 3 trains per day
See the MTR high speed rail website for more and latest info.
===By bus=== ===By bus===
Daimona Eaytoy (talkcontribs)

OK, now it's clear. There are two problems with your filter:

  • There are no boundaries in some words. For instance, "poo" is causing a false positive in the first edit you reported.
  • added_lines contains all the changed lines, i.e. the ones appearing in the right side of the diff. Hence, it includes moved lines; it also includes whole paragraphs, even if only a single character was changed inside that paragraph. So you should check that, for instance with rmspecials(ccnorm(added_lines)) irlike spamfilter & !(rmspecials(ccnorm(removed_lines)) irlike spamfilter)
STITCH+COFFEE (talkcontribs)

Thank you so much! How do I change the added_lines part?

STITCH+COFFEE (talkcontribs)

Oh actually I think you already gave me it. Thank you!

Reply to "User is triggering abuse filter but their edit doesn't contain the words?"