2009/5/2 Platonides <[email protected]>: > 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. > It'll probably disable the redirect thing, but the rest of $wgOut would still be messed up, so you'd still need to clone and restore $wgOut.
Roan Kattouw (Catrope) _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
