Topic on Skin talk:DarkVector

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!