Extension:EntitySchema

This page is a translated version of the page Extension:EntitySchema and the translation is 36% complete.
راهنمای افزونهٔ مدیاویکی
EntitySchema
وضعیت انتشار: پایدار
انجام ContentHandler , Page action , Special page , API
توضیحات Allows to store Shape Expression Schemas on wiki pages
نویسنده(گان) تیم ویکی‌داده
آخرین نسخه: به‌روزرسانی‌های پیوسته
سیاست سازگاری Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki master
تغییر پایگاه داده بله
جدول‌ها entityschema_id_counter
مجوز GNU General Public License 2.0 or later
بارگیری
readme
  • $wgEntitySchemaSkippedIDs
  • $wgEntitySchemaNameBadgeMaxSizeChars
  • $wgEntitySchemaSchemaTextMaxSizeBytes
  • $wgEntitySchemaEnableDatatype
  • $wgEntitySchemaShExSimpleUrl
Quarterly downloads 8 (Ranked 139th)
Translate the EntitySchema extension
Issues Open tasks · گزارش یک مشکل

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.

نصب

  • Download and move the extracted EntitySchema folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EntitySchema
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See وظیفه T173141 for potential complications.)
  • کد زیر را در انتهای $LocalSettings خودتان اضافه کنید:
    wfLoadExtension( 'EntitySchema' );
    
    براساس نیاز پیکربندی کنید.
  •   انجام شد – به Special:Version در ویکی خودتان بروید تا مطئمن شوید که افزونه با موفقیت نصب شده است.

Configuration

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

See also