You are looking at the HTML representation of the TXT format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
Array
(
    [query] => Array
        (
            [namespaces] => Array
                (
                    [-2] => Array
                        (
                            [id] => -2
                            [case] => first-letter
                            [*] => Media
                            [canonical] => Media
                        )

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

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

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

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

                    [3] => Array
                        (
                            [id] => 3
                            [case] => first-letter
                            [*] => Discussioni utente
                            [subpages] => 
                            [canonical] => User talk
                        )

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

                    [5] => Array
                        (
                            [id] => 5
                            [case] => first-letter
                            [*] => Discussioni Warhammer 40.000 wiki
                            [subpages] => 
                            [canonical] => Project talk
                        )

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

                    [7] => Array
                        (
                            [id] => 7
                            [case] => first-letter
                            [*] => Discussioni file
                            [subpages] => 
                            [canonical] => File talk
                        )

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

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

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

                    [11] => Array
                        (
                            [id] => 11
                            [case] => first-letter
                            [*] => Discussioni template
                            [subpages] => 
                            [canonical] => Template talk
                        )

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

                    [13] => Array
                        (
                            [id] => 13
                            [case] => first-letter
                            [*] => Discussioni aiuto
                            [subpages] => 
                            [canonical] => Help talk
                        )

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

                    [15] => Array
                        (
                            [id] => 15
                            [case] => first-letter
                            [*] => Discussioni categoria
                            [subpages] => 
                            [canonical] => Category talk
                        )

                    [110] => Array
                        (
                            [id] => 110
                            [case] => first-letter
                            [*] => Forum
                            [subpages] => 
                            [canonical] => Forum
                        )

                    [111] => Array
                        (
                            [id] => 111
                            [case] => first-letter
                            [*] => Forum talk
                            [subpages] => 
                            [canonical] => Forum talk
                        )

                    [420] => Array
                        (
                            [id] => 420
                            [case] => first-letter
                            [*] => Layer
                            [canonical] => Layer
                        )

                    [421] => Array
                        (
                            [id] => 421
                            [case] => first-letter
                            [*] => Layer talk
                            [canonical] => Layer talk
                        )

                    [500] => Array
                        (
                            [id] => 500
                            [case] => first-letter
                            [*] => Blog utente
                            [subpages] => 
                            [canonical] => Blog utente
                        )

                    [501] => Array
                        (
                            [id] => 501
                            [case] => first-letter
                            [*] => Commento blog utente
                            [subpages] => 
                            [canonical] => Commento blog utente
                        )

                    [502] => Array
                        (
                            [id] => 502
                            [case] => first-letter
                            [*] => Blog
                            [subpages] => 
                            [canonical] => Blog
                        )

                    [503] => Array
                        (
                            [id] => 503
                            [case] => first-letter
                            [*] => Discussioni blog
                            [subpages] => 
                            [canonical] => Discussioni blog
                        )

                    [828] => Array
                        (
                            [id] => 828
                            [case] => first-letter
                            [*] => Modulo
                            [subpages] => 
                            [canonical] => Module
                        )

                    [829] => Array
                        (
                            [id] => 829
                            [case] => first-letter
                            [*] => Discussioni modulo
                            [subpages] => 
                            [canonical] => Module talk
                        )

                    [1200] => Array
                        (
                            [id] => 1200
                            [case] => first-letter
                            [*] => Bacheca
                            [canonical] => Bacheca
                        )

                    [1201] => Array
                        (
                            [id] => 1201
                            [case] => first-letter
                            [*] => Conversazione
                            [subpages] => 
                            [canonical] => Conversazione
                        )

                    [1202] => Array
                        (
                            [id] => 1202
                            [case] => first-letter
                            [*] => Benvenuto bacheca
                            [canonical] => Benvenuto bacheca
                        )

                )

        )

)