Skin talk:DarkVector

Jump to navigation Jump to search

About this board

How to make links (not exist) in red?

8
Summary by Martynov Maxim

Just edit MediaWiki:Darkvector.css page, and that's all.

106.114.67.104 (talkcontribs)

I tried to add some sentences in MediaWiki:Common.css but not working. Thank for any help!

C933103 (talkcontribs)
CayceP (talkcontribs)

You can control that in darkvector.less you may want to provide other hex color values in the the a.new, if necessary enforcing them with !important

Flounder ceo (talkcontribs)

You lose the default option with Vector-DarkCSS.

Martynov Maxim (talkcontribs)

You can add lines to MediaWiki:Common.css or to MediaWiki:Darkvector.css, and they will work. This is an internal MW mechanism of page rendering, it does not depend on skin at all:





Regarding non-working sentences, maybe you should add !important directive to your styles to rewrite default ones.

Flounder ceo (talkcontribs)

The way I change link colors is by editing darkvector.less. I think I once tried the Mediawiki:Darkvector.css method and it didn't work for me.

If you want to describe which links you want changed and what color you'd like I could take a shot at writing the code for you.

CayceP (talkcontribs)

Editing the Mediawiki:Darkvector.css method didn't work for me either, same for Vector-DarkCSS. There have been a lot of chnages to the master branch of the skin recently, so maybe update the Skin files (including darkvector.less) first and then start applying changes to link colour otherwise you may lose them with the next update you do to the skin extension files.

Martynov Maxim (talkcontribs)

Can you provide a link to MediaWiki:Darkvector.css on your wiki site?


The main issue of ignoring these custom styles is just wrong page name. It should be exactly MediaWiki.Darkvector.css, not Mediawiki, and not DarkVector.


Also I didn't get why you're discussing Vector-DarkCSS extension. Only some part of this extension is used in DarkVector, the backend is completely different. These extensions have nothing in common in terms of settings or custom styling.

Global Stylesheet not working

4
Summary by Martynov Maxim

Just edit MediaWiki:Darkvector.css page, and that's all.

188.102.152.46 (talkcontribs)

I tried to costomize the Skin to better fit with the rest with a MediaWiki:DarkVector.css-Page, but it doesn't work. Does anyone have an Idea what changes I have to make to get it tow work?

Flounder ceo (talkcontribs)

I have observed the same problem. A workaround is editing darkvector.less, but this can make upgrades more difficult.

Martynov Maxim (talkcontribs)

You should edit page with name MediaWiki:Darkvector.css instead of MediaWiki:DarkVector.css

Flounder ceo (talkcontribs)

oh that could explain it.

How do I get rid of Jump to: navigation, search

3
Summary by Martynov Maxim

Fixed

2601:5CD:C200:9BE0:20DD:6D05:8D38:6E35 (talkcontribs)

Is there a way to hack it to get rid of these? Thanks.

CayceP (talkcontribs)

I removed it on my wiki by removing the div content in lines 148 to 154 from my DarkVectorTemplate.php: <nowiki>

<?php $this->msg( 'jumpto' ) ?> <a href="#mw-head"><?php $this->msg( 'jumptonavigation' ) ?></a><?php $this->msg( 'comma-separator' ) ?> <a href="#p-search"><?php $this->msg( 'jumptosearch' ) ?></a>

<nowiki>

Martynov Maxim (talkcontribs)

It should be fixed in the latest version.

It is not available in the download page

2
Summary by Martynov Maxim

Fixed

213.0.87.167 (talkcontribs)

I can't find it to download it in the dl page. I like it, and I would be happy to use it, if still maintained.

Martynov Maxim (talkcontribs)

You can download it directly from Github.

Fails to preview on MediaWiki 1.25.1

1
Noloader (talkcontribs)

The DarkVector skin fails to preview on MediaWiki 1.25.1. The page is blank when previewing.

There are no older topics