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