OOUI theme support
authorBartosz Dziewoński <matma.rex@gmail.com>
Sun, 24 May 2015 16:56:44 +0000 (18:56 +0200)
committerJforrester <jforrester@wikimedia.org>
Sun, 31 May 2015 22:55:13 +0000 (22:55 +0000)
commit1fc57830e257f47ae0508899dc35b80674475859
treeb1ba020002c027ce8069ee3d0daa473b04ee45b4
parent54ed5d209661c34a5af0087ab30fcd4916a3aa76
OOUI theme support

* Split off OOjs UI's module definitions to a separate file from
  Resources.php.
* Extend ResourceLoaderImageModule to support per-skin images and
  variants.
* Allow skins to specify their preferred OOjs UI theme using new
  skin registry attribute 'SkinOOUIThemes'. The default remains the
  'mediawiki' theme, 'apex' can also be chosen now.
* Implement custom ResourceLoaderOOUIImageModule which implements some
  special sauce required to shoehorn OOjs UI image set definitions into
  ResourceLoaderImageModule with skin-specific styles support.

Bug: T100895
Change-Id: I3fbacbce95126a4cc29221352f3ef846f41e7b1b
autoload.php
docs/extension.schema.json
includes/resourceloader/ResourceLoader.php
includes/resourceloader/ResourceLoaderImageModule.php
includes/resourceloader/ResourceLoaderOOUIImageModule.php [new file with mode: 0644]
resources/Resources.php
resources/ResourcesOOUI.php [new file with mode: 0644]