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();
|
$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',
|
||||||
|
|
Loading…
Reference in a new issue