mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 06:24:22 +00:00
Use defaultmodule to load skin styles instead
This commit is contained in:
parent
74f3647af0
commit
a2608fc40b
|
@ -206,6 +206,8 @@ class SkinCitizen extends SkinTemplate {
|
|||
public function getDefaultModules() {
|
||||
$modules = parent::getDefaultModules();
|
||||
|
||||
// Use Citizen skin styles
|
||||
$modules['styles']['skin'][] = 'skins.citizen.styles';
|
||||
// Replace search module with a custom one
|
||||
$modules['search'] = 'skins.citizen.search.scripts';
|
||||
|
||||
|
@ -218,7 +220,6 @@ class SkinCitizen extends SkinTemplate {
|
|||
private function addModules() {
|
||||
$this->out->addModuleStyles( [
|
||||
'mediawiki.skinning.content.externallinks',
|
||||
'skins.citizen.styles',
|
||||
] );
|
||||
|
||||
$this->out->addModules( [
|
||||
|
|
Loading…
Reference in a new issue