[Mediawiki-api] Using API within an extension causes a browser redirect?

Platonides platonides at gmail.com
Sat May 2 15:30:33 UTC 2009


Adam Nielsen wrote:
> Thanks for the quick response!  Is there any way I can somehow save the state
> before the Edit call, and restore it afterwards?  I tried it with $wgRequest
> and it didn't work, but I'm not sure exactly what I'd need to save.
> 
> Thanks,
> Adam.

Try with $wgOut.
Doing $wgOut->redirect('', '200'); may be enough to disable that.



More information about the Mediawiki-api mailing list