Page MenuHomePhabricator

{{hat}} and similar templates on Wikipedia are invisible to mobile web view.
Closed, ResolvedPublic

Description

When using mobile view, {{hat}} and {{collapse-top}} templates, and the content they enclose, are completely invisible.

Wikipedia_Mobile_bug_with_hat_template.jpg (4×3 px, 5 MB)

Photograph of this revision of WP:AE displayed on a Samsung Galaxy S5 (I couldn't work out how to screenshot it!). Rendered in the latest version of Chrome for Android.

archiving_templates_in_desktop_view.png (805×1 px, 91 KB)

Screenshot of my sandbox page rendered in desktop view by Firefox 36.0.4.

archiving_templates_in_mobile_view.png (909×914 px, 103 KB)

Screenshot of the same page rendered in mobile view in the same browser. All sections are expanded and should be visible.

Related Objects

StatusSubtypeAssignedTask
InvalidNone
ResolvedTheDJ
ResolvedTgr
ResolvedAnomie
Resolvedtstarling
Resolvedcoren
ResolvedAnomie
DeclinedBUG REPORTNone
ResolvedAnomie
Resolved Esanders
Resolved Esanders
Resolved ssastry
ResolvedAnomie
ResolvedCKoerner_WMF
Resolvedjhsoby
ResolvedTgr
DeclinedTgr
Resolvedcoren
ResolvedAnomie
ResolvedTgr
DeclinedNone
Resolved ssastry
ResolvedTgr
ResolvedTgr
ResolvedTgr
Resolved Deskana
ResolvedCKoerner_WMF
Resolved Whatamidoing-WMF
ResolvedTgr
ResolvedTgr
ResolvedTgr
Resolved Urbanecm
ResolvedTgr
ResolvedTacsipacsi
ResolvedTgr
ResolvedCKoerner_WMF

Event Timeline

Thryduulf raised the priority of this task from to Needs Triage.
Thryduulf updated the task description. (Show Details)
Thryduulf added a project: Web-Team-Backlog.
Thryduulf subscribed.
Nemo_bis triaged this task as Medium priority.May 12 2015, 6:46 AM
Nemo_bis added a project: MobileFrontend.
Nemo_bis set Security to None.
Jdlrobson lowered the priority of this task from Medium to Low.Feb 5 2016, 12:12 AM
Jdlrobson edited projects, added Mobile; removed MobileFrontend.
TheDJ claimed this task.
TheDJ subscribed.

This was because template:hat carried the 'navbox' class. While it is visually similar to a navigation box, it is not an actual navigation box. Therefore removed the class.