Page MenuHomePhabricator

MobileFrontend should provide a way for the pages to display mobile-only content
Closed, DeclinedPublic

Description

When we activated the old mobile homepage on ro.wp, we decided to provide a stripped-down version of the quality articles, as well as some other sections.

With the new id system, this is not possible, since we don't know when the mobile site is active. I thought about introducing an invisible div for the mobile site, but that is an ugly hack. THere should be a way of deciding whether a certain page is served for the mobile site or for the main one.


Version: --
Severity: enhancement

Details

Reference
bz32597

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:07 AM
bzimport set Reference to bz32597.

It's not clear what needs to be done here.

Pages that render incorrectly on mobile should be dealt with on a case by case basis. If a user is viewing the mobile site every page should be mobile optimised as otherwise the experience is just confusing (with the complete change of UI)

Note you can wrap desktop content in a class nomobile to remove it from the mobile output.

What needs to be done here is to also have a class mobile (since we have class nomobile). I am not reopening this since class nomobile works for my usecase.