mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 16:21:11 +00:00
Attempt to rearrange resourceloader module
This commit is contained in:
parent
7a922720ba
commit
cc58502424
|
@ -207,10 +207,7 @@ class SkinCitizen extends SkinTemplate {
|
|||
$modules = parent::getDefaultModules();
|
||||
|
||||
// Add Citizen skin styles
|
||||
$modules['styles']['skin'] = [
|
||||
'mediawiki.skinning.content.externallinks',
|
||||
'skins.citizen.styles',
|
||||
];
|
||||
$modules['styles']['skin'][] = 'skins.citizen.styles';
|
||||
// Replace search module with a custom one
|
||||
$modules['search'] = 'skins.citizen.search.scripts';
|
||||
|
||||
|
@ -223,6 +220,7 @@ class SkinCitizen extends SkinTemplate {
|
|||
private function addModules() {
|
||||
$this->out->addModules( [
|
||||
'skins.citizen.scripts',
|
||||
'mediawiki.skinning.content.externallinks',
|
||||
'skins.citizen.icons',
|
||||
'skins.citizen.icons.ca',
|
||||
'skins.citizen.icons.p',
|
||||
|
|
Loading…
Reference in a new issue