addwiki/wikibase-datamodel

A Wikibase datamodel

Maintainers

👁 addshore

Package info

github.com/addwiki/wikibase-datamodel

pkg:composer/addwiki/wikibase-datamodel

Statistics

Installs: 456

Dependents: 1

Suggesters: 0

Stars: 0

3.1.0 2024-07-12 17:24 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

GPL-2.0-or-later cc9a2ec14402e30a5e9e4df6eb4d2783ead10052

  • Addshore

mediawikiwikibasewikidataDataModel

This package is auto-updated.

Last update: 2026-06-16 00:31:10 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.