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

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

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

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

{
    "batchcomplete": "",
    "query": {
        "general": {
            "mainpage": "\u05e2\u05de\u05d5\u05d3 \u05e8\u05d0\u05e9\u05d9",
            "base": "http://www.wiki.library.org.il/index.php?title=%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99",
            "sitename": "\u05d0\u05d2\u05e8\u05d5\u05df - \u05d5\u05d5\u05d9\u05e7\u05d9\u05e4\u05d3\u05d9\u05d4",
            "logo": "http://www.wiki.library.org.il/resources/assets/wiki.png",
            "generator": "MediaWiki 1.29.0",
            "phpversion": "7.3.33",
            "phpsapi": "cgi-fcgi",
            "dbtype": "mysql",
            "dbversion": "10.3.39-MariaDB",
            "imagewhitelistenabled": "",
            "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": 120,
            "articlepath": "/index.php?title=$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "http://www.wiki.library.org.il",
            "servername": "www.wiki.library.org.il",
            "wikiid": "library_wikidb",
            "time": "2024-12-04T19:16:40Z",
            "maxuploadsize": 104857600,
            "minuploadchunksize": 1024,
            "galleryoptions": {
                "imagesPerRow": 0,
                "imageWidth": 120,
                "imageHeight": 120,
                "captionLength": "",
                "showBytes": "",
                "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://www.wiki.library.org.il/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": []
        },
        "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",
                "*": "\u05d0\u05d2\u05e8\u05d5\u05df - \u05d5\u05d5\u05d9\u05e7\u05d9\u05e4\u05d3\u05d9\u05d4"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "\u05e9\u05d9\u05d7\u05ea \u05d0\u05d2\u05e8\u05d5\u05df - \u05d5\u05d5\u05d9\u05e7\u05d9\u05e4\u05d3\u05d9\u05d4"
            },
            "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": 3590,
            "articles": 36,
            "edits": 6553,
            "images": 69,
            "users": 96262,
            "activeusers": 3,
            "admins": 1,
            "jobs": 0
        }
    }
}