Skip to content

Commit

Permalink
Use logo skin feature (#524)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4516273)
  • Loading branch information
lens0021 authored Apr 20, 2022
1 parent 1fcfb67 commit 52336af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 38 deletions.
30 changes: 0 additions & 30 deletions includes/FemiwikiResourceLoaderSkinModule.php

This file was deleted.

7 changes: 1 addition & 6 deletions resources/skins.femiwiki/interface-gnb.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@
background-repeat: no-repeat;
@width: @height;
width: @width;

& when( @symbol-enabled = 1 ) {
/* @embed */
background-image: @symbol-url;
background-size: @height @height;
}
background-size: @height @height;

& when( @logo-enabled = 1 ) {
@media (min-width: @width-breakpoint-tablet) {
Expand Down
5 changes: 3 additions & 2 deletions skin.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@
},
"ResourceModules": {
"skins.femiwiki": {
"class": "MediaWiki\\Skins\\Femiwiki\\FemiwikiResourceLoaderSkinModule",
"class": "ResourceLoaderSkinModule",
"features": {
"content-media": true,
"toc": false,
"normalize": true
"normalize": true,
"logo": true
},
"targets": ["desktop", "mobile"],
"position": "top",
Expand Down

0 comments on commit 52336af

Please sign in to comment.