手册:$wgUseDatabaseMessages
Appearance
语言、区域和字符编码设置: $wgUseDatabaseMessages | |
---|---|
使用MediaWiki:命名空间翻译 |
|
引进版本: | 1.1.0 |
移除版本: | 仍在使用 |
允许的值: | (布尔值) |
默认值: | true (1.2+)false (1.1) |
其他设置: 按首字母排序 | 按功能排序 |
细节
This variable determines whether the MediaWiki namespace is used to modify language files.
If true
, then the wiki's interface is editable by those with editinterface
privileges; if false
, then the wiki's interface is determined directly from the internationalized message file specified in $wgLanguageCode
.
Setting this variable to true will cause all interface messages to be retrieved from the database, which will increase load times by 25-60% (unless memcached is installed, in which case messages will be retrieved from the cache, which is a lot quicker). For performance reasons, it is recommended that you disable this setting if you do not have memcached.