Mobile Gateway/Mobile homepage formatting/it

Se la pagina principale (home page) del progetto Wikimedia non è stata formattata per la visualizzazione su dispositivi mobili, e si è un amministratore di tale progetto, si prega di seguire le istruzioni riportate di seguito.

Please note: You must have administrator rights in order to edit the homepage.

Passo 1
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.

Step 2
Devi aver effettuato il login e disporre di diritti amministrativi per eseguire le seguenti operazioni. Nella visualizzazione desktop della home page, fare clic su e cercare gli elementi che si desidera includere nella visualizzazione mobile.

Each element you want excluded from the page should be given a class "nomobile" or wrapped in an element with this class present.

What goes in between the opening and closing div tags? It will most likely be a template for the page element, such as "Picture of the Day".

Updating 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 the Extension:TemplateStyles or port these styles to MediaWiki:Common.css or MediaWiki:Mobile.css.

Some tips on common problems are addressed @ Making MediaWiki Mobile Friendly.

Fare clic su "".

Hai quasi finito.

Passo 3
Now go to the mobile URL, which is typically languagecode.m.project.org. If your project doesn't have a mobile URL, please contact the mobile team at. You can reduce the width of your desktop browser to mimic a mobile screen. How does the page look?

Se si desidera apportare modifiche, tornare al punto 2. Proseguire dal punto 2 al punto 3 fino a quando non sono soddisfatti.

Questo è tutto!

Un esempio
The homepages of each language version of Wikipedia and all of the other Wikimedia projects are diverse, so it is impossible to present a universal example. Nevertheless, to give some idea of how this might look on your site, here is the German version of Wikipedia: https://de.wikipedia.org/ If you click on the View source ("Quelltext anzeigen") tab next to "Lesen", you can see the wikitext and using your browser's Find feature, look for the string, "mf-".

In this case, the div tag for the mf selectors are part of larger page objects. Only someone familiar with that project's homepage formatting will understand this in detail.

Now go to: https://de.m.wikipedia.org/ The resulting mobile page will be visible. The sections of content corresponding to the mf selectors are rendered in the mobile view.