mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
02d4e4929f
The SkinVector implements IContextSource, thus it has to provide the getConfig() method. Vector skin is currently using it's own `vectorConfig` in one place and it passes the VectorConfig to the VectorTemplate class. Sadly the VectorConfig is the same thing what $this->getConfig() provides. There is no need to make this code more complex by handling two different config containers which at the end are the same GlobalVarConfig instances. If we decide to handle VectorConfigs differently, let's thing it through, for now we should simplify code and remove all uncessary logic. Thanks to that, there is also no need to override the setupTemplate(). Change-Id: I89c8a77f7d96f867c8c72e61f9e104e14d9512d9 |
||
---|---|---|
.. | ||
templates | ||
Hooks.php | ||
ResourceLoaderLessModule.php | ||
SkinVector.php | ||
VectorTemplate.php |