diqa/semantic-translation
为SemanticForms提供Wiki-Page-ID/标题翻译
dev-master
2018-02-11 10:45 UTC
This package is auto-updated.
Last update: 2024-08-29 04:40:40 UTC
README
将title-属性转换为wiki标题,反之亦然
配置
-
$wgSTFieldsToTranslate
要翻译的字段名称数组,例如
[ 'Bau', 'Ensemble' ] meaning all fields with these names are translated in every form where they appear.
也可以完全限定字段名称,例如
[ 'Objekt[Bau]', 'Ensemble' ] meaning that the field 'Bau' is only translated in the form 'Objekt'.
-
$wgSTProperty
标题属性的名称
(如果缺少,则根据维基的内容语言使用默认值)