API: Clean up skin handling
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 17 Oct 2014 18:39:15 +0000 (11:39 -0700)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 17 Oct 2014 18:47:34 +0000 (11:47 -0700)
commit1cd0618cd458eb9c96ec35cabb32b89cc75c1889
tree10ead17b4a3cd0390ba2d540868c8edac1bc868a
parent3db2828c0e60b7a8b98af057f5c741738315c47d
API: Clean up skin handling

* Set a more sensible value for the "title" of the page (Special:ApiHelp
  rather than API)
* Avoid calling various skin-related hooks that aren't going to be used.
* Don't override the user in the DerivativeContext, MessageCache doesn't
  pay attention to it anyway for ->parse().

Bug: 72131
Bug: 72174
Change-Id: Idc42ab6526d640dc68fa93f6b4c5524b3d9e2e44
includes/api/ApiFormatBase.php
includes/api/ApiHelp.php
includes/skins/SkinApi.php
includes/skins/SkinApiTemplate.php