I understand, thank you. But I still would like to have it directly in
the result - if possible.
I want to return a "HTML snippet", e.g. in a <div>, containing the
parsed data (e.g. from a template). So this means, I am not generating a
whole page and it might not be possible to change the content of head.
Thanks,
dian
Roan Kattouw schrieb:
Dian schreef:
hi,
I have a question regarding the parsed internal links. They have the format:
<a href="/wiki/Foo" ...
Is it possible to have the hostname shown too, i.e.
www.mywiki.example.com/wiki/...
Just add <base
href="http://www.example.com/" /> in the
<head> of the
HTML you're outputting (action=parse output doesn't contain a <head>).
Roan Kattouw (Catrope)
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api