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.