Skin talk:DarkVector

About this board

195.252.220.205 (talkcontribs)

I just installed this skin per directions on our internal wiki. When I switch to it, the Tools entries on the left sidebar are not rendered.

I'm a noob at this. Is there a straightforward way to show/add these entries?

195.252.220.205 (talkcontribs)

Edit to add: It looks like I am talking about personal tools.

Reply to "Sidebar/Tools Not Showing"
Summary by Martynov Maxim

Done

Flounder ceo (talkcontribs)

This skin has been working fine on my site for years. Is it time to change its status to stable?

Huwmanbeing (talkcontribs)

What is the best way to make a working copy of the current version of Vector that can then be adjusted?

I've enjoyed using DarkVector and wanted to try something similar (a skin based on Vector with cosmetic adjustments), but when I duplicate the current 1.37 Vector and change out the skin name in the code and file names, it produces internal errors like this:

Class 'AltVector\SkinVersionLookup' not found.
Backtrace: from /var/www/my.wiki/public_html/mediawiki-1.37.2/skins/AltVector/includes/ServiceWiring.php(55)
...

Thanks for any thoughts/suggestions!

Flounder ceo (talkcontribs)

I tried this a year or two ago and couldn't figure it out. Very frustrating. Something that I wish MediaWiki would improve on, like make it easier to fork a skin.

Martynov Maxim (talkcontribs)

Honestly, that's a huge pain. I wish Vector skin has option to set custom colors, e.g. using CSS variables or something like that

Reply to "Duplicating Vector"

Deprecated: Use of BaseTemplate::getFooterIcons was deprecated in MediaWiki 1.35

4
Summary by Martynov Maxim

Fixed in latest version.

Noloader (talkcontribs)

Hi Everyone,

We recently updated to Mediawiki 1.36. I'm testing some of our installed skins under it.

DarkVector is causing this warning to be printed on the bottom of each page:

Deprecated: Use of BaseTemplate::getFooterIcons was deprecated in MediaWiki 1.35. [Called from DarkVectorTemplate::execute in /var/www/html/w/skins/DarkVector/DarkVectorTemplate.php at line 215] in /var/www/html/w/includes/debug/MWDebug.php on line 376

I have no idea why we are running debug code on a production server. I guess that's a separate issue for the Mediawiki folks.

My apologies if this is not a DarkVector issue.

Our mediawiki information can be found here.

Naven122 (talkcontribs)

Had the same issue.

According to mediawiki change-log, this is deprecated, as the message says anyways.

Edit file /mediawiki/skins/DarkVector/DarkVectorTemplate.php

Replace line (215)

<?php $footericons = $this->getFooterIcons( "icononly" );

with

<?php $footericons = $this->get('footericons');

I'm not 100% sure if it really fixes the issue, but the error went away and the footer looks alright now.

64.129.73.226 (talkcontribs)

Had this problem too and this fixed it. Thanks.

Martynov Maxim (talkcontribs)

This issue is fixed in the master branch, thanks!

Hot to enable: navigation, search?

2
79.240.97.30 (talkcontribs)

I'm very confused that this skin does not display navigation and search :-(

Martynov Maxim (talkcontribs)

Hi.

What is your MediaWiki version?

Reply to "Hot to enable: navigation, search?"

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
Return to "DarkVector" page.