扩展:EntitySchema

This page is a translated version of the page Extension:EntitySchema and the translation is 29% complete.
MediaWiki的扩展的手冊
EntitySchema
發佈狀態: 穩定版本
实现 ContentHandler , 页面操作 , 特殊页面 , API
描述 Allows to store Shape Expression Schemas on wiki pages
作者 维基数据团队
最新版本 持续更新
兼容性政策 快照跟随MediaWiki发布。 master分支不向後兼容。
MediaWiki master
数据库更改
entityschema_id_counter
许可协议 GNU通用公眾授權條款2.0或更新版本
下載
readme
  • $wgEntitySchemaSkippedIDs
  • $wgEntitySchemaNameBadgeMaxSizeChars
  • $wgEntitySchemaSchemaTextMaxSizeBytes
  • $wgEntitySchemaEnableDatatype
  • $wgEntitySchemaShExSimpleUrl
季度下載量 13 (Ranked 158th)
翻譯EntitySchema的扩展
問題 尚未完成的工作 · 报告錯誤

The EntitySchema extension allows storing Shape Expressions Schemas on wiki pages (using ShExC syntax), as well as validating entities against those Schemas using the ShEx2 — Simple Online Validator. For more information on enabling this second part, see #Configuration.

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的EntitySchema目录内。
  • 只有從git安裝才运行Composer来安装PHP依赖,通过发行composer install --no-dev至扩展目录。 (参见任务T173141了解潜在问题。)
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'EntitySchema' );
    
    Configure as required.
  •   完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

Configuration

Prerequisites for displaying the optional "check entities against this Schema" link on the Schema page:

See also