Результат MediaWiki API
Это HTML-представление формата JSON. HTML хорош для отладки, но неудобен для практического применения.
Укажите параметр format для изменения формата вывода. Для отображения не-HTML-представления формата JSON, присвойте format=json.
См. полную документацию или справку API для получения дополнительной информации.
{
"batchcomplete": "",
"query": {
"general": {
"mainpage": "\u0417\u0430\u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",
"base": "http://wiki.adt.ru/w/index.php/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0",
"sitename": "Wiki from ADT Web Solutions",
"logo": "http://wiki.adt.ru/w/resources/assets/adt.svg",
"generator": "MediaWiki 1.35.0",
"phpversion": "7.4.3",
"phpsapi": "apache2handler",
"dbtype": "mysql",
"dbversion": "10.1.44-MariaDB-0+deb9u1",
"langconversion": "",
"titleconversion": "",
"linkprefixcharset": "",
"linkprefix": "",
"linktrail": "/^([a-z\u0430\u0431\u0432\u0433\u0434\u0435\u0451\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f]+)(.*)$/sDu",
"legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
"invalidusernamechars": "@:",
"fixarabicunicode": "",
"fixmalayalamunicode": "",
"case": "first-letter",
"lang": "ru",
"fallback": [
{
"code": "en"
}
],
"fallback8bitEncoding": "windows-1251",
"writeapi": "",
"maxarticlesize": 2097152,
"timezone": "Europe/Moscow",
"timeoffset": 180,
"articlepath": "/w/index.php/$1",
"scriptpath": "/w",
"script": "/w/index.php",
"variantarticlepath": false,
"server": "http://wiki.adt.ru",
"servername": "wiki.adt.ru",
"wikiid": "wiki",
"time": "2024-11-14T17:20:33Z",
"uploadsenabled": "",
"maxuploadsize": 104857600,
"minuploadchunksize": 1024,
"galleryoptions": {
"imagesPerRow": 0,
"imageWidth": 120,
"imageHeight": 120,
"captionLength": "",
"showBytes": "",
"showDimensions": "",
"mode": "traditional"
},
"thumblimits": [
120,
150,
180,
200,
250,
300
],
"imagelimits": [
{
"width": 320,
"height": 240
},
{
"width": 640,
"height": 480
},
{
"width": 800,
"height": 600
},
{
"width": 1024,
"height": 768
},
{
"width": 1280,
"height": 1024
}
],
"favicon": "http://wiki.adt.ru/favicon.ico",
"centralidlookupprovider": "local",
"allcentralidlookupproviders": [
"local"
],
"interwikimagic": "",
"magiclinks": [],
"categorycollation": "uppercase"
},
"namespaces": {
"-2": {
"id": -2,
"case": "first-letter",
"canonical": "Media",
"*": "\u041c\u0435\u0434\u0438\u0430"
},
"-1": {
"id": -1,
"case": "first-letter",
"canonical": "Special",
"*": "\u0421\u043b\u0443\u0436\u0435\u0431\u043d\u0430\u044f"
},
"0": {
"id": 0,
"case": "first-letter",
"content": "",
"*": ""
},
"1": {
"id": 1,
"case": "first-letter",
"subpages": "",
"canonical": "Talk",
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435"
},
"2": {
"id": 2,
"case": "first-letter",
"subpages": "",
"canonical": "User",
"*": "\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a"
},
"3": {
"id": 3,
"case": "first-letter",
"subpages": "",
"canonical": "User talk",
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430"
},
"4": {
"id": 4,
"case": "first-letter",
"subpages": "",
"canonical": "Project",
"*": "Wiki from ADT Web Solutions"
},
"5": {
"id": 5,
"case": "first-letter",
"subpages": "",
"canonical": "Project talk",
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 Wiki from ADT Web Solutions"
},
"6": {
"id": 6,
"case": "first-letter",
"canonical": "File",
"*": "\u0424\u0430\u0439\u043b"
},
"7": {
"id": 7,
"case": "first-letter",
"subpages": "",
"canonical": "File talk",
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430"
},
"8": {
"id": 8,
"case": "first-letter",
"subpages": "",
"canonical": "MediaWiki",
"namespaceprotection": "editinterface",
"*": "MediaWiki"
},
"9": {
"id": 9,
"case": "first-letter",
"subpages": "",
"canonical": "MediaWiki talk",
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 MediaWiki"
},
"10": {
"id": 10,
"case": "first-letter",
"subpages": "",
"canonical": "Template",
"*": "\u0428\u0430\u0431\u043b\u043e\u043d"
},
"11": {
"id": 11,
"case": "first-letter",
"subpages": "",
"canonical": "Template talk",
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430"
},
"12": {
"id": 12,
"case": "first-letter",
"subpages": "",
"canonical": "Help",
"*": "\u0421\u043f\u0440\u0430\u0432\u043a\u0430"
},
"13": {
"id": 13,
"case": "first-letter",
"subpages": "",
"canonical": "Help talk",
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u043f\u0440\u0430\u0432\u043a\u0438"
},
"14": {
"id": 14,
"case": "first-letter",
"canonical": "Category",
"*": "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f"
},
"15": {
"id": 15,
"case": "first-letter",
"subpages": "",
"canonical": "Category talk",
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438"
}
},
"namespacealiases": [
{
"id": 2,
"*": "\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u0446\u0430"
},
{
"id": 3,
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u0446\u044b"
},
{
"id": 6,
"*": "Image"
},
{
"id": 6,
"*": "\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435"
},
{
"id": 7,
"*": "Image talk"
},
{
"id": 7,
"*": "\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"
}
],
"statistics": {
"pages": 401,
"articles": 13,
"edits": 729,
"images": 48,
"users": 66,
"activeusers": 0,
"admins": 1,
"jobs": 0
}
}
}