Extension:EntitySchema

This page is a translated version of the page Extension:EntitySchema and the translation is 64% complete.
MediaWiki 拡張機能マニュアル
EntitySchema
リリースの状態: 安定
実装 ContentHandler , ページの操作 , 特別ページ , API
説明 WikiページにShape Expression Schemasを格納できるようにする。
作者 ウィキデータ チーム
最新バージョン 継続的な更新
互換性の方針 MediaWiki とともにリリースされるスナップショット。 master には後方互換性がありません。
MediaWiki master
データベースの変更 はい
テーブル entityschema_id_counter
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
readme
  • $wgEntitySchemaSkippedIDs
  • $wgEntitySchemaNameBadgeMaxSizeChars
  • $wgEntitySchemaSchemaTextMaxSizeBytes
  • $wgEntitySchemaEnableDatatype
  • $wgEntitySchemaShExSimpleUrl
Quarterly downloads 8 (Ranked 130th)
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からインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EntitySchema
  • Gitでのインストールの場合のみ、PHPの依存関係をインストールするためComposerを実行します。 (合併症の可能性についてはタスク T173141を参照。)
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'EntitySchema' );
    
    必要に応じて設定します。
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

設定

スキーマページでオプションの「check entities against this Schema」リンクを表示するための前提条件。

関連項目