Mobile Gateway/Mobile homepage formatting/ia
Main pages of MediaWiki instances which go beyond traditional text (for example using two column layouts) usually require special treatment to display on mobile via Extension:TemplateStyles in responsive skins such as Skin:Timeless and Skin:Minerva .
Si le pagina principal (initial) de vostre projecto Wikimedia non ha essite formatate pro visualisation in apparatos mobile, e si tu es administrator del projecto in question, per favor seque le instructiones a basso.
Please note: In most cases, you must have administrator rights in order to edit the main page.
Hiding content on mobile
First, decide what content is suitable for the mobile homepage.
Evaluate the page elements in the desktop version (e.g. "Picture of the Day") by asking:
- how popular are they?
- are they updated regularly?
- are they suitable for quick reading?
- will they fit nicely in a mobile screen?
Once you decide which elements make sense, proceed to Step 2.
Tu debe esser identificate e posseder derectos administrative pro facer le sequente cosas. In le disposition scriptorio del pagina principal, clicca sur "Modificar" e cerca le elementos que tu vole includer in le disposition mobile.
Pro cata elemento, tu debe inserer un breve instruction in le wikitexto, appellate un "mf selector", inter etiquettas "div", per exemplo:
<div class="nomobile"> ... </div>
Que va inter le etiquettas <div> e </div>? Probabilemente un patrono pro un elemento del pagina, como le "imagine del die".
Using responsive styles
Certain styles are not mobile friendly. For example any css rules which make use of fixed pixel size e.g. width, height, padding. If different style treatment is needed please use Extension:TemplateStyles or port these styles to MediaWiki:Common.css or MediaWiki:Mobile.css. TemplateStyles is recommended but 3rd parties may wish to use the MobileFrontend feature flag $wgMFSiteStylesRenderBlocking.
For common problems with table based layouts, you can use the styles in the Minerva compatiblity template.
Some tips on common problems are addressed at Making MediaWiki Mobile Friendly .
Clicca sur "Publicar pagina".
Make sure to test all your changes!