MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "continue": {
        "lhcontinue": "9096",
        "continue": "||"
    },
    "query": {
        "pages": {
            "1": {
                "pageid": 1,
                "ns": 4,
                "title": "Wikiquote:\u9996\u9875",
                "linkshere": [
                    {
                        "pageid": 4927,
                        "ns": 0,
                        "title": "Main Page",
                        "redirect": ""
                    },
                    {
                        "pageid": 4983,
                        "ns": 10,
                        "title": "Template:Welcome"
                    },
                    {
                        "pageid": 8041,
                        "ns": 0,
                        "title": "\u4e3b\u9875",
                        "redirect": ""
                    },
                    {
                        "pageid": 9089,
                        "ns": 3,
                        "title": "User talk:Silver~zhwikiquote"
                    },
                    {
                        "pageid": 9090,
                        "ns": 3,
                        "title": "User talk:Ontane~zhwikiquote"
                    },
                    {
                        "pageid": 9091,
                        "ns": 3,
                        "title": "User talk:Qerup~zhwikiquote"
                    },
                    {
                        "pageid": 9092,
                        "ns": 3,
                        "title": "User talk:Longwayman"
                    },
                    {
                        "pageid": 9093,
                        "ns": 3,
                        "title": "User talk:Dbenbenn"
                    },
                    {
                        "pageid": 9094,
                        "ns": 3,
                        "title": "User talk:\u660e\u967d\u660e"
                    },
                    {
                        "pageid": 9095,
                        "ns": 3,
                        "title": "User talk:Kenny~zhwikiquote"
                    }
                ]
            }
        }
    }
}