"Roan Kattouw" <[EMAIL PROTECTED]> wrote:
> Rainer Terhart schreef:
>> Hello,
>>
>> i don not know, if i am right here, but i got a strange parse-response 
>> from wikiparser today.
>>
>> Maybe one can have a look on it. (i am from germany and i used wikis 
>> api.php for parsing the entry("Baum");
>> here is the request i used:
>> http://de.wikipedia.org/w/api.php?action=parse&prop=text&format=xml&page=baum
>>
>> this should be the last parsed text: "<p><span id="interwiki-he-fa" 
>> class="FA"></span></p>"
>>
>> actually, api.php adds more text at the end of the response.
>> <p><a href="/w/index.php?title=Af:Boom&....................class="new" 
>> title="Zh-yue:&#27193; (Seite nicht vorhanden)">zh-yue:&#27193;</a></p>
>>
> Strangely, this works for me. I just clicked the link and got an HTML
> response ending in
>
> <p><span id="interwiki-he-fa" class="FA"></span></p>
>
> <!--
> NewPP limit report
> Preprocessor node count: 221/1000000
> Post-expand include size: 1819/2048000 bytes
> Template argument size: 278/2048000 bytes
> Expensive parser function count: 0/500
> -->
>
> <!-- Saved in stable version parser cache with key
> dewiki:stable-pcache:idhash:11447-0!1!0!!de!2 and timestamp
> 20081023205212 -->
> <!-- Saved in parser cache with key
> dewiki:pcache:idhash:11447-0!1!0!!de!2 and timestamp 20081023205212 -->
>

What you see when you click the OP's link 
http://de.wikipedia.org/w/api.php?action=parse&prop=text&format=xml&page=baum 
probably depends on what browser you are using, because of differences in 
how browsers react to "format=xml". When I click the link I get the same 
text reported by the OP; however, this is also the same thing you will see 
if you go to http://de.wikipedia.org/wiki/Baum and select "View Source" or 
the equivalent in your web browser.

That page has a lot of improperly formatted interwiki links at the end of 
the text.  (I would go in and fix them, but then this thread wouldn't make 
sense to anyone....)

Russ


_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to