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
c8fa98b2e4
commit
7a922720ba
|
@ -206,6 +206,11 @@ class SkinCitizen extends SkinTemplate {
|
|||
public function getDefaultModules() {
|
||||
$modules = parent::getDefaultModules();
|
||||
|
||||
// Add Citizen skin styles
|
||||
$modules['styles']['skin'] = [
|
||||
'mediawiki.skinning.content.externallinks',
|
||||
'skins.citizen.styles',
|
||||
];
|
||||
// Replace search module with a custom one
|
||||
$modules['search'] = 'skins.citizen.search.scripts';
|
||||
|
||||
|
@ -216,11 +221,6 @@ class SkinCitizen extends SkinTemplate {
|
|||
* Adds all needed skin modules
|
||||
*/
|
||||
private function addModules() {
|
||||
$this->out->addModuleStyles( [
|
||||
'mediawiki.skinning.content.externallinks',
|
||||
'skins.citizen.styles',
|
||||
] );
|
||||
|
||||
$this->out->addModules( [
|
||||
'skins.citizen.scripts',
|
||||
'skins.citizen.icons',
|
||||
|
|
|
@ -7,6 +7,7 @@ table.wikitable {
|
|||
background-color: transparent;
|
||||
color: @base-20;
|
||||
border: 0;
|
||||
border-collapse: collapse;
|
||||
|
||||
tr {
|
||||
vertical-align: top;
|
||||
|
|
Loading…
Reference in a new issue