Руководство:Интерфейс

This page is a translated version of the page Manual:Interface and the translation is 38% complete.
Outdated translations are marked like this.
Скриншот рабочего стола MediaWiki 1.31
Скриншот мобильной версии

The MediaWiki interface is the entirety of the output HTML code of a wiki page except the body text itself. Интерфейс включает вкладки над каждой страницей, боковую панель и персональные ссылки.

Перевод интерфейса

The default interface for many languages is defined in the MediaWiki localization files, and will update automatically if the language set by $wgLanguageCode or if a user's preferences are changed.

Вы можете редактировать текстовые строки и изображения для текущего языка пользовательского интерфейса с помощью специальной страницы Special:Allmessages. For more information on this page and editing these messages, please see:

Настройка интерфейса

Depending on one's requirements and programming expertise, there are several customization techniques available:

Редактировать сообщения интерфейса обычно так же просто, как редактировать обычную вики-страницу. These messages set defaults for various parts of the user interface and contain a combination of plain text, wiki markup, CSS and JavaScript. For details, see the documentation of the individual messages.

  • Skins - Fundamental changes to the layout of the interface may require attaching functions to one or more skin hooks and/or the creation of a custom skin.

For more information, please see Руководство:Стили оформления (skins) .

  • /JavaScript - improve browser behavior using some scripts. Includes a list of JavaScript variables.
  • /Stylesheets - improve layout and design using CSS.
  • /IDs and classes - a list of common CSS IDs and classes.


См. также

  • Manual:Forms - discusses how to add forms to both the interface and within the body of articles.