Jump to content

Manual:Interfície

From mediawiki.org
This page is a translated version of the page Manual:Interface and the translation is 23% complete.
Captura de pantalla de la vista d'escriptori de la 1.31 del MediaWiki
Captura de pantalla de la vista mòbil

La interfície de MediaWiki és la totalitat del codi HTML de sortida d'una pàgina wiki, excepte el text del cos. La interfície inclou els tabuladors per sobre de cada pàgina, la barra lateral, i els enllaços personals.

Localitzant la interfície

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.

You can edit the text strings and images displayed for the current user interface language via the special page Special:Allmessages. For more information on this page and editing these messages, please see:

Customizing the interface

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

Editing interface messages is typically straightforward, just like editing a normal wiki page. 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.

  • Footer Customize the content of the site footer.
  • 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 Manual: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.

See also

  • Codex , design system for Wikimedia
  • OOUI
  • Manual:Forms discusses how to add forms to both the interface and within the body of articles.