mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 01:09:20 +00:00
2a2ee9b4d4
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 |
||
---|---|---|
.. | ||
FeatureManagement | ||
HTMLForm/Fields | ||
ResourceLoader | ||
Services | ||
templates | ||
Constants.php | ||
Hooks.php | ||
ServiceWiring.php | ||
SkinVector.php | ||
SkinVector22.php | ||
SkinVectorLegacy.php | ||
SkinVersionLookup.php | ||
VectorServices.php |