MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以更改輸出格式。要查看JSON格式的非HTML實現,設置format=json。
{ "batchcomplete": "", "query": { "pages": { "-1": { "ns": 0, "title": "Main Page", "missing": "", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "protection": [], "restrictiontypes": [ "create" ] } } } }