Talk:Mobile Gateway/Mobile homepage formatting

Hi there! Is there any way to show completely different content for desktop users and mobile users? --C.eiermann (talk) 15:50, 26 July 2014 (UTC)
 * Hello C.eiermann. First: Plase use the talk page for MobileFrontend, i don't know, how much people read here :P It's possible to show a complete different content for mobile users, that's what explainend in this article :) Just define some div containers with id "mf-something" (where something is a string choosed by you). These containers are only visible in mobile view, not in desktop.

使用“ nomobile”的方式做移动的标注实在是太笨的方法
nomobile这种方式是吧原本不被干扰的全部干扰. 这种问题绝对不能用排除法. 应该是需要使用再标注的方式. 以前的mf-方式标注是非常对的. 建议改回来.

— Preceding unsigned comment added by Litanwei (talk • contribs) 02:34, 23 July 2016 (UTC)

mf-* elements
, could you please let us know why did you remove the mf-* instructions? Judging from the current code, these still work. Is there currently an alternative way to choose the sections to be used in the mobile main page?--Strainu (talk) 20:37, 19 June 2017 (UTC)


 * Yes. Use nomobile on the sections you do not want used. The mf- ids are enabled by a deprecated feature flag that is not enabled by default. When Extension:TemplateStyles gets deployed you can expect some messaging relating to removing usages as this will give far more control to editors. Jdlrobson (talk) 00:37, 20 June 2017 (UTC)