Attempt to rearrange resourceloader module

This commit is contained in:
alistair3149 2020-02-15 20:54:39 -05:00
parent 7a922720ba
commit cc58502424
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -207,10 +207,7 @@ class SkinCitizen extends SkinTemplate {
$modules = parent::getDefaultModules(); $modules = parent::getDefaultModules();
// Add Citizen skin styles // Add Citizen skin styles
$modules['styles']['skin'] = [ $modules['styles']['skin'][] = 'skins.citizen.styles';
'mediawiki.skinning.content.externallinks',
'skins.citizen.styles',
];
// Replace search module with a custom one // Replace search module with a custom one
$modules['search'] = 'skins.citizen.search.scripts'; $modules['search'] = 'skins.citizen.search.scripts';
@ -223,6 +220,7 @@ class SkinCitizen extends SkinTemplate {
private function addModules() { private function addModules() {
$this->out->addModules( [ $this->out->addModules( [
'skins.citizen.scripts', 'skins.citizen.scripts',
'mediawiki.skinning.content.externallinks',
'skins.citizen.icons', 'skins.citizen.icons',
'skins.citizen.icons.ca', 'skins.citizen.icons.ca',
'skins.citizen.icons.p', 'skins.citizen.icons.p',