Download the PHP package professional-wiki/wikibase-rdf without Composer

On this page you can find all versions of the php package professional-wiki/wikibase-rdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wikibase-rdf

Wikibase RDF

GitHub Workflow Status Type Coverage Latest Stable Version Download count

Wikibase extension that allows defining RDF mappings for Wikibase Entities.

Professional.Wiki created and maintains Wikibase RDF. We provide Wikibase hosting, Wikibase development and Wikibase consulting.

The Wikibase Stakeholder Group concieved and funded the extension.

Table of Contents

Usage

When the extension is enabled, Item and Property pages show a "Mapping to other ontologies" section. This section is located in between the "In more languages" and "Statements" sections.

Property page with a mapping

Users with editing permissions can add, edit or remove mappings.

A mapping consists of a predicate and a URL. The predicate can only be one out of a preconfigured set of values. The URL has to be a valid URL.

Mapping editing UI

Mapping predicates can be configured via the MediaWiki:MappingPredicates page by anyone with interface-admin permissions. You can also configure mapping predicates via PHP Configuration.

Mapping predicates configuration page Editing mapping predicates via the configuration page

REST API

This extension provides REST API endpoints for getting and setting the RDF mappings for a Wikibase entity.

For more information, refer to the REST API documentation.

Installation

Platform requirements:

The recommended way to install Wikibase RDF is using Composer with MediaWiki's built-in support for Composer.

On the commandline, go to your wikis root directory. Then run these two commands:

Then enable the extension by adding the following to the bottom of your wikis LocalSettings.php file:

You can verify the extension was enabled successfully by opening your wikis Special:Version page in your browser.

PHP Configuration

Configuration can be changed via LocalSettings.php.

Allowed predicates

List of allowed predicates.

Variable: $wgWikibaseRdfPredicates

Default: []

Example:

You can also configure what predicates are allowed via the MediaWiki:MappingPredicates page.

Development

To ensure the dev dependencies get installed, have this in your composer.local.json:

Running tests and CI checks

You can use the Makefile by running make commands in the WikibaseRDF directory.

Alternatively, you can execute commands from the MediaWiki root directory:

Release notes

Version 1.1.0 - 2022-11-25

Version 1.0.0 - 2022-10-04

Initial release for Wikibase 1.37 with these features:


All versions of wikibase-rdf with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
composer/installers Version ^2|^1.0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package professional-wiki/wikibase-rdf contains the following files

Loading the files please wait ....