MediaWiki-API-Ergebnis

Dies ist die HTML-Repräsentation des JSON-Formats. HTML ist zur Fehlerbehebung gut, aber unpassend für den Anwendungsgebrauch.

Gib den Parameter format an, um das Ausgabeformat zu ändern. Um die Nicht-HTML-Repräsentation des JSON-Formats anzusehen, lege format=json fest.

Siehe die vollständige Dokumentation oder die API-Hilfe für weitere Informationen.

{
    "batchcomplete": "",
    "query": {
        "abusefilters": [
            {
                "id": 1,
                "description": "Spam Keywords"
            },
            {
                "id": 2,
                "description": "Large deletion from article by new editors",
                "pattern": "action = 'edit'\r\n& user_editcount < 20\r\n& ((edit_delta <= -2500)|(old_size >=1500 &  new_size<=200))"
            },
            {
                "id": 3,
                "description": "Youtube links",
                "pattern": "\"user\" in user_groups & (\r\n    user_age < 600 & (\r\n        (\r\n            added_lines contains \"youtube.com\" &\r\n            !(removed_lines contains \"youtube.com\")\r\n        )\r\n        |\r\n        (\r\n            added_lines contains \"youtu.be\" &\r\n            !(removed_lines contains \"youtu.be\")\r\n        )\r\n    )\r\n)"
            },
            {
                "id": 4,
                "description": "Adding external images/links"
            },
            {
                "id": 5,
                "description": "Long string of characters containing no spaces",
                "pattern": "!\"autoconfirmed\" in user_groups & (\r\n  article_namespace == 0 & (\r\n    added_lines rlike \"[a-zA-Z0-9]{50,}\" & (\r\n      !(removed_lines rlike \"[a-zA-Z0-9]{50,}\") & (\r\n        !(added_lines rlike \"https?://[^ ]*?[a-zA-Z0-9]{50,}\") &\r\n        !(added_lines rlike \"word|thumb|file|sequence\")\r\n      )\r\n    )\r\n  )\r\n)"
            },
            {
                "id": 6,
                "description": "You/He/She/It sucks",
                "pattern": "! \"autoconfirmed\" in USER_GROUPS & ( \r\n  article_namespace == 0 & (   \r\n    you_suck :=\"\\b((yo)?u( ?all)?|(s?h|w)e|they|it?|y'?al+) suc?k\";\r\n    added_lines irlike you_suck & (\r\n      ! removed_lines irlike you_suck\r\n    )\r\n  )\r\n)"
            },
            {
                "id": 7,
                "description": "Users can't edit other people's userpages",
                "pattern": "!(\"sysop\" in user_groups)\r\n& !(\"Managers\" in user_groups)\r\n& (article_namespace == 2)\r\n& !(user_name in article_text)"
            },
            {
                "id": 8,
                "description": "Mass edit by new user"
            },
            {
                "id": 9,
                "description": "Prohibited Characters in Account Name"
            }
        ]
    }
}