MediaWiki-API-resultat

Dette er HTML-representasjonen av formatet JSON. HTML er bra for feilsøking, men ikke passende for bruk i applikasjoner.

Angi parameteren format for å endre utdataformatet. For å se ikke-HTML-representasjonen av formatet JSON, sett format=json.

Se den fullstendige dokumentasjonen eller API-hjelpesiden for mer informasjon.

{
    "batchcomplete": "",
    "query": {
        "general": {
            "mainpage": "Lokalhistoriewiki:Hovedside",
            "base": "https://lokalhistoriewiki.no/wiki/Lokalhistoriewiki:Hovedside",
            "sitename": "lokalhistoriewiki.no",
            "logo": "https://lokalhistoriewiki.no/images/Lokalhistoriwikilogo_4_135.png",
            "generator": "MediaWiki 1.39.4",
            "phpversion": "8.1.27",
            "phpsapi": "fpm-fcgi",
            "dbtype": "mysql",
            "dbversion": "10.5.16-MariaDB",
            "externalimages": [
                "http://lokalhistorie.no/",
                "http://www.lokalhistorie.no/",
                "https://lokalhistorie.no/",
                "https://www.lokalhistorie.no/"
            ],
            "langconversion": "",
            "linkconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^([\u00e6\u00f8\u00e5a-z]+)(.*)$/sDu",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:>",
            "fixarabicunicode": "",
            "fixmalayalamunicode": "",
            "git-hash": "e68e6e5fc44f9c6cfcf0a2f7b30821a50cb3210d",
            "git-branch": "master",
            "case": "first-letter",
            "lang": "nb",
            "fallback": [
                {
                    "code": "no"
                },
                {
                    "code": "nn"
                },
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-1252",
            "writeapi": "",
            "maxarticlesize": 2097152,
            "timezone": "UTC",
            "timeoffset": 0,
            "articlepath": "/wiki/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "https://lokalhistoriewiki.no",
            "servername": "lokalhistoriewiki.no",
            "wikiid": "mediawiki-mw_",
            "time": "2024-05-18T01:50:12Z",
            "uploadsenabled": "",
            "maxuploadsize": 524288000,
            "minuploadchunksize": 1024,
            "galleryoptions": {
                "imagesPerRow": 0,
                "imageWidth": 200,
                "imageHeight": 200,
                "captionLength": 9999,
                "showBytes": "",
                "mode": "traditional",
                "showDimensions": ""
            },
            "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
                },
                {
                    "width": 2560,
                    "height": 2048
                }
            ],
            "favicon": "https://lokalhistoriewiki.no/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": [],
            "categorycollation": "uppercase",
            "nofollowlinks": "",
            "nofollownsexceptions": [],
            "nofollowdomainexceptions": [
                "mediawiki.org"
            ],
            "mobileserver": "https://lokalhistoriewiki.no",
            "linter": {
                "high": [
                    "deletable-table-tag",
                    "html5-misnesting",
                    "misc-tidy-replacement-issues",
                    "multiline-html-table-in-list",
                    "multiple-unclosed-formatting-tags",
                    "pwrap-bug-workaround",
                    "self-closed-tag",
                    "tidy-font-bug",
                    "tidy-whitespace-bug",
                    "unclosed-quotes-in-heading"
                ],
                "medium": [
                    "bogus-image-options",
                    "fostered",
                    "misnested-tag",
                    "multi-colon-escape",
                    "wikilink-in-extlink"
                ],
                "low": [
                    "missing-end-tag",
                    "obsolete-tag",
                    "stripped-tag"
                ]
            },
            "citeresponsivereferences": ""
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "Medium"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "canonical": "Special",
                "*": "Spesial"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "canonical": "Talk",
                "*": "Samtale"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "canonical": "User",
                "*": "Bruker"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "canonical": "User talk",
                "*": "Brukersamtale"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project",
                "*": "Lokalhistoriewiki"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "canonical": "Project talk",
                "*": "Lokalhistoriewiki-samtale"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "Fil"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "canonical": "File talk",
                "*": "Filsamtale"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "canonical": "MediaWiki",
                "namespaceprotection": "editinterface",
                "*": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "canonical": "MediaWiki talk",
                "*": "MediaWiki-samtale"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template",
                "*": "Mal"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "canonical": "Template talk",
                "*": "Malsamtale"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "canonical": "Help",
                "*": "Hjelp"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "canonical": "Help talk",
                "*": "Hjelpesamtale"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "Kategori"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "canonical": "Category talk",
                "*": "Kategorisamtale"
            },
            "94": {
                "id": 94,
                "case": "first-letter",
                "canonical": "Kjeldearkiv",
                "*": "Kjeldearkiv"
            },
            "95": {
                "id": 95,
                "case": "first-letter",
                "canonical": "Kjeldearkivssamtale",
                "*": "Kjeldearkivssamtale"
            },
            "98": {
                "id": 98,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Forside",
                "*": "Forside"
            },
            "99": {
                "id": 99,
                "case": "first-letter",
                "canonical": "Forsidesamtale",
                "*": "Forsidesamtale"
            },
            "100": {
                "id": 100,
                "case": "first-letter",
                "canonical": "Leksikon",
                "namespaceprotection": "editinterface",
                "*": "Leksikon"
            },
            "101": {
                "id": 101,
                "case": "first-letter",
                "canonical": "Leksikonsamtale",
                "*": "Leksikonsamtale"
            },
            "102": {
                "id": 102,
                "case": "first-letter",
                "canonical": "Bibliografi",
                "*": "Bibliografi"
            },
            "103": {
                "id": 103,
                "case": "first-letter",
                "canonical": "Bibliografisamtale",
                "*": "Bibliografisamtale"
            },
            "710": {
                "id": 710,
                "case": "first-letter",
                "canonical": "TimedText",
                "*": "TimedText"
            },
            "711": {
                "id": 711,
                "case": "first-letter",
                "canonical": "TimedText talk",
                "*": "TimedText talk"
            }
        },
        "namespacealiases": [
            {
                "id": 1,
                "*": "Diskusjon"
            },
            {
                "id": 3,
                "*": "Brukerdiskusjon"
            },
            {
                "id": 4,
                "*": "lokalhistoriewiki.no"
            },
            {
                "id": 5,
                "*": "Lokalhistoriewiki-diskusjon"
            },
            {
                "id": 5,
                "*": "lokalhistoriewiki.no-diskusjon"
            },
            {
                "id": 6,
                "*": "Bilde"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 7,
                "*": "Bildediskusjon"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 9,
                "*": "MediaWiki-diskusjon"
            },
            {
                "id": 11,
                "*": "Maldiskusjon"
            },
            {
                "id": 13,
                "*": "Hjelpdiskusjon"
            },
            {
                "id": 15,
                "*": "Kategoridiskusjon"
            }
        ],
        "statistics": {
            "pages": 368685,
            "articles": 77454,
            "edits": 2209977,
            "images": 218017,
            "users": 10053,
            "activeusers": 108,
            "admins": 37,
            "jobs": 0,
            "cirrussearch-article-words": 23612849
        }
    }
}