API: Generate head items in the context of the given title
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 7 Jul 2016 13:40:57 +0000 (09:40 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 7 Jul 2016 13:44:45 +0000 (09:44 -0400)
commit2ecba36c4f46c248cfdcd0acb3b6b17efdb53db2
tree06d2504b43f1202be73323a150e642934e9de10d
parent2ab61690b27a6fa0f4b81909cdd0709d9de38dbe
API: Generate head items in the context of the given title

$context->getOutput() returns an OutputPage tied to the main
RequestContext at the root of the chain, not to the modified context
we're actually using.

Bug: T139565
Change-Id: Ie086d7f2ad3f7b5f50e3a2f83b1680e760b85e5e
includes/api/ApiParse.php