mediawiki-skins-Vector/includes
Piotr Miazga 02d4e4929f Hygiene: remove vectorConfig and use the getConfig
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
2020-01-13 23:01:42 +01:00
..
templates Move DataAfterContent outside of main content block 2019-06-20 17:55:55 +00:00
Hooks.php Move class files to includes/ 2018-03-12 16:52:48 -07:00
ResourceLoaderLessModule.php Move class files to includes/ 2018-03-12 16:52:48 -07:00
SkinVector.php Hygiene: remove vectorConfig and use the getConfig 2020-01-13 23:01:42 +01:00
VectorTemplate.php Remove extra <span> from Vector tabs 2019-10-25 15:22:57 +00:00