Mobile Gateway/Mobile homepage formatting/mk

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

Доколку главната страница на вашиот Викимедиин проект не е форматирана за читање од мобилни уреди, а вие сте администратор на проектот, тогаш проследете ги долунаведените напатствија.

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.

За да го направите следново, мора да бидете најавени и да имате администраторски права. На обичната главна страница, стиснете на „Уреди“ и најдете ги елементите што сакате да стојат на мобилната страница.

Секој елемент треба да добие кратка наредба во викитекстот, наречена „mf-одбирач“ (mf selector), која се става помеѓу div-ознаките вака:

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

Што се става помеѓу div-ознаките? Најверојатно шаблонот на елементот, како на пр. „Слика на денот“.

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 .

Стиснете на „Зачувај“.

Make sure to test all your changes!