Page MenuHomePhabricator

Vector does not show images when used as a mobile skin
Closed, DuplicatePublic

Description

MediaWiki 1.30.0
MobileFrontend 2.0.0 (5ecc673)

You can see here the problem.
The second image doesn't show when we try to open it on mobile device (or chrome dev tools).

name

Use this link to look at the wiki code name

Event Timeline

Jdlrobson renamed this task from Do not show images. to Vector does not show images when used as a mobile skin.EditedMar 7 2018, 1:33 AM
Jdlrobson added a subscriber: Jdlrobson.

Option 1: Please install the Minerva skin (https://www.mediawiki.org/wiki/Skin:Minerva_Neue) or upgrade your MobileFrontend to a newer version. This bug was addressed in T173454.

Option 2: Specifically, https://gerrit.wikimedia.org/r/376557 and https://gerrit.wikimedia.org/r/376553 should address the problem if upgrading is not possible and you can apply them to your wiki.

Option 3: you can disable $wgMFLazyLoadImages

$wgMFLazyLoadImages

Do load images in pages lazily. Currently it doesn't affect HTML-only clients
(only JS capable ones) and it lazy loads images when they come close to the
viewport.

  • Type: Array
  • Default:
php
  [
    // These will enable lazy loading images in beta mode
    'beta' => false,
    // These will enable lazy loading images in all modes
    'base' => false,
  ]

Thanks. I am just using a git version now. I works well.