Результат MediaWiki API
Это HTML-представление формата JSON. HTML хорош для отладки, но неудобен для практического применения.
Укажите параметр format для изменения формата вывода. Для отображения не-HTML-представления формата JSON, присвойте format=json.
См. полную документацию или справку API для получения дополнительной информации.
{
"batchcomplete": "",
"query": {
"abusefilters": [
{
"id": 1,
"description": "Users can't edit other people's user pages",
"pattern": "!(\"sysop\" in user_groups)\r\n& (article_namespace == 2)\r\n& !(user_name in article_text)"
},
{
"id": 2,
"description": "Spam Keywords"
},
{
"id": 3,
"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": 4,
"description": "Adding external links"
},
{
"id": 5,
"description": "Large deletion from article by new users"
},
{
"id": 6,
"description": "Mass edit by new user"
},
{
"id": 7,
"description": "Prohibited characters in account name"
},
{
"id": 8,
"description": "Unacceptable page name"
},
{
"id": 9,
"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": 10,
"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)"
}
]
}
}