mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
7e0dd79d5a
Generalize LimitedWidthRequirement into a more reusable
UserPreferenceRequirement that can be used by both the limited width feature and
the persistent pinning feature (and possibly others in the future).
* Removes existing logic that checks whether the option is not null. Given that
skin.json sets the default [1], presumably this isn't needed.
* Adds unit test
[1]
|
||
---|---|---|
.. | ||
Components | ||
FeatureManagement | ||
ResourceLoader | ||
Services | ||
templates | ||
Constants.php | ||
Hooks.php | ||
ServiceWiring.php | ||
SkinVector.php | ||
SkinVector22.php | ||
SkinVectorLegacy.php | ||
VectorServices.php |