diqa/semantic-translation

为SemanticForms提供Wiki-Page-ID/标题翻译

安装: 12

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

类型:mediawiki-extension

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标题,反之亦然

配置

  1. $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'.
    
  2. $wgSTProperty

    标题属性的名称

    (如果缺少,则根据维基的内容语言使用默认值)