Skin talk:Vector

Jump to: navigation, search

About this board

Edit description
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL

How to remove the gradient from the top of the Vector skin?

1
Cabalamat2 (talkcontribs)

I am editing MediaWiki:Vector.css to alter the look of the vector skin. What CSS do I need to enter to remove the gradients from the top of each page?

Reply to "How to remove the gradient from the top of the Vector skin?"

How to use hide and show funtion?

3
Summary by Tunglinwu
Tunglinwu (talkcontribs)

The older version had this function like this: File:Extension DynamicSidebar example.png

There has triangle to show and hide.

Matma Rex (talkcontribs)

This functionality is currently not available in Vector, it was removed for performance reasons. Extension:CollapsibleVector claims to reimplement it, I never tried it myself.

Tunglinwu (talkcontribs)

It works, thank you.

Rakeshgunderi (talkcontribs)

Dear All,

I am new to this vector skin, before we was using monaco skin and added tittle successfully in monaco skin, But in Vector I am not able to put tittle for my wiki. Please help me.

Reply to "How to add Tiitle for my wiki?"
CyberXRef (talkcontribs)

Installing MediaWiki 1.27 spits out literally 10s of error messages.

  • "XXXXX" is deprecated. Use mw.config instead.

Is there a reason why this skin still uses all these deprecated functions?

Matma Rex (talkcontribs)

It doesn't. The warnings probably come from your site JS.

CyberXRef (talkcontribs)

It does, you're right. Came from an outdated Gadget which is fixed right now. Thanks.

Reply to "Tons of deprecation warnings."

body {max-width: ...} has different behaviour on different pages.

3
Summary by Spas.Z.Spasov

Site CSS is not allowed by default on "restricted" pages, for example the login, signup and password change pages, since it's a security risk if you have multiple users able to edit it (see details on T72672). If you're the only administrator of your wiki, you can safely enable them with the Manual:$wgAllowSiteCSSOnRestrictedPages configuration variable.

Spas.Z.Spasov (talkcontribs)

Hello, everyone.

I have made few customizations in /MediaWiki:Vector.css of my private Wiki (1.27.1).

I set max width of the body class, like:


body {

position:relative;

max-width: 1320px !important;

margin-left: auto;

margin-right: auto;

padding: 0;

}

It works for most pages but for some of the special pages this CSS doesn’t apply. Especially for these special pages with these new pretty buttons.

Here you are two examples. Where this CSS works and where it doesn't work.

I want to have the same behavior for the mentioned special pages. Could someone help me?

Matma Rex (talkcontribs)

Hello. Site CSS is not allowed by default on "restricted" pages, for example the login, signup and password change pages, since it's a security risk if you have multiple users able to edit it (see details on T72672). If you're the only administrator of your wiki, you can safely enable them with the $wgAllowSiteCSSOnRestrictedPages configuration variable.

Spas.Z.Spasov (talkcontribs)

It works. Thank you very much!

213.61.254.68 (talkcontribs)

Hello,

the https://packagist.org/packages/mediawiki/vector-skin show a wrong repository. The repository: https://git.wikimedia.org/git/mediawiki/skins/Vector.git are NOT exist.

And when I use "composer update" they can not find the repository.

Matma Rex (talkcontribs)

I don't know who maintains the Composer package for Vector. To my knowledge, it's not official. I suggest installing from Git or Special:SkinDistributor/Vector.

213.61.254.67 (talkcontribs)

I will try to manage the most things with composer.

But I thing it doesn't work :(

193.23.61.254 (talkcontribs)

Hello.

I have some issue with Vector Skin.

On ma page should be Adsense in sidebar:

http://westeros.com.pl/index.php?title=Strona_g%C5%82%C3%B3wna

Here is the same page but with Bluemoon skin:

http://wiki.westeros.pl/index.php?title=Strona_g%C5%82%C3%B3wna

I used that solution:

https://www.guyrutenberg.com/2014/10/13/displaying-google-adsense-in-mediawiki/

Could You help me?

Reply to "No Adsense in sidebar"
Abhidevananda (talkcontribs)

$wgVectorUseIconWatch = false; It does not seem to work (in localsettings.php) MW1.25.1. Any suggestions?

Reply to "How to remove star icon?"
Samwilson (talkcontribs)

Composer complains that there's no stable release for this skin. It is of course actually stable, but without a tag > 1.0 it's a tiny bit longer to install. Am I missing something? Or could a stable tag be added? Thanks! :) ~~~~

Legoktm (talkcontribs)

A 1.0 tag probably wouldn't be useful unless new tags are consistently created, which I doubt they will be...you're probably better off sticking to release branches (dev-REL1_25), they're actually stable, regardless of what packagist thinks.

Samwilson (talkcontribs)

Yes, that makes sense. It just means every update has to be manually specified in composer.json, but that's ok.

Reply to "Tag a stable release?"
Mafi9 (talkcontribs)

Hello,

I've just installed MW 1.24.2 and tried to display the main page. Unfortunately there is a error saying: \mediawiki\skins\Vector/SkinVector.php): failed to open stream: No such file or directory in ...\mediawiki\includes\AutoLoader.php on line 1282

I checked in the LocalSettings.php if there is a problem with the path, but the default skin is set for "vector" and require_once "$IP/skins/Vector/Vector.php"; seems to be alright as well. The path of SkinVector.php seems to be correct, I couldnt find any typos or similar. I tried to download the skin separately and paste it into the skins directory, but then it says its only compatible with MW1.25+.

Any hints what might be the problem? I'm actually still thinking of a path problem, but I just dont know where to look after it.