Page MenuHomePhabricator

The 'viewport' meta element 'content' attribute value should contain 'width=device-width'.
Closed, DeclinedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
An error/warning is reported by the browser in the Compatibility section :

The 'viewport' meta element 'content' attribute value should contain 'width=device-width'.
Affected ressource : <meta name="viewport" content="width=1000">
How to Fix the Problem : https://webhint.io/docs/user-guide/hints/hint-meta-viewport/

What should have happened instead?:
Nothing. The browser should not report any bugs.

Software version (skip for WMF-hosted wikis like Wikipedia): WMF-hosted wiki (French Wikinews)

Other information (browser name/version, screenshots, etc.):
System : Windows 10
Browser : Edge 114.0.1823.67
I'm only passing on what the browser says, but the problem is probably in the site code.

Event Timeline

Jdlrobson closed this task as Declined.EditedOct 15 2024, 8:58 PM
Jdlrobson subscribed.

This is unfortunately by design as many of our editors use the desktop skin on mobile devices specifically to avoid responsive behaviour. Right now the behaviour is intended for legacy skins but unfortunately this also applies to Vector 2022 which has the ability to be responsive (T311795).

You can change this behaviour by RFC on your local wiki by enabling using $wgVectorResponsive which can be changed via the https://wikitech.wikimedia.org/wiki/Wikimedia_site_requests process. Wikifunctions for example does this.

T106463 captures trying to make this a global setting