MediaWiki API 结果

这是TXT格式的HTML表示。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看TXT格式的非HTML表示,设置format=txt

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

Array
(
    [warnings] => Array
        (
            [txtfm] => Array
                (
                    [*] => format=txtfm has been deprecated. Please use format=jsonfm instead.
                )

        )

    [batchcomplete] => 
    [query] => Array
        (
            [namespaces] => Array
                (
                    [-2] => Array
                        (
                            [id] => -2
                            [case] => first-letter
                            [canonical] => Media
                            [*] => 媒体文件
                        )

                    [-1] => Array
                        (
                            [id] => -1
                            [case] => first-letter
                            [canonical] => Special
                            [*] => 特殊
                        )

                    [0] => Array
                        (
                            [id] => 0
                            [case] => first-letter
                            [content] => 
                            [*] => 
                        )

                    [1] => Array
                        (
                            [id] => 1
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => Talk
                            [*] => 讨论
                        )

                    [2] => Array
                        (
                            [id] => 2
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => User
                            [*] => 用户
                        )

                    [3] => Array
                        (
                            [id] => 3
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => User talk
                            [*] => 用户讨论
                        )

                    [4] => Array
                        (
                            [id] => 4
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => Project
                            [*] => HL7ChinaWiki
                        )

                    [5] => Array
                        (
                            [id] => 5
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => Project talk
                            [*] => HL7ChinaWiki讨论
                        )

                    [6] => Array
                        (
                            [id] => 6
                            [case] => first-letter
                            [canonical] => File
                            [*] => 文件
                        )

                    [7] => Array
                        (
                            [id] => 7
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => File talk
                            [*] => 文件讨论
                        )

                    [8] => Array
                        (
                            [id] => 8
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => MediaWiki
                            [*] => MediaWiki
                        )

                    [9] => Array
                        (
                            [id] => 9
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => MediaWiki talk
                            [*] => MediaWiki讨论
                        )

                    [10] => Array
                        (
                            [id] => 10
                            [case] => first-letter
                            [canonical] => Template
                            [*] => 模板
                        )

                    [11] => Array
                        (
                            [id] => 11
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => Template talk
                            [*] => 模板讨论
                        )

                    [12] => Array
                        (
                            [id] => 12
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => Help
                            [*] => 帮助
                        )

                    [13] => Array
                        (
                            [id] => 13
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => Help talk
                            [*] => 帮助讨论
                        )

                    [14] => Array
                        (
                            [id] => 14
                            [case] => first-letter
                            [canonical] => Category
                            [*] => 分类
                        )

                    [15] => Array
                        (
                            [id] => 15
                            [case] => first-letter
                            [subpages] => 
                            [canonical] => Category talk
                            [*] => 分类讨论
                        )

                    [500] => Array
                        (
                            [id] => 500
                            [case] => first-letter
                            [canonical] => CDS
                            [content] => 
                            [*] => CDS
                        )

                    [502] => Array
                        (
                            [id] => 502
                            [case] => first-letter
                            [canonical] => Tooling
                            [content] => 
                            [*] => Tooling
                        )

                    [504] => Array
                        (
                            [id] => 504
                            [case] => first-letter
                            [canonical] => Terminology
                            [content] => 
                            [*] => Terminology
                        )

                    [506] => Array
                        (
                            [id] => 506
                            [case] => first-letter
                            [canonical] => SD
                            [content] => 
                            [*] => SD
                        )

                    [510] => Array
                        (
                            [id] => 510
                            [case] => first-letter
                            [canonical] => Members
                            [content] => 
                            [*] => Members
                        )

                    [512] => Array
                        (
                            [id] => 512
                            [case] => first-letter
                            [canonical] => Security
                            [content] => 
                            [*] => Security
                        )

                    [2300] => Array
                        (
                            [id] => 2300
                            [case] => first-letter
                            [canonical] => Gadget
                            [*] => Gadget
                        )

                    [2301] => Array
                        (
                            [id] => 2301
                            [case] => first-letter
                            [canonical] => Gadget talk
                            [*] => Gadget talk
                        )

                    [2302] => Array
                        (
                            [id] => 2302
                            [case] => case-sensitive
                            [canonical] => Gadget definition
                            [*] => Gadget definition
                        )

                    [2303] => Array
                        (
                            [id] => 2303
                            [case] => case-sensitive
                            [canonical] => Gadget definition talk
                            [*] => Gadget definition talk
                        )

                )

        )

)