addwiki / wikibase-datamodel
A Wikibase datamodel
3.1.0
2024-07-12 17:24 UTC
Requires
- php: >=8.1
- addwiki/mediawiki-datamodel: ^3.1
- serialization/serialization: ~3.2||~4.0
- wikibase/data-model: ~9.2||~8.0
Requires (Dev)
- mediawiki/mediawiki-codesniffer: ~38.0
- php-parallel-lint/php-parallel-lint: ^1.2
- phpunit/phpunit: ~9
- wikibase/media-info: dev-master#d86d961a0eb0c28e9b5d8ce600c64a9dae973533
This package is auto-updated.
Last update: 2024-11-15 20:57:51 UTC
README
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.