Extension:MySystemMessages/zh

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki扩展手册
OOjs UI icon advanced.svg
MySystemMessages
发布状态: 稳定版
实现 我的Wiki
描述 Allows to add wiki specific system messages
作者 Karsten Hoffmeyer (Kghblntalk)
最新版本 1.0.1 (2015-01-07)
MediaWiki 1.17+
PHP 5.3+
数据庫更新
许可协议 ISC授權條款
下载
自述文件
CHANGELOG
翻译MySystemMessages扩展如果在translatewiki.net可用
检查使用和版本矩阵。

Template:Extension/archived

The MySystemMessages extension allows to add wiki specific system messages. This extension comes in quite handy if you have multiple wiki instances which share the same content structure for, e.g. templates and forms. It makes it easier to deploy translations to these wiki instances by avoiding individual message setup on every instance. This also makes farming easier since the system messages may easily be deployed to all wiki instances.

安装[edit]

  • 下载文件,并将其放置在您extensions/文件夹中的MySystemMessages目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    require_once "$IP/extensions/MySystemMessages/MySystemMessages.php";
    
  • See the README for how to configure this extension.
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

用法[edit]

To add a system message to a page you will use the "int" parser function provided by core MediaWiki, i.e. {{int:message identifier}}, e.g. {{int:mysm-mymessage}}. Thus the message will be shown in the language the user selected in her or his preferences. If a message is not available in the internationalized version for a specific language the English version will be shown.

参见[edit]