Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Abuse filter management

Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)
Jump to navigation Jump to search

Differences between versions

ItemVersion from 03:45, 19 December 2015 by ChriswaterguyVersion from 02:04, 6 September 2018 by Chriswaterguy
Basic information
Notes:
UPDATE, 14 Oct: 4 edits allowed in 100000, lowering trigger to 40. Old way wasn't catching them.  
+
UPDATE, 6 Sep 2018
 +
 
 +
Updated positive terms:
 +
    +15* ( "{{" in added_lines + "[[category:" in lcase(added_lines) + "northern california" in lcase(added_lines) )
 +
    +100 * ( "humboldt" in lcase(added_lines) + "Michigan Technological University" in added_lines + "service learning" in added_lines  )
 +
 
 +
 
 +
UPDATE, 14 Oct 201?: 4 edits allowed in 100000, lowering trigger to 40. Old way wasn't catching them.  
  
 
Initial: Copied from abuse filter 10, but with a higher trigger (60 instead of 28), user_editcount<=1, and with a rate limit: above 1 hit of the filter per hour will trigger it. Intended to block repeat offenders before they actually managed to break through.
 
Initial: Copied from abuse filter 10, but with a higher trigger (60 instead of 28), user_editcount<=1, and with a rate limit: above 1 hit of the filter per hour will trigger it. Intended to block repeat offenders before they actually managed to break through.
Filter conditions
Conditions:
 
(user_age <= 15*60
 
(user_age <= 15*60
 
|
 
|
 
user_editcount<=1)
 
user_editcount<=1)
 
& action=='edit'
 
& action=='edit'
  
 
& !("{{medical device" in lcase(added_lines))
 
& !("{{medical device" in lcase(added_lines))
 
&   
 
&   
 
(IN_USERSPACE:=    (article_namespace==2|article_namespace==3) );  
 
(IN_USERSPACE:=    (article_namespace==2|article_namespace==3) );  
 
(IN_MAINSPACE:=article_namespace==0 );
 
(IN_MAINSPACE:=article_namespace==0 );
 
(IN_ORIGINALSPACE:=article_namespace==102 );
 
(IN_ORIGINALSPACE:=article_namespace==102 );
 
(BRAND_NEW:= user_editcount==0 );
 
(BRAND_NEW:= user_editcount==0 );
 
(VERY_YOUNG:= user_age <= 24*3600 );
 
(VERY_YOUNG:= user_age <= 24*3600 );
 
(NEW_PAGE:= old_size ==0 );
 
(NEW_PAGE:= old_size ==0 );
  
 
(SPAMMY_TITLE:=
 
(SPAMMY_TITLE:=
 
   +100 * rcount("(erotic|\bseo\b|search engine opt|backlink|sex toy|sex ?shop|fat.burning|burn fat|dildo|ejaculate|ejaculation|viafinding pagegra|\bcialis\b|online pharmac|milf|vagina|penis|pen1s|male organ|sperm|search engine marketing|credit rating|cosmetic surge(ry|on)|plastic surge(ry|on)|weight.reduction|acai)", lcase(article_text))  
 
   +100 * rcount("(erotic|\bseo\b|search engine opt|backlink|sex toy|sex ?shop|fat.burning|burn fat|dildo|ejaculate|ejaculation|viafinding pagegra|\bcialis\b|online pharmac|milf|vagina|penis|pen1s|male organ|sperm|search engine marketing|credit rating|cosmetic surge(ry|on)|plastic surge(ry|on)|weight.reduction|acai)", lcase(article_text))  
 
   + 18 * rcount("(keyword|google|marketing|promotion|baseball|herpes|income|jobs|game|gaming|professional|contract|poker|perfect|guarantee|property|enhanc|internet|online|muscle|\bfree\b|revenue|right now|forever|when you|iphone|\btour)", lcase(article_text))  
 
   + 18 * rcount("(keyword|google|marketing|promotion|baseball|herpes|income|jobs|game|gaming|professional|contract|poker|perfect|guarantee|property|enhanc|internet|online|muscle|\bfree\b|revenue|right now|forever|when you|iphone|\btour)", lcase(article_text))  
 
   + 12 * rcount("(secret|drywall|pro\b|interior|estate|review|online|sex|poker|baseball|think about|help you|advice)", lcase(article_text))  
 
   + 12 * rcount("(secret|drywall|pro\b|interior|estate|review|online|sex|poker|baseball|think about|help you|advice)", lcase(article_text))  
 
   +  10 * rcount("(swift|watch|free|online|adult|texas|chicago|florida|business)", lcase(article_text))  
 
   +  10 * rcount("(swift|watch|free|online|adult|texas|chicago|florida|business)", lcase(article_text))  
 
   +  4 * rcount("(paint|guide|apple)", lcase(article_text))    ) ;
 
   +  4 * rcount("(paint|guide|apple)", lcase(article_text))    ) ;
 
(TITLE_CAPS:=
 
(TITLE_CAPS:=
 
   + 6 * (article_text regex "( [A-Z].*){3,}")
 
   + 6 * (article_text regex "( [A-Z].*){3,}")
 
   + 6 * (article_text regex "( [A-Z].*){5,}")  );
 
   + 6 * (article_text regex "( [A-Z].*){5,}")  );
 
(YEAR_STRING_TITLE_ENDING:=  
 
(YEAR_STRING_TITLE_ENDING:=  
 
   (1 - IN_USERSPACE*0.5)
 
   (1 - IN_USERSPACE*0.5)
 
  * (!lcase(article_text) regex "[^\d](19[6789]|20[012])\d$"  + 0.25 * lcase(article_text) regex "[A-Za-z](19[6789]|20[012])\d$")
 
  * (!lcase(article_text) regex "[^\d](19[6789]|20[012])\d$"  + 0.25 * lcase(article_text) regex "[A-Za-z](19[6789]|20[012])\d$")
 
  * ( lcase(article_text) regex "\d{3,}$"
 
  * ( lcase(article_text) regex "\d{3,}$"
 
     +lcase(article_text) regex "\d{3,}$")  );
 
     +lcase(article_text) regex "\d{3,}$")  );
 
(SUFFIX_5_DIGIT:=(article_text regex "\d\d\d\d\d")  );
 
(SUFFIX_5_DIGIT:=(article_text regex "\d\d\d\d\d")  );
 
(COMMERCIAL_LINKS:=
 
(COMMERCIAL_LINKS:=
 
     (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 1)  
 
     (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 1)  
 
   + (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 2)  
 
   + (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 2)  
 
   + (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 3)  
 
   + (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 3)  
 
   + (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 4)  
 
   + (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 4)  
 
   + (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 6) );
 
   + (rcount("http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 6) );
  
 
(SPAMMY_USER_OR_USER_TALK_PAGE :=
 
(SPAMMY_USER_OR_USER_TALK_PAGE :=
 
   IN_USERSPACE *  
 
   IN_USERSPACE *  
 
   (18 * lcase(added_lines) regex "visit .*my .*(weblog|blog|site)"
 
   (18 * lcase(added_lines) regex "visit .*my .*(weblog|blog|site)"
 
   +12 * lcase(added_lines) regex "(source|page|site)\]"
 
   +12 * lcase(added_lines) regex "(source|page|site)\]"
 
   + 8 * lcase(added_lines) regex "(source|page|site)\](\]|\))"
 
   + 8 * lcase(added_lines) regex "(source|page|site)\](\]|\))"
 
   + 4 * lcase(added_lines) regex "this site"
 
   + 4 * lcase(added_lines) regex "this site"
 
   + 4 * lcase(added_lines) regex "click"
 
   + 4 * lcase(added_lines) regex "click"
 
   + 8 * lcase(added_lines) regex "(this|these) (forum|blog)|visit my")
 
   + 8 * lcase(added_lines) regex "(this|these) (forum|blog)|visit my")
 
   ) ;  
 
   ) ;  
 
(DODGY_USERSPACE := IN_USERSPACE * ( 20*rcount("hobbies\]|\bseo\b|really likes|heritage listed destination", lcase(added_lines))  
 
(DODGY_USERSPACE := IN_USERSPACE * ( 20*rcount("hobbies\]|\bseo\b|really likes|heritage listed destination", lcase(added_lines))  
 
                       + rcount(10*"hobbies|spends? time|pastime|pass(es)? time|reviews?\]|bonus\]|destination|really enjoys", lcase(added_lines))  
 
                       + rcount(10*"hobbies|spends? time|pastime|pass(es)? time|reviews?\]|bonus\]|destination|really enjoys", lcase(added_lines))  
 
                       + rcount(5*"bonus|look[a-z0-9\-\.]*site|shoes\]|places like|new (place|town|countr|city|cities)|in the world|enjoys|plans to", lcase(added_lines))  
 
                       + rcount(5*"bonus|look[a-z0-9\-\.]*site|shoes\]|places like|new (place|town|countr|city|cities)|in the world|enjoys|plans to", lcase(added_lines))  
 
                       ) );
 
                       ) );
 
(SUSPICIOUS_TLD:=  
 
(SUSPICIOUS_TLD:=  
 
   +      (rcount("http://[^\s\n\r]+\.vn", added_lines) >= 1)  
 
   +      (rcount("http://[^\s\n\r]+\.vn", added_lines) >= 1)  
 
   +      (rcount("http://[^\s\n\r]+\.vn", added_lines) >= 2) );
 
   +      (rcount("http://[^\s\n\r]+\.vn", added_lines) >= 2) );
  
 
(CONTAINS_BREAK_TAGS := "<br" in added_lines ) ;
 
(CONTAINS_BREAK_TAGS := "<br" in added_lines ) ;
  
 
(SPAM_MAX := rcount("(seo zen|search engine opt|sct telecom|narendra modi|suitusa)", lcase(added_lines)) );
 
(SPAM_MAX := rcount("(seo zen|search engine opt|sct telecom|narendra modi|suitusa)", lcase(added_lines)) );
  
 
(SPAM100 := rcount("made a journey|around the world|spend some time|los(es?|t|ing) weight|backlink|seo keywοrd|keywοrd tool|sex toy|sexshop|sex shop|herpes|fat.burning|burn fat|dildo|ejaculate|ejaculation|viagra|\bcialis\b|online pharmac|milf|vagina|penis|pen1s|male organ|sperm|search engine marketing|internet marketing|credit rating|cosmetic surge(ry|on)|plastic surge(ry|on)|written for a wiki before|edited a wiki before|weight.reduction|acai|hair grow|casino|gambling", lcase(added_lines)) );
 
(SPAM100 := rcount("made a journey|around the world|spend some time|los(es?|t|ing) weight|backlink|seo keywοrd|keywοrd tool|sex toy|sexshop|sex shop|herpes|fat.burning|burn fat|dildo|ejaculate|ejaculation|viagra|\bcialis\b|online pharmac|milf|vagina|penis|pen1s|male organ|sperm|search engine marketing|internet marketing|credit rating|cosmetic surge(ry|on)|plastic surge(ry|on)|written for a wiki before|edited a wiki before|weight.reduction|acai|hair grow|casino|gambling", lcase(added_lines)) );
 
(SPAM80 := rcount("recently (spent|travell?ed|visited)|search engine|orgаnic link|link building|top 10|keyword|slimming|weight loss|accept credit cards|act now\!|don\'t hesitate\!|additional income|addresses on cd|be amazed|buying judgments|cable converter|call free|call now|calling creditors|cannot be combined with any other offer|cancel at any time|cash|cell phone cancer scams?|cents on the dollar|check or money orders?|claims not to be selling anything|some spam law|claims to be legal|claims you are a winner|claims you registered with some kind of partner|click below|click here link|click to remove|click to remove mailto|compare rates|compete for your business|confidentially on all orders|consolidate debt and credit|stop snoring|get it now|special promotions?|copy accurately|copy dvds?|credit bureaus?|credit card offer|cures baldness|dear email|dear friends?|dear somebody|different reply to|dig up dirt on friends|direct emails?|direct marketing|discusses search engine listings?|don\'t delete|drastically reduced|earn per week|easy terms|eliminate bad credit|email harvest|email marketing|expect to earn|fantastic deal|find out anything|for free|for instant access|for just $|free access|free cell phone|free consultation|free dvd|free grant money|free installation|free investment|free leads|free membership|free money|free offer|free preview|free priority mail|free quote|free sample|free trial|full refund|get started now|gift certificate|great offer|guarantees?|have you been turned down|hidden assets?|human growth hormone|if only it were that easy|in accordance with laws|join millions of americans|bill 1618|long distance phone offer|lower monthly payment|mail in order form|marketing solutions|meet singles|no age restrictions|no claim forms|no cost|no credit check|no disappointment|no gimmick|no inventory|no middleman|no obligation|no purchase necessary|no questions asked|no selling|no strings attached|offer expires|offers coupon|coupon codeoffers extra cash|offers free passwords|offers stolen passwords|once in lifetime|one hundred percent free|one hundred percent guaranteed|one time mailing|only $|order now|order status|orders shipped by priority mail|outstanding values|pennies a day|people just leave money laying around|please read|potential earnings|print form signature|print out and fax|produced and sent out|removal instructions|remove in quotes|remove subject|removes wrinkles|reply remove subject|requires initial investment|reserves the right|reverses aging|s 1618|safeguard notice|satisfaction guaranteed|save $|save big money|score with babes|section 301|sent in compliance|serious cash|serious only|shopping spree|stock alert|stock disclaimer statement|stock pick|stock price|strong buy|stuff on sale|subject to credit|supplies are limited|talks about hidden charges|talks about prizes|tells you it\'s an ad|wants credit card|we hate spam|we honor all|weekend getaway|what are you waiting for|while supplies last|you have been selected|your income|search engine optimisation|search engine optimization|\bseo\b|canada goose|jacket|\bugg boot\b|chemical allergic|brand new pager|buy direct|how are you|49ers|true love|cares me|cares? about me|my heart|best price|medical exam|medical fees?\b|medical bill|real estate|sales agent|game ?zone|gaming|games? online|online gam(e|ing)|online store|video game|world of warcraft|hotel|vacation|holiday|visited|voyage|personal injury|nonchalantly|this (page )?is a really good article|freeview|satellite tv|property|cash bonus|web hosting|interests|loves|racing|sale page|i like|i'm interested in|coin collecting|diet|web\s?cam", lcase(added_lines))  );
 
(SPAM80 := rcount("recently (spent|travell?ed|visited)|search engine|orgаnic link|link building|top 10|keyword|slimming|weight loss|accept credit cards|act now\!|don\'t hesitate\!|additional income|addresses on cd|be amazed|buying judgments|cable converter|call free|call now|calling creditors|cannot be combined with any other offer|cancel at any time|cash|cell phone cancer scams?|cents on the dollar|check or money orders?|claims not to be selling anything|some spam law|claims to be legal|claims you are a winner|claims you registered with some kind of partner|click below|click here link|click to remove|click to remove mailto|compare rates|compete for your business|confidentially on all orders|consolidate debt and credit|stop snoring|get it now|special promotions?|copy accurately|copy dvds?|credit bureaus?|credit card offer|cures baldness|dear email|dear friends?|dear somebody|different reply to|dig up dirt on friends|direct emails?|direct marketing|discusses search engine listings?|don\'t delete|drastically reduced|earn per week|easy terms|eliminate bad credit|email harvest|email marketing|expect to earn|fantastic deal|find out anything|for free|for instant access|for just $|free access|free cell phone|free consultation|free dvd|free grant money|free installation|free investment|free leads|free membership|free money|free offer|free preview|free priority mail|free quote|free sample|free trial|full refund|get started now|gift certificate|great offer|guarantees?|have you been turned down|hidden assets?|human growth hormone|if only it were that easy|in accordance with laws|join millions of americans|bill 1618|long distance phone offer|lower monthly payment|mail in order form|marketing solutions|meet singles|no age restrictions|no claim forms|no cost|no credit check|no disappointment|no gimmick|no inventory|no middleman|no obligation|no purchase necessary|no questions asked|no selling|no strings attached|offer expires|offers coupon|coupon codeoffers extra cash|offers free passwords|offers stolen passwords|once in lifetime|one hundred percent free|one hundred percent guaranteed|one time mailing|only $|order now|order status|orders shipped by priority mail|outstanding values|pennies a day|people just leave money laying around|please read|potential earnings|print form signature|print out and fax|produced and sent out|removal instructions|remove in quotes|remove subject|removes wrinkles|reply remove subject|requires initial investment|reserves the right|reverses aging|s 1618|safeguard notice|satisfaction guaranteed|save $|save big money|score with babes|section 301|sent in compliance|serious cash|serious only|shopping spree|stock alert|stock disclaimer statement|stock pick|stock price|strong buy|stuff on sale|subject to credit|supplies are limited|talks about hidden charges|talks about prizes|tells you it\'s an ad|wants credit card|we hate spam|we honor all|weekend getaway|what are you waiting for|while supplies last|you have been selected|your income|search engine optimisation|search engine optimization|\bseo\b|canada goose|jacket|\bugg boot\b|chemical allergic|brand new pager|buy direct|how are you|49ers|true love|cares me|cares? about me|my heart|best price|medical exam|medical fees?\b|medical bill|real estate|sales agent|game ?zone|gaming|games? online|online gam(e|ing)|online store|video game|world of warcraft|hotel|vacation|holiday|visited|voyage|personal injury|nonchalantly|this (page )?is a really good article|freeview|satellite tv|property|cash bonus|web hosting|interests|loves|racing|sale page|i like|i'm interested in|coin collecting|diet|web\s?cam", lcase(added_lines))  );
 
(SPAM70 := rcount("web design|online (biz|business)|link bait|autofill|big bucks|bulk email|home employment|laser printer|limited time only|lose weight|lower interest rates|lowest price|luxury car|message contains disclaimer|money back|money making|month trial offer|more internet traffic|mortgage rates|multi level marketing|mlm|name brand|new customers only|new domain extensions|physician|promise you|real thing|round the world|salary|salaries|sign up free today|social security number|terms and conditions|the best rates|the following form|they keep your money.*no refund\!|they\'re just giving it away|this isn\'t junk|this isn\'t spam|university diplomas|unsecured (credit|debt)|apply online|billing address|auto email removal|avoid bankruptcy|be your own boss|while you sleep|who really wins|why pay more|\bpurse|refinance home|will not believe your eyes|winner|winning|work at home|ink cartridge|bank account|grade\spoint\saverage|quote generat|financial loan|house insurance|home insurance|auto insurance|insurance agent|insurance estimate|won\'t tell you about|driving history|high risk drivers|coupon|voucher|promotion|epsom salt|music awards|miss you|best new|marriage|married|cheap rates|sell out|shipping|playoff|reveal|secret|digital SLR camera|medical insurance|health insurance|gamer|go crazy|cigarette|for sale|free classified|resort|beach-|looking for|paint|vacation offers|watching|collecting", lcase(added_lines)) );
 
(SPAM70 := rcount("web design|online (biz|business)|link bait|autofill|big bucks|bulk email|home employment|laser printer|limited time only|lose weight|lower interest rates|lowest price|luxury car|message contains disclaimer|money back|money making|month trial offer|more internet traffic|mortgage rates|multi level marketing|mlm|name brand|new customers only|new domain extensions|physician|promise you|real thing|round the world|salary|salaries|sign up free today|social security number|terms and conditions|the best rates|the following form|they keep your money.*no refund\!|they\'re just giving it away|this isn\'t junk|this isn\'t spam|university diplomas|unsecured (credit|debt)|apply online|billing address|auto email removal|avoid bankruptcy|be your own boss|while you sleep|who really wins|why pay more|\bpurse|refinance home|will not believe your eyes|winner|winning|work at home|ink cartridge|bank account|grade\spoint\saverage|quote generat|financial loan|house insurance|home insurance|auto insurance|insurance agent|insurance estimate|won\'t tell you about|driving history|high risk drivers|coupon|voucher|promotion|epsom salt|music awards|miss you|best new|marriage|married|cheap rates|sell out|shipping|playoff|reveal|secret|digital SLR camera|medical insurance|health insurance|gamer|go crazy|cigarette|for sale|free classified|resort|beach-|looking for|paint|vacation offers|watching|collecting", lcase(added_lines)) );
 
(SPAM60 := rcount("marketing|promotion|\branking|online (biz|business) opportunity|you must have|all natural|bonus|do it today|e-book|free website|get paid|as seen on|it\'s effective|mass email|no experience|no fees|see for yourself|stainless steel|urgent|\bprinter\b|handbag|free hosting|being a member|billion dollar|can\'t live without|ADHD|purchase|\bpill|\bperfume|refinance|cost saving|digital camera|insurer|underwriter|\bdj\b|madness|flash drives|you\'ll need|you need|smile|debt|debit|\bearns?\b|\bearning|annual salar|average salar|employment|\bjobs?\b|you should|power bill|surgery|sumptuous|alarm|price|\bgpa\b|candidiasis|candida|drug|our product|illness|energetic|energized|energised|remedy|remedies|infection|headset|pharmac|barbie|kredit|fashion", lcase(added_lines)) );
 
(SPAM60 := rcount("marketing|promotion|\branking|online (biz|business) opportunity|you must have|all natural|bonus|do it today|e-book|free website|get paid|as seen on|it\'s effective|mass email|no experience|no fees|see for yourself|stainless steel|urgent|\bprinter\b|handbag|free hosting|being a member|billion dollar|can\'t live without|ADHD|purchase|\bpill|\bperfume|refinance|cost saving|digital camera|insurer|underwriter|\bdj\b|madness|flash drives|you\'ll need|you need|smile|debt|debit|\bearns?\b|\bearning|annual salar|average salar|employment|\bjobs?\b|you should|power bill|surgery|sumptuous|alarm|price|\bgpa\b|candidiasis|candida|drug|our product|illness|energetic|energized|energised|remedy|remedies|infection|headset|pharmac|barbie|kredit|fashion", lcase(added_lines)) );
 
(SPAM_MAYBE_50 := rcount("\b4u\b|amazing|congratulations|consumers|financial freedom|member stuff|nigerian|market|not intended|off shore|scam|us dollar|disorder|blood pressure|heart problem|risk free|take action now|save up to|selling|search engine|saving|\bloans?\b|credit|budget|premium|battery|batteries|gadgets|iphone|ereader|e-reader|physique|emotions|professional|investment decision|no catch|no investment|opt in|technician|daily life|corporation|\bfirms?\b|ticket|value|\bfees?\b|gorgeous|amazing|camera|social media|music|quote|quotation|\bauto\b|hospital|\bshoes?\b|shoestore|boots?\b|games?\|entertain|lifestyle|performance|excelling|excel|stocks|really good article|luxur(y|i)|sumptuous|classified|solution|internet|years?[ -]old|online (biz|business)|trend(s|ing)?", lcase(added_lines)) );
 
(SPAM_MAYBE_50 := rcount("\b4u\b|amazing|congratulations|consumers|financial freedom|member stuff|nigerian|market|not intended|off shore|scam|us dollar|disorder|blood pressure|heart problem|risk free|take action now|save up to|selling|search engine|saving|\bloans?\b|credit|budget|premium|battery|batteries|gadgets|iphone|ereader|e-reader|physique|emotions|professional|investment decision|no catch|no investment|opt in|technician|daily life|corporation|\bfirms?\b|ticket|value|\bfees?\b|gorgeous|amazing|camera|social media|music|quote|quotation|\bauto\b|hospital|\bshoes?\b|shoestore|boots?\b|games?\|entertain|lifestyle|performance|excelling|excel|stocks|really good article|luxur(y|i)|sumptuous|classified|solution|internet|years?[ -]old|online (biz|business)|trend(s|ing)?", lcase(added_lines)) );
 
(SPAM_MAYBE_40 := rcount("google|bing|companies|company|business|specialist|Florida|online|opportunities|opportunity|medicines?|off shore|offshore|medicinal|profit|unlimited|sales|traffic|privacy|writer|blog|outrageous|fantastic|crisis|essential|website|\bsite|web page|webpage|homepage|home page|heart|love|evaluation|insurance|leads|leading|denim|usb|gps|android|tablet|laptop|mass storage|backup|back-up|blazing|internet|medical center|clinic\b|clinician|popular|the web|amusement|of all ages|electronic|economical|perform|knife|knives|quality", lcase(added_lines)) );
 
(SPAM_MAYBE_40 := rcount("google|bing|companies|company|business|specialist|Florida|online|opportunities|opportunity|medicines?|off shore|offshore|medicinal|profit|unlimited|sales|traffic|privacy|writer|blog|outrageous|fantastic|crisis|essential|website|\bsite|web page|webpage|homepage|home page|heart|love|evaluation|insurance|leads|leading|denim|usb|gps|android|tablet|laptop|mass storage|backup|back-up|blazing|internet|medical center|clinic\b|clinician|popular|the web|amusement|of all ages|electronic|economical|perform|knife|knives|quality", lcase(added_lines)) );
 
(SPAM_MAYBE_30 := rcount("strategic|tactical|guide|solutions", lcase(added_lines)) );
 
(SPAM_MAYBE_30 := rcount("strategic|tactical|guide|solutions", lcase(added_lines)) );
 
(SPAM_MAYBE_BASE:=  
 
(SPAM_MAYBE_BASE:=  
 
     + 4 * SPAM_MAYBE_50
 
     + 4 * SPAM_MAYBE_50
 
     + 3 * SPAM_MAYBE_40  
 
     + 3 * SPAM_MAYBE_40  
 
     + 2 * SPAM_MAYBE_30);
 
     + 2 * SPAM_MAYBE_30);
 
(SPAM_MAYBE:=  
 
(SPAM_MAYBE:=  
 
       SPAM_MAYBE_BASE*(SPAM_MAYBE_BASE <12)
 
       SPAM_MAYBE_BASE*(SPAM_MAYBE_BASE <12)
 
     + 12*(SPAM_MAYBE_BASE>=12)    );
 
     + 12*(SPAM_MAYBE_BASE>=12)    );
 
      
 
      
 
(SUSPICIOUS_SYMBOLS:=rcount("ω", lcase(added_lines)) );
 
(SUSPICIOUS_SYMBOLS:=rcount("ω", lcase(added_lines)) );
  
 
(NON_ENGLISH_TEXT := rcount("(wesele|\bpl\b|klientów|gwarantuje)", lcase(added_lines)) + 0.5*rcount("(ów)", lcase(added_lines)) );
 
(NON_ENGLISH_TEXT := rcount("(wesele|\bpl\b|klientów|gwarantuje)", lcase(added_lines)) + 0.5*rcount("(ów)", lcase(added_lines)) );
  
 
(COURSE_CODE_IN_PAGE := rcount("\b(ENGR|JMC|PSC)\d\d\d|\b(MY|EE|CE)\d\d\d\d|inprogress\|", new_wikitext) );
 
(COURSE_CODE_IN_PAGE := rcount("\b(ENGR|JMC|PSC)\d\d\d|\b(MY|EE|CE)\d\d\d\d|inprogress\|", new_wikitext) );
 
(MENTION_APPROPEDIAN := rcount("lonny grafman|curt beckmann|chris watkins|andrew lamb", lcase(added_lines)) );
 
(MENTION_APPROPEDIAN := rcount("lonny grafman|curt beckmann|chris watkins|andrew lamb", lcase(added_lines)) );
 
(EXEMPT_PAGES := article_text regex "(Robotics)"    );
 
(EXEMPT_PAGES := article_text regex "(Robotics)"    );
 
(EXEMPT_USERNAMES := user_name=="Hrhr" ) ;
 
(EXEMPT_USERNAMES := user_name=="Hrhr" ) ;
 
(HEADERS:=  
 
(HEADERS:=  
 
       lcase(added_lines) regex "\=\=[^\=\n]+\=\="
 
       lcase(added_lines) regex "\=\=[^\=\n]+\=\="
 
     + (rcount("\=\=[^\=\n]+\=\=",lcase(added_lines) )>=2 ) );
 
     + (rcount("\=\=[^\=\n]+\=\=",lcase(added_lines) )>=2 ) );
 
( GOOD_KARMA:=
 
( GOOD_KARMA:=
 
     +1000 * MENTION_APPROPEDIAN  
 
     +1000 * MENTION_APPROPEDIAN  
 
     +1000 * COURSE_CODE_IN_PAGE  
 
     +1000 * COURSE_CODE_IN_PAGE  
 
     + 5 * HEADERS
 
     + 5 * HEADERS
 
     +100*rcount("\bhsu\b|appropriate tech|\bmtu\.edu|permaculture", lcase(new_wikitext))
 
     +100*rcount("\bhsu\b|appropriate tech|\bmtu\.edu|permaculture", lcase(new_wikitext))
     +100 * ( "{{" in added_lines + "humboldt" in lcase(added_lines) + "northern california" in lcase(added_lines) + "service learning" in added_lines + "[[category:" in lcase(added_lines) )
+
     +15* ( "{{" in added_lines + "[[category:" in lcase(added_lines) + "northern california" in lcase(added_lines) )
 +
    +100 * ( "humboldt" in lcase(added_lines) + "Michigan Technological University" in added_lines + "service learning" in added_lines )
  
 
     +4 * ("solar thermal" in lcase(added_lines) + "international development" in lcase(added_lines) )
 
     +4 * ("solar thermal" in lcase(added_lines) + "international development" in lcase(added_lines) )
  
 
     +2*"soil" in lcase(added_lines) - 2*"farming" in lcase(added_lines)  
 
     +2*"soil" in lcase(added_lines) - 2*"farming" in lcase(added_lines)  
 
     );
 
     );
  
 
4* (BRAND_NEW|VERY_YOUNG)
 
4* (BRAND_NEW|VERY_YOUNG)
  
 
+ (1 + 0.1 * IN_MAINSPACE + 2 * IN_ORIGINALSPACE)
 
+ (1 + 0.1 * IN_MAINSPACE + 2 * IN_ORIGINALSPACE)
  
 
   * ( + NEW_PAGE * (SPAMMY_TITLE + TITLE_CAPS + 8*YEAR_STRING_TITLE_ENDING    +20* SUFFIX_5_DIGIT)
 
   * ( + NEW_PAGE * (SPAMMY_TITLE + TITLE_CAPS + 8*YEAR_STRING_TITLE_ENDING    +20* SUFFIX_5_DIGIT)
  
 
     + 1000 * SPAM_MAX
 
     + 1000 * SPAM_MAX
  
 
     + DODGY_USERSPACE
 
     + DODGY_USERSPACE
  
 
     + 30* SPAM100
 
     + 30* SPAM100
 
     + 10* SPAM80
 
     + 10* SPAM80
 
     + 8 * SPAM70
 
     + 8 * SPAM70
 
     + 6 * SPAM60  
 
     + 6 * SPAM60  
 
     + SPAM_MAYBE
 
     + SPAM_MAYBE
  
 
     + 14 * NON_ENGLISH_TEXT
 
     + 14 * NON_ENGLISH_TEXT
 
     + 3  * SUSPICIOUS_SYMBOLS
 
     + 3  * SUSPICIOUS_SYMBOLS
 
 
 
     +3*rcount("\bjual(an)? sepatu\b", lcase(added_lines))
 
     +3*rcount("\bjual(an)? sepatu\b", lcase(added_lines))
 
     +2*rcount("\bjual\b|sepatu\b", lcase(added_lines))
 
     +2*rcount("\bjual\b|sepatu\b", lcase(added_lines))
 
     )
 
     )
  
 
+ 10*(NEW_PAGE==true)
 
+ 10*(NEW_PAGE==true)
  
 
+ 10*(rcount("http://[^\s\n\r]+frutaplanta", added_lines) >= 1)  
 
+ 10*(rcount("http://[^\s\n\r]+frutaplanta", added_lines) >= 1)  
 
+ 6*(rcount("http://[^\s\n\r]+diet", added_lines) >= 1)  
 
+ 6*(rcount("http://[^\s\n\r]+diet", added_lines) >= 1)  
  
 
+ 1.5*(rcount("[^\n\r]{10,}\[http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 1)  
 
+ 1.5*(rcount("[^\n\r]{10,}\[http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 1)  
 
+ 1.5*(rcount("[^\n\r]{10,}\[http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 2)  
 
+ 1.5*(rcount("[^\n\r]{10,}\[http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 2)  
 
+ 1.5*(rcount("[^\n\r]{10,}\[http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 3)  
 
+ 1.5*(rcount("[^\n\r]{10,}\[http://[^\s\n\r]+\.(com([a-zA-Z]{2,})?|co.[a-zA-Z]{2,})", added_lines) >= 3)  
 
+ 3* COMMERCIAL_LINKS
 
+ 3* COMMERCIAL_LINKS
 
+ 3* SUSPICIOUS_TLD
 
+ 3* SUSPICIOUS_TLD
 
+ SPAMMY_USER_OR_USER_TALK_PAGE
 
+ SPAMMY_USER_OR_USER_TALK_PAGE
 
+ 2* CONTAINS_BREAK_TAGS
 
+ 2* CONTAINS_BREAK_TAGS
  
 
-GOOD_KARMA
 
-GOOD_KARMA
 
-100*(EXEMPT_PAGES + EXEMPT_USERNAMES)
 
-100*(EXEMPT_PAGES + EXEMPT_USERNAMES)
 
>=28
 
>=28