ApiOpenSearch: Ignore any other unexpected keys in json output
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 28 May 2015 14:38:19 +0000 (10:38 -0400)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 29 May 2015 20:29:07 +0000 (20:29 +0000)
commit0e6b9fdb6fd221b1352e329e1ee26008c23ccc4c
tree3833e09804a7618fbca21a912dd4200b1ee2f912
parent2d6d301dea80854089301249009f1592a99c2cef
ApiOpenSearch: Ignore any other unexpected keys in json output

Iad295d2f fixed warnings to not break the opensearch json output. But
other stuff like $wgDebugToolbar can do the same thing, so let's strip
all unrecognized keys to avoid that problem.

Bug: T100635
Change-Id: I20b6502482af537ccb703f400508960038213a91
includes/api/ApiOpenSearch.php