addwiki/wikibase-datamodel

A Wikibase datamodel

3.1.0 2024-07-12 17:24 UTC

This package is auto-updated.

Last update: 2024-11-15 20:57:51 UTC


README

GitHub issue custom search in repo Latest Stable Version Download count

Issue tracker: https://github.com/addwiki/addwiki/issues

This library is generally only for use by other addwiki libraries.

There are probably not many usecases where you would want to install this package alone.

Installation

Use composer to install the library and all its dependencies:

composer require "addwiki/wikibase-datamodel:~3.0"

Load

require_once( __DIR__ . '/vendor/autoload.php' );

External Libraries

Some code, such as MediaInfo realted code is pulled in from MediaWiki extensions and can be found in the /lib directory. This is because this code is not availible as a library, but there is little point in rewriting it...

This code can be updated using the sync-copied-files composer command.

  • MediaInfo is pinned at d86d961a0eb0c28e9b5d8ce600c64a9dae973533 which is just before the 2021 DataModel changes, which this library is not yet adapted for.