MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "abusefilters": [
            {
                "id": 1,
                "description": "Large deletion from article by new editors",
                "pattern": "edit_delta < -5000 &\r\nnew_size >= 50 &\r\npage_namespace == 0 &\r\n!(\"confirmed\" in user_groups) & \r\nlength(summary) < 60 &\r\n!(user_name in page_recent_contributors) & \r\n!(\"#redirect\" in lcase(added_lines)) &\r\n!(summary irlike \"\\bcop(y|ied)|und(id|o)|\\brv[vt]?\\b|revert|vandal|remov|clean|delet|\\brmv?\\b|\\brepea?t\") &\r\nrcount(\"\\n[|!<]\",removed_lines) / (rcount(\"\\n\",removed_lines) + 1) < 0.9 &\r\nlength(rmwhitespace(added_lines)) < 3000"
            },
            {
                "id": 2,
                "description": "Common vandal phrases",
                "pattern": "user_editcount < 22 &\r\n!(user_groups rlike \"\\bconfirmed\") &\r\nedit_delta < 3000 & (\r\n    regexstring:= \"\\b(MAS+IVE|ENORMUS|HUMO+NGO?US|HUGE|TINY|SUCK(ED|ING|S)?|MY|MAH|HIS) ((KAW|CO)[CK]+|DICK|PRICK|BAL+S|[A@][S$Z][S$Z]+)\\b|WIKIPEDIA (BLOW|SUCK)|(DICK|COCK) IN( THE)? (ASS+|BU[TM]+|MOUTH)|\\b(ASS+|BU(TT+|M+))[- ]?(R(APE|AEP)|(PH|F)UCK)|ASS+[ \\-]HAT\\b|OH ?SHI-|AUSFAILIA|HAHAHAHA|HUE HUE HUE|HUEHUEHUE|\u2584\u2584\u2588\u2580\u2580|I LIKE (PIE|CHEESE)|\\bMY SEMEN|BUTTPEE|YAMAL AO2|NJOTRANS|GENERISK|ION (DETOXIFY|CLEANSE)|DETOX FOOT SPA|NATIO(N|NAL) DEBT RELIEF|YOUR ANONYMOUS VPN|LSGLASSES\\.COM|MEEBO BAR WAS LAUNCHED|FUCKING KILL|SHAVED MY BALLS|CAT EYES 2OO7|CORY JUDE|CLEM WASHINGTON|THE BROTHER ZEN|SHREK IS LOVE|STUPID BITCH|U MAD BRO|YOLOSWAG|NIGGA\\W|\\bNIGGER|CENSORS THE TRUTH|NIGGAH|PORNSTAR|GNAA\\b|EA8O7778EAG|9GSOO7EGS8|I[- ]?8(OO[- ]?(98G[- ]?AS2O|87O[- ]?7AI2)|77[- ]?929[- ]?EE7E)|DIFF=82(SI88EG8|GII9SGO)\\b|OLDID=82(SSE78OE|GII9A82)\\b|USER:BONADEA_AND_USER:FAVONIAN_ARE_SOCKS|RICHARD MADENFORT|RICK MARTY|REGGIE BRADLEY|FALCIFICATION fake document exposed FADRICATED|78ESOAIEOI|[FV]UERD|DREU[FV]|\\bROYER\\d|CRUI?Z[IE]?[DR]|DISUSEKID}|HPHELPNUMBER|\\bPE[MN]JS|CRUI[SZ]IR|TASLIMSON|\\bLIGMA\\b\";\r\n\r\n    ccnorm(added_lines) rlike regexstring &\r\n    !(ccnorm(removed_lines + page_title) rlike regexstring) &\r\n    !(lcase(new_wikitext) rlike \"category:.*(bands|musical groups|albums|songs)\") &\r\n    !(count('\"', added_lines) > count('\"', removed_lines)) & \r\n    page_id != 26204397 & /** [[WP:EF/FP]] **/\r\n    !(contains_any ( lcase(page_title), \"slur\", user_name, \"sandbox\" ) )\r\n)"
            },
            {
                "id": 3,
                "description": "Replacing a page with obscenities",
                "pattern": "user_editcount < 30 & (\r\n   (\r\n      new_size < 300 &\r\n      old_size > 300\r\n   ) |\r\n   edit_delta < -5000\r\n ) & \r\n (\r\n  !added_lines irlike \"^#Redirect\\s*\\[\\[\" &\r\n  !contains_any ( page_title, \"Sockpuppet investigations\", user_name, \"Sandbox\" ) & (\r\n    bad_words := \"\\b(?:(?:P+H+|F)+U+C+K+[\\w\\d]*?|AN+U+S|CR+A+P|SH+I+T|[KC]+U+N+T|NI+GG+(E+R|A)|(ASS+|BU+(T+|M+))[ \\-]*(H+O+L+E|S+E+X|R+A+P+E)|(CO|KA+W+)[CK]|LOO+[SZ]+E+R|BI+T+C+H|PE+N+I+S|WA+N+K+E+R|SP+U+R+T|MA+S+T+U+R+B+A+T+I+O+N|HA+GG+E+R|HERMAPHRO|JESKE COURLANO|(?:PH+|F)A+G+O+T|KINGPINIE|ORLY)\\b\";\r\n\r\n    ccnorm(added_lines) rlike bad_words &\r\n    !ccnorm(removed_lines) rlike bad_words\r\n  )\r\n)"
            },
            {
                "id": 4,
                "description": "Section Blanking",
                "pattern": "!\"standuser\" in user_groups &\r\nlength(added_lines) < 1 &\r\npage_namespace == 0 &\r\n(\r\n  (\r\n    rmwhitespace(removed_lines) rlike \"==\\w+==\" &\r\n    (\r\n      rmwhitespace(old_wikitext) contains rmwhitespace(removed_lines + \"==\") &\r\n      ! rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + \"==\")            \r\n    )\r\n  ) | \r\n  (\r\n    rmwhitespace(old_wikitext) contains rmwhitespace(\"==\" + removed_lines + \"==\") &\r\n    ! rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + \"==\")\r\n  )\r\n)"
            },
            {
                "id": 5,
                "description": "Removal of all categories",
                "pattern": "page_namespace == 0 &\r\nedit_delta > -2000 &\r\nremoved_lines irlike \"\\[\\[\\w?category\" &\r\n!( new_wikitext irlike \"\\[\\[\\w?category|#\\w?redirect|stub\\w?}}|{{\\w?uncat|{{\\w?db-attack|{{\\w?db-g10|{{\\w?disamb|{{\\w?dab|{{\\w?wi\" )"
            },
            {
                "id": 6,
                "description": "Large deletion from article",
                "pattern": "edit_delta < -5000 &\r\nnew_size >= 50 &\r\npage_namespace == 0 &\r\n!(\"standuser\" in user_groups) & \r\nlength(summary) < 60 &\r\n!(user_name in page_recent_contributors) & \r\n!(\"#redirect\" in lcase(added_lines)) &\r\n!(summary irlike \"\\bcop(y|ied)|und(id|o)|\\brv[vt]?\\b|revert|vandal|remov|clean|delet|\\brmv?\\b|\\brepea?t\") &\r\nrcount(\"\\n[|!<]\",removed_lines) / (rcount(\"\\n\",removed_lines) + 1) < 0.9 &\r\nlength(rmwhitespace(added_lines)) < 3000"
            },
            {
                "id": 7,
                "description": "New user removing references",
                "pattern": "!(\"confirmed\" in user_groups) &\r\npage_namespace == 0 &\r\n/* narrow down edits to just those dealing with references */\r\nremoved_lines contains \"<ref\" &\r\n/* this edit_delta ignores large blankings treated by another filter */\r\nedit_delta >= -3000 &\r\n/* No added lines usually means a blanking which is dealt with by other filters */\r\nlength(added_lines) != 0 &\r\n!(\"#redirect\" in lcase(added_lines)) & (\r\n    (\r\n        /* More opening ref tags are removed than added */\r\n        rcount(\"(<ref\\b)\", removed_lines) > rcount(\"(<ref\\b)\", added_lines)\r\n    ) | /* OR */ (\r\n        /* More closing ref tags are removed than added */\r\n        rcount(\"(<ref\\b[^>]*\\>)\", removed_lines) > rcount(\"(<ref\\b[^>]*\\>)\", added_lines)\r\n    )\r\n) &\r\n/* Exclude removal of references to Wikipedia */\r\ncount(\"//en.wikipedia.org\", removed_lines) <= count(\"//en.wikipedia.org\", added_lines) &\r\n/* If  removed empty ref, probs OK */\r\ncount(\"<ref></ref>\", removed_lines) <= count(\"<ref></ref>\", added_lines) &\r\n/* ignore conversion between <ref> and </ref> */\r\nrcount(\"</?ref>\", removed_lines) > rcount(\"</?ref>\", added_lines) &\r\n/* if they removed a probable comment with ref tag then its probs OK */\r\nrcount(\"<!--.*</?ref>.*-->\", removed_lines) <= rcount(\"<!--.*</?ref>.*-->\", added_lines)"
            },
            {
                "id": 8,
                "description": "Prevent vandalism (added Fandom link)"
            },
            {
                "id": 9,
                "description": "Prevent new user from adding categories to user page",
                "pattern": "(article_namespace == 2) &\r\n(user_name == article_text) &\r\n(user_editcount < 50) &\r\n(added_lines rlike \"\\\\[\\\\[Category:\")"
            }
        ]
    }
}