Jump to content

Mobile Gateway/Mobile homepage formatting/es

From mediawiki.org
This page is a translated version of the page Mobile Gateway/Mobile homepage formatting and the translation is 26% complete.

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 Extensión:TemplateStyles in responsive skins such as Apariencia:Timeless and Skin:Minerva .

Si eres administrador de un proyecto Wikimedia y la página principal o de inicio de tu proyecto no tiene el formato apropiado para dispositivos móviles, sigue las instrucciones siguientes.

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.

Se deben tener derechos administrativos y haber iniciado la sesión para poder realizar lo siguiente: En la visualización de escritorio de la página de inicio, pulsa "Editar" y busca los elementos que deseas incluir en la visualización de móvil.

Por cada elemento hay que incluir una breve instrucción en el Wikitext, llamada "selector mf", entre etiquetas div de este modo:

<div class="nomobile"> ... </div>

¿Qué va entre las etiquetas div? Probablemente una plantilla del elemento de página, como "Foto del día".

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 Extensión: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 .

Pulsa "Guardar la página".

Make sure to test all your changes!