2011/1/4 Marc Kerbiquet <mkerbiq...@gmail.com>:
> Hi,
>
> Is there an option to get absolute URLs with action=parse ?
>
> For instance, I would like to get "http://en.wikipedia.org/wiki/...";
> instead of "/wiki/..." in src and href attributes. I can parse the HTML
> returned by the API and transform URLs, but I wonder if there is an
> easier method.
>
action=render does this:

http://en.wikipedia.org/w/index.php?title=Albert_Einstein&action=render

Having it in action=parse would be nice, but because of the way this
stuff is written (checking whether the action parameter equals
'render' and adding it if so) that's probably tricky.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to