On Mon, Mar 7, 2016 at 10:32 AM, Victor Danilchenko < vdanilche...@cimpress.com> wrote:
> My simple solution to this is to forcibly invoke OutputPage::Output on the > spot, right there in the 'BeforeInitialize' hook: > > $this->output->redirect($https_url, 301); > $this->output->output(); > That's pretty much how we do the https redirect in MediaWiki::main() (and a few other places). So while it's ugly, that's pretty standard, and should work for you in the foreseeable future. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l