Help:System message/zh



系统消息是纯文本的片段，维基文本，CSS，或Javascript帽子可以用来自定义页面和每种语言的外观和行为和区域设置. MediaWiki使用消息的任何面向用户界面的一部分，用于页面的UI的国际化和本地化，为核心和扩展.

源代码中的信息
所有MediaWiki使用的消息定义于一个消息文件中.


 * 参见：本地化#添加新消息

重新定义wiki上的信息
In addition to this, messages can be overridden from their default values by editing them on-wiki. Each message has a wiki page in the MediaWiki namespace with its message key as the name of the page. For example, the "aboutsite" message is stored at MediaWiki:aboutsite. By default this namespace is restricted from editing unless the user has the "editinterface" permission. A list of all message pages can be found on Special:AllMessages. Editing interface messages is typically straightforward, just like editing a normal wiki page, but it is restricted to users with the editinterface permission, which is assigned to sysops by default. The Special:AllMessages table contains two columns: the linked interface name, and the text. The text is horizontally split to show the default text above, and the customized text below. When a custom message does not exist, only the default will be shown. To customize a message, click the upper link in the left column (the name of the message). This link is red if the default text is in use, because the edit page is empty.

The lower links in the left column cells lead to the discussion pages for that message.

查找消息和文档
How each message is used by MediaWiki, variables available, parameters used, limitations, et cetera is explained with the [//translatewiki.net/w/i.php?title=Special%3ATranslate&task=reviewall&group=core&language=qqq&limit=5000&tux=0 complete documentation in the qqq pseudo-language] files, as per message documentation guidelines. Some longer explanation pages may exist for some interface messages at the older Category:Interface messages.

在MediaWiki1.18以后，你可以使用 或者 （如果已经存在 了）的URL指令来查看一个页面的系统讯息来源. 打个比方说. 所有引用自系统讯息的内容都会被一个key代替，告诉你这个内容来自哪一个系统讯息，一般的内容不会变成key.

In case the page uses tabs like e.g. special page "Preferences" you will have to add the tab after the uselang parameter, e.g..

参见

 * 手册:配置设置
 * 手册:消息API
 * 本地化
 * FAQ
 * meta:Help:System message
 * FAQ
 * meta:Help:System message