ApiParse: Add 'useskin' param for general OutputPage/Skin support
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 25 Apr 2017 03:53:50 +0000 (20:53 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Sun, 21 May 2017 17:06:42 +0000 (19:06 +0200)
commitdf5b122641bf047d8f5834d1f0c219769c3593c2
tree167194cf8e92d7aa6f0bd21dbb1cb8a83200d56d
parent77e2873f2eef2c3a1a5f879e812ecc8c4ec7ea42
ApiParse: Add 'useskin' param for general OutputPage/Skin support

Required for Idc41934eb89.

* If 'useskin' is set, run ParserOutput through OutputPage (with proper
  Skin set up). Specifically call addParserOutputMetadata().

  Then use OutputPage isntead of ParserOutput to retrieve that subset
  of meta data. Such as modules, lang links and config vars.

* Deprecate 'effectivelanglinks' in favour of 'useskin'.

* Simplify 'headhtml' support and re-use this new code.

Change-Id: Iaa85ac49f6e0cbdf7f1bb0f50a8f7730d119f0a2
includes/api/ApiParse.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json