mediawiki-skins-Vector/includes
Jon Robson 2a2ee9b4d4 Pass skin name to Hooks::isSkinLegacy
Hooks::isSkinLegacy is only checking the skin version
but not the skin name. This is likely why we are seeing
errors due a mismatch between the result of Hooks::isSkinLegacy
and SkinVector::isLegacy

The parameter is made optional as it is not
always needed. For example in the onGetPreferences
method the skin hasn't been set at this point so all
we need to do is check the skin version.

Bug: T299971
Change-Id: I98465d5f6429f0a57dd0a95efcda71f380f3e842
2022-02-02 13:55:16 -08:00
..
FeatureManagement Drop search related feature flags 2022-01-31 21:00:22 +00:00
HTMLForm/Fields HTMLLegacySkinVersionField: accept string 'default' value 2021-11-23 00:57:25 -05:00
ResourceLoader Do not load common.js twice 2022-01-25 20:10:31 +00:00
Services
templates Merge "Rely on core TOC data to show the TOC in Vector" 2022-01-27 20:10:29 +00:00
Constants.php Drop search related feature flags 2022-01-31 21:00:22 +00:00
Hooks.php Pass skin name to Hooks::isSkinLegacy 2022-02-02 13:55:16 -08:00
ServiceWiring.php Drop search related feature flags 2022-01-31 21:00:22 +00:00
SkinVector.php Drop search related feature flags 2022-01-31 21:00:22 +00:00
SkinVector22.php Restore gadget support to new internal skins 2022-01-07 00:18:17 +00:00
SkinVectorLegacy.php Vector is split into 2 skins 2022-01-06 15:52:10 -08:00
SkinVersionLookup.php Fix bug in SkinVersionLookup 2022-01-24 13:34:06 -08:00
VectorServices.php