installer: Read styles from Vector's skin.json
authorKunal Mehta <legoktm@gmail.com>
Mon, 4 May 2015 18:41:13 +0000 (11:41 -0700)
committerKunal Mehta <legoktm@gmail.com>
Mon, 4 May 2015 18:41:13 +0000 (11:41 -0700)
commit3c1d3e2bc6dc152e6846cb8fed13c60bc0948dec
tree5dcdf5342ae446661d768a2b8151250a4e8ce0ea
parenteeab8768b84203903fb7bc425ab36ba8d9f4ed3c
installer: Read styles from Vector's skin.json

Vector now has a skin.json and the PHP entry point is just a stub, so
including it doesn't do anything. We can read from the skin.json file
and register the module properly instead of depending upon implicit
globals.

Also make ExtensionRegistry::__construct() not fail if $wgObjectCaches
is not set up properly, which is the case sometimes in the installer.

Bug: T98043
Change-Id: I5a653b095665092f8a27416b8a7f28ebf7d4d8c1
includes/installer/WebInstallerOutput.php
includes/registration/ExtensionRegistry.php