Jump to content

Skin talk:Liberty

About this board

MW 1.35 double height of the navigation bar

2
Gribouillot (talkcontribs)

HI

Recent change is above random page. The height is x2. Thanks

Jack Phoenix (talkcontribs)

Is this still happening on MediaWiki 1.39? If so, can you provide some screenshot(s) illustrating the issue? Thanks!

Reply to "MW 1.35 double height of the navigation bar"

MW 1.35 Cannot change the logo

2
Gribouillot (talkcontribs)

HI

in the local settings :

wfLoadSkin( 'Liberty' );

$wgDefaultSkin = "Liberty";

$wgLibertyOgLogo ="{$wgScriptPath}/resources/assets/wiki.png";


but the logo is "Libre". No change.Thanks

~~~~

Jack Phoenix (talkcontribs)

The $wgLibertyOgLogo is not the site logo, but rather for the Open Graph protocol only (hence Og); this is what sites like Facebook etc. use for displaying a brief preview of the page you're about to share or something along those lines (I don't use social media sites, so I'm not too familiar with their inner workings).

I'm not quite sure how you'd go about changing the actual logo, the files skins/Liberty/css/default.css and skins/Liberty/css/default_mobile.css have these CSS rules:

/* from skins/Liberty/css/default.css: */
.Liberty .nav-wrapper .navbar .navbar-brand {
	height: 2.8rem;
	width: 6.6rem;
	background: transparent url(../img/logo.png) no-repeat scroll left center/auto
		1.9rem;
	padding: 0;
	margin: 0;
}

/* from skins/Liberty/css/default_mobile.css: */
.Liberty .nav-wrapper .navbar .navbar-brand {
	width: 5rem;
	background: transparent url( ../img/logo.png ) no-repeat scroll left center/auto 1.5rem;
}

Perhaps you can create your own logo image like LibreWiki's and then specify something like this in your wiki's MediaWiki:Liberty.css:

.Liberty .nav-wrapper .navbar .navbar-brand {
	background-image: url( https://wiki.example.com/w/path/to/your/cool/custom/logo-image.png );
}

And if that definition doesn't work, try adding an !important to it for good measure, like so:

.Liberty .nav-wrapper .navbar .navbar-brand {
	background-image: url( https://wiki.example.com/w/path/to/your/cool/custom/logo-image.png ) !important;
}
Reply to "MW 1.35 Cannot change the logo"
Noloader (talkcontribs)
$ git clone git@gitlab.com:librewiki/Liberty-MW-Skin.git
Cloning into 'Liberty-MW-Skin'...
Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

And:

$ git clone https://gitlab.com:librewiki/Liberty-MW-Skin.git
Cloning into 'Liberty-MW-Skin'...
Username for 'https://gitlab.com:librewiki': ^C

WTF???

Jack Phoenix (talkcontribs)

A bit late, but the repo was moved from GitLab to GitHub at some point.

Reply to "Can't clone the repo"
There are no older topics