RequestContext: Load the request object for getRequest on first call
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Tue, 17 Nov 2015 18:43:47 +0000 (19:43 +0100)
committerLegoktm <legoktm.wikipedia@gmail.com>
Wed, 6 Jan 2016 19:02:04 +0000 (19:02 +0000)
commit4555d1b482816730b25e6956444ca6a3155dd2cd
tree30caa9cd227244e1ed0f938610dd44786a33e001
parent0d7385a87ced5cbf5f9e1c2909d66e29f873cd19
RequestContext: Load the request object for getRequest on first call

Instead of relying on the global $wgRequest, which probably isn't initialized
so far, create the request object when RequestContext::getRequest() is called
the first time.

Change-Id: I6115ba44e474619d02d456a103758fe73ed298e0
includes/Setup.php
includes/context/RequestContext.php