Skin talk:Metrolook

Jump to navigation Jump to search

About this board

Why can't I see the notification icon (tray.svg) next to the alert bell?

4
Silkwood (talkcontribs)

My conf:

Product Version
MediaWiki 1.32.5
PHP 7.2.17-0ubuntu0.18.04.1 (apache2handler)
MariaDB 10.1.38-MariaDB-0ubuntu0.18.04.1
ICU 60.2
Elasticsearch 5.6.16
Skin Version License Description Authors
Metrolook 7.0 alpha 2 (578ddcf) 19:13, October 11, 2018 GPL-2.0-or-later Metrolook is a Metro-inspired fork of the Vector skin immewnity, Paladox, Craig Davison and lagleki

@Paladox although it works correctly with Monobook and Vector skins, the ECHO (Notifications) extension does not show the notification icon (tray.svg) in MetroLook but only the bell icon (bell.svg).

Am I miss some configuration parameter?


Any help appreciated.

Revansx (talkcontribs)

I'm experiencing the same thing. I assumed that metrolook is simply not compatible with Echo yet. Would love to know what the Metrolook devs have to say on this.

@Paladox - is there a quick answer on this one?

Paladox (talkcontribs)

Hi, Metrolook should be compatible with Echo. Possibly needs to be fixed to support it again.

Revansx (talkcontribs)

interesting that you say "again" .. Is there a history of issues with Echo?

Reply to "Why can't I see the notification icon (tray.svg) next to the alert bell?"

Jump to:

2
Summary last edited by Robertinventor 18:40, 9 May 2019 8 months ago

Had to remove lines 221-227 from the MetrlookTemplate.php file. They contained:


<div id="jump-to-nav" class="mw-jump">

<?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>

</div>

Generallund (talkcontribs)

Is there a way to remove the "Jump to: navigation, search" that I see on top of all of my pages?

Robertinventor (talkcontribs)
Reply to "Jump to:"
Squeak24 (talkcontribs)

I really like the look of this skin, I was just giving it a test drive on my development Wiki and got the following error:

( ! ) Warning: md5_file(D:\wamp64\www\devwiki/): failed to open stream: No such file or directory in D:\wamp64\www\devwiki\includes\OutputPage.php on line 3740 Call Stack

  1. Time Memory Function Location

1 0.0009 364936 {main}( ) ...\index.php:0 2 0.1669 12941432 MediaWiki->run( ) ...\index.php:42 3 0.1672 12941664 MediaWiki->main( ) ...\MediaWiki.php:524 4 1.9209 33037856 MediaWiki-> {closure:D:\wamp64\www\devwiki\includes\MediaWiki.php:866- 872}( ) ...\MediaWiki.php:880 5 1.9209 33037856 OutputPage->output( ) ...\MediaWiki.php:868 6 1.9245 33405048 OutputPage->addLogoPreloadLinkHeaders( ) ...\OutputPage.php:2351 7 1.9260 33636800 ResourceLoaderSkinModule::getLogo( ) ...\OutputPage.php:3941 8 1.9260 33636800 OutputPage::transformResourcePath( ) ...\ResourceLoaderSkinModule.php:115 9 1.9260 33636824 OutputPage::transformFilePath( ) ...\OutputPage.php:3725 10 1.9260 33636872 md5_file ( ) ...\OutputPage.php:3740 ( ! ) Warning: OutputPage::transformFilePath: Failed to hash D:\wamp64\www\devwiki/ [Called from OutputPage::transformFilePath in D:\wamp64\www\devwiki\includes\OutputPage.php at line 3742] in D:\wamp64\www\devwiki\includes\debug\MWDebug.php on line 309 Call Stack

  1. Time Memory Function Location

1 0.0009 364936 {main}( ) ...\index.php:0 2 0.1669 12941432 MediaWiki->run( ) ...\index.php:42 3 0.1672 12941664 MediaWiki->main( ) ...\MediaWiki.php:524 4 1.9209 33037856 MediaWiki-> {closure:D:\wamp64\www\devwiki\includes\MediaWiki.php:866- 872}( ) ...\MediaWiki.php:880 5 1.9209 33037856 OutputPage->output( ) ...\MediaWiki.php:868 6 1.9245 33405048 OutputPage->addLogoPreloadLinkHeaders( ) ...\OutputPage.php:2351 7 1.9260 33636800 ResourceLoaderSkinModule::getLogo( ) ...\OutputPage.php:3941 8 1.9260 33636800 OutputPage::transformResourcePath( ) ...\ResourceLoaderSkinModule.php:115 9 1.9260 33636824 OutputPage::transformFilePath( ) ...\OutputPage.php:3725 10 1.9288 33637768 wfLogWarning( ) ...\OutputPage.php:3742 11 1.9288 33637768 MWDebug::warning( ) ...\GlobalFunctions.php:1139 12 1.9289 33638296 MWDebug::sendMessage( ) ...\MWDebug.php:164 13 1.9289 33638520 trigger_error ( ) ...\MWDebug.php:309

Anyone now what's wrong? I have tried updating the site, but still get the same

Any help is appreciated.

Squeak24 (talkcontribs)

I have figured it out, it was in the local settings, I wasn't calling the logo correctly.

Squeak24 (talkcontribs)

I have figured it out, it was in the local settings, I wasn't calling the logo correctly.

Squeak24 (talkcontribs)

I have figured it out, it was in the local settings, I wasn't calling the logo correctly.

Reply to "Error when installing"

Issues with the Left Navigation Menu

1
KeybladeSpyMaster (talkcontribs)

I noticed on PidgiWiki, the search bar is at the top in the regular navigation menu. However, this isn't the case by default in the Metrolook skin. Is there anyway to make the sidebar in Metrolook behave more like the one on PidgiWiki (search in sidebar, ability to reload the sidebar when resizing from compact to full screen on desktop)

Reply to "Issues with the Left Navigation Menu"
2601:742:8104:3B5A:D0FD:E3E5:BD04:A4E2 (talkcontribs)

Hello, I changed my wiki settings to remove the default links in the drop down menu and made it three links instead of four. Now the page will not load and throws the exception "$key must be a string or an array". How can I get back to where I was to fix this? I've tried removing and readding the skin and that didn't help.

203.116.208.9 (talkcontribs)

remove the skin as default in localsettings, delete the skin, then reinstall again.

Then select the skin from editing preferences.

Reply to "Error with drop down links."

Search bar diappears when on tablet

2
Zzmonty (talkcontribs)

when I log into my website while on a tablet, the search bar disappears. This does not happen with a different theme, so it is specific to this theme and to only a tablet. I can't figure out how to fix it.

Zzmonty (talkcontribs)

Figured it out. It had to do with the line is tablet.less saying "portrtait" and "landscape" when it should only say "landscape".

Problem with POC link with accent

2
88.124.63.50 (talkcontribs)

Hello,

I install and configure metrolook skin. It's ok but I see a problem. Some internal page link (example with POC) don't work with metrolook (Ok with vector skin per example).

Example of link :

https://example.com/wiki/AGD2018#R.C3.A9sultat

88.124.63.50 (talkcontribs)

Ok, Solution come from mailing :

$wgFragmentMode = [ 'html5', 'legacy' ];

Reply to "Problem with POC link with accent"
Shlomixg (talkcontribs)

Hey, does this skin support right-to-left languages?

Paladox (talkcontribs)

It follows how vector skin does it. Though note there are big differences. RTL support is untested in the skin though.

Reply to "RTL Support"

How I add my configuration variable

3
109.190.132.255 (talkcontribs)

Hello,

It's maybe a ridiculus question but ... I'm able to install the skins but I want to disable the Avatar picture. If I read the documentation, I need add "$wgMetrolookDisableAvatar = false;" ... But in which file?

Thanks for your help :)

Ltrlg (talkcontribs)
Paladox (talkcontribs)

@Ltrlg thanks, yes LocalSettings.php

Reply to "How I add my configuration variable"

Removing/editing footer links

1
Summary by Ortzz

Never mind, solved it myself. I have only used ancient versions of mediawiki up until now and didn't realize that footer links are now controlled by the skin.php file and not skin dependent.

Ortzz (talkcontribs)

I was wondering how to remove/add footer links with this skin? It could be really obvious but I haven't been able to find any information on it. I also tried adding footer links through the LocalSettings.php but that didn't seem to work as well. Is that normal?