תוצאה של API של מדיה־ויקי

זהו ייצוג ב־HTML של תסדיר JSON. תסדיר HTML טוב לתיקון שגיאות, אבל אינו מתאים ליישומים.

יש לציין את הפרמטר format כדי לשנות את תסדיר הפלט. כדי לראות ייצוג של תסדיר JSON לא ב־HTML יש להגדיר format=json.

ר' את התיעוד המלא, או את העזרה של API למידע נוסף.

{
    "batchcomplete": "",
    "query": {
        "general": {
            "mainpage": "\u05e2\u05de\u05d5\u05d3 \u05e8\u05d0\u05e9\u05d9",
            "base": "https://japangeo.org.il/index.php/%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99",
            "sitename": "MediaWiki",
            "logo": "https://japangeo.org.il/resources/assets/wiki.png",
            "generator": "MediaWiki 1.33.1",
            "phpversion": "7.2.24-0ubuntu0.18.04.7",
            "phpsapi": "fpm-fcgi",
            "dbtype": "mysql",
            "dbversion": "5.7.33-0ubuntu0.18.04.1",
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^([a-z\u05d0-\u05ea]+)(.*)$/sDu",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:",
            "fixarabicunicode": "",
            "fixmalayalamunicode": "",
            "case": "first-letter",
            "lang": "he",
            "fallback": [
                {
                    "code": "en"
                }
            ],
            "rtl": "",
            "fallback8bitEncoding": "windows-1255",
            "writeapi": "",
            "maxarticlesize": 2097152,
            "timezone": "Asia/Jerusalem",
            "timeoffset": 180,
            "articlepath": "/index.php/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "https://japangeo.org.il",
            "servername": "japangeo.org.il",
            "wikiid": "wikidb",
            "time": "2024-05-05T01:36:17Z",
            "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": "https://japangeo.org.il/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": [],
            "categorycollation": "uppercase"
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "\u05de\u05d3\u05d9\u05d4"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "canonical": "Special",
                "*": "\u05de\u05d9\u05d5\u05d7\u05d3"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Talk",
                "*": "\u05e9\u05d9\u05d7\u05d4"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User",
                "*": "\u05de\u05e9\u05ea\u05de\u05e9"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User talk",
                "*": "\u05e9\u05d9\u05d7\u05ea \u05de\u05e9\u05ea\u05de\u05e9"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project",
                "*": "Project"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "\u05e9\u05d9\u05d7\u05ea Project"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "\u05e7\u05d5\u05d1\u05e5"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "subpages": "",
                "canonical": "File talk",
                "*": "\u05e9\u05d9\u05d7\u05ea \u05e7\u05d5\u05d1\u05e5"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki",
                "*": "\u05de\u05d3\u05d9\u05d4 \u05d5\u05d9\u05e7\u05d9"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki talk",
                "*": "\u05e9\u05d9\u05d7\u05ea \u05de\u05d3\u05d9\u05d4 \u05d5\u05d9\u05e7\u05d9"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template",
                "*": "\u05ea\u05d1\u05e0\u05d9\u05ea"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template talk",
                "*": "\u05e9\u05d9\u05d7\u05ea \u05ea\u05d1\u05e0\u05d9\u05ea"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help",
                "*": "\u05e2\u05d6\u05e8\u05d4"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help talk",
                "*": "\u05e9\u05d9\u05d7\u05ea \u05e2\u05d6\u05e8\u05d4"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Category talk",
                "*": "\u05e9\u05d9\u05d7\u05ea \u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4"
            }
        },
        "namespacealiases": [
            {
                "id": 2,
                "*": "\u05de\u05e9\u05ea\u05de\u05e9\u05ea"
            },
            {
                "id": 3,
                "*": "\u05e9\u05d9\u05d7\u05ea \u05de\u05e9\u05ea\u05de\u05e9\u05ea"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 6,
                "*": "\u05ea\u05de\u05d5\u05e0\u05d4"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 7,
                "*": "\u05e9\u05d9\u05d7\u05ea \u05ea\u05de\u05d5\u05e0\u05d4"
            }
        ],
        "statistics": {
            "pages": 1305,
            "articles": 77,
            "edits": 2764,
            "images": 1193,
            "users": 14,
            "activeusers": 0,
            "admins": 5,
            "jobs": 0
        }
    }
}