Manual:Interface

From MediaWiki.org

Jump to: navigation, search

The MediaWiki interface is the entirety of the output HTML code of a wiki page except the body text itself. The interface includes the tabs above each page, the side bar, and personal links.

Contents


[edit] Localizing the interface

The default interface for many languages is defined in the MediaWiki localization files, and will update automatically if the language set by $wgLanguageCode or in a user's preferences is 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:

[edit] Customizing the interface

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

  • Interface messages: Most look and feel customizations can be done by modifying interface messages using the Special:Allmessages page. 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.
  • 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.

[edit] See also

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