(bug 44010) Pass context to UserGetLanguageObject
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Wed, 16 Jan 2013 09:47:06 +0000 (09:47 +0000)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 18 Jan 2013 09:56:27 +0000 (10:56 +0100)
commitc014e6b06077d65030ed291b7bc4fba550c58668
treeeb38e8310fdaff615cfd3dfcf2069a90ab98552c
parent833f87a0375d5519b84818320b06d40a0d7eaeae
(bug 44010) Pass context to UserGetLanguageObject

Only way to avoid messing with wrong request contexts.
Had to add recursion guard too.

Change-Id: Idc11b54752450321e01d92004e08fc95fb6170e6
docs/hooks.txt
includes/context/RequestContext.php