API: Avoid warnings for parameters that don't exist in format=rawfm
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 20 Apr 2015 14:12:39 +0000 (10:12 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 20 Apr 2015 14:16:03 +0000 (10:16 -0400)
commitdb6a9636f1aa75e7cfea364ce83169f53a73c326
treefd7f3413c4afed58c4edfffef6e0331f61558a18
parent9d90d10ab4d92ee436342a11e3a12cf50ba33df2
API: Avoid warnings for parameters that don't exist in format=rawfm

As format=rawfm is intended for debugging, a recent change removed
definition of unnecessary parameters inherited from format=json. But the
inherited code was still assuming they were defined, causing PHP
warnings.

Bug: T96479
Change-Id: Id13ae541f13b6930c535d156dc5aac0a257d31e8
includes/api/ApiFormatJson.php