Extension:EntitySchema/de-formal
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.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
EntitySchema
im Ordnerextensions/
ablegen.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EntitySchema - Wird von git aus installiert, ist Composer auszuführen, um PHP-Abhängigkeiten zu installieren, indem
composer install --no-dev
im Erweiterungsverzeichnis ausgeführt wird. (Siehe task T173141 für mögliche Komplikationen.) - Folgenden Code am Ende Ihrer LocalSettings.php -Datei hinzufügen: Configure as required.
wfLoadExtension( 'EntitySchema' );
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Konfiguration
Prerequisites for displaying the optional "check entities against this Schema" link on the Schema page:
- In your "LocalSettings.php", set
$wgEntitySchemaShExSimpleUrl
to a non-empty string which represents the external verification tool to use (e.g. https://tools.wmflabs.org/shex-simple/wikidata/doc/shex-simple.html). - The link is only displayed on pages where the Schema text is not empty
Siehe auch
- Schemas and WikiProject Schemas on Wikidata
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |