On Mon, 20 May 2013 12:55:24 -0700, Thomas Gries <mail(a)tgries.de> wrote:
Am 20.05.2013 18:11, schrieb Tyler Romeo:
I'm confused as to what the point of
action=render is. How is it
different
from using the API?
I do use it (action=render) in rendering the content div of a mediawiki
A in a different web page B,
in the context of the authenticated user, in an iframe.
The different web page B has no additional logic, especially, I cannot
add javascript or jquery, so render=action appears to be an easy
solution for my problem.
Unfortunately, and this is a drawback. action=render does currently not
apply the mediawiki A stylesheets.
action=render should NOT be used for this purpose.
&action=render is not a valid html page. It's meant to be read by
something that does additional processing (which could use the api
instead) and embedded inside of another html document.
I also don't see how your technique will logically work at all, since the
moment the user clicks a link they lose action=render.
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://danielfriesen.name/]