MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以更改輸出格式。要查看JSON格式的非HTML實現,設置format=json。
{ "batchcomplete": "", "continue": { "gapcontinue": "Thunderbird_2_\u7279\u8272\u5217\u8868\u7ffb\u8b6f", "continue": "gapcontinue||" }, "query": { "pages": { "7150": { "pageid": 7150, "ns": 0, "title": "Test", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "touched": "2010-12-17T02:29:01Z", "lastrevid": 25233, "length": 346 }, "3126": { "pageid": 3126, "ns": 0, "title": "TestAndDebug:Firefox", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "touched": "2009-09-25T18:12:38Z", "lastrevid": 23997, "length": 23756 }, "3144": { "pageid": 3144, "ns": 0, "title": "TestAndDebug:Thunderbird", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "touched": "2006-04-27T11:59:22Z", "lastrevid": 24006, "length": 4258 }, "1026": { "pageid": 1026, "ns": 0, "title": "The Book of Mozilla", "contentmodel": "wikitext", "pagelanguage": "zh-tw", "pagelanguagehtmlcode": "zh-Hant-TW", "pagelanguagedir": "ltr", "touched": "2007-10-31T03:25:01Z", "lastrevid": 22279, "length": 2552 } } } }