HomePhabricator

Get legacy styles from ResourceLoaderSkinModule

Authored by Jdlrobson on Feb 24 2020, 10:15 PM.

Description

Get legacy styles from ResourceLoaderSkinModule

Instead of relying on Skin::getDefaultModules to get
mediawiki.legacy.styles make the legacy style feature an explicit
opt in choice by including it in the features list.

This is done on the assumption that Icb910a563273bde92a09b1bb92857d5b6e348baa
will shortly be merged to deprecate this module to avoid double loading
the styles.

Bug: T242177
Depends-On: Icb910a563273bde92a09b1bb92857d5b6e348baa
Change-Id: I6471bc169f3c2a1f51e17b8ee26ac245b0374c18

Details