Page MenuHomePhabricator

mw-fr-revisiontag element uses non-core "nomobile" class, so default MediaWiki skins still display it on mobile
Closed, DeclinedPublicFeature

Description

The element "mw-fr-revisiontag" at the top of the page uses the class "nomobile" to apparently hide it on mobile. This class is not defined at least in any of the default skins shipped with Mediawiki.

If you are viewing an unreviewed page on mobile, the content is interrupted by this element because the element is shown because the class has no effect.

I propose to use a method that is available in the default skins or the custom css of the extension to ensure the element is hidden on mobile.

Event Timeline

Aklapper changed the subtype of this task from "Bug Report" to "Feature Request".Dec 27 2020, 12:54 PM

@Tkinkhorst: How is "on mobile" defined? How exactly would you detect this anyway?

Aklapper renamed this task from mw-fr-revisiontag element uses nonexistent nomobile class to mw-fr-revisiontag element uses nonexistent "nomobile" class, so it will still be displayed on mobile with default MediaWiki skins.Jan 11 2021, 10:47 AM
Wugapodes renamed this task from mw-fr-revisiontag element uses nonexistent "nomobile" class, so it will still be displayed on mobile with default MediaWiki skins to mw-fr-revisiontag element uses non-core "nomobile" class, so default MediaWiki skins still display it on mobile.Mar 16 2021, 9:30 PM
Wugapodes triaged this task as Low priority.
Jdlrobson changed the task status from Open to Stalled.Mar 17 2021, 6:33 PM
Jdlrobson raised the priority of this task from Low to Needs Triage.
Jdlrobson subscribed.

I don't know what this task is about as written. Please can you provide a URL and possibly a screenshot so we can triage it effectively?

The nomobile class has nothing to do with vector or mediawiki core. It is an on-wiki construction so the fix is likely on wiki.