jeroen/wikibase-data-fixtures

Fixtures for Wikibase data that can be used in tests or examples

1.2.0 2017-03-01 17:12 UTC

This package is auto-updated.

Last update: 2024-10-28 23:51:30 UTC


README

Build Status Scrutinizer Code Quality Dependency Status Download count License

Latest Stable Version Latest Unstable Version

Wikibase DataFixtures contains Wikibase data meant for use in tests and examples.

Installation

You can use Composer to download and install this package as well as its dependencies. Alternatively you can simply clone the git repository and take care of loading yourself.

To add this package as a local, per-project dependency to your project, simply add a dependency on jeroen/wikibase-data-fixtures to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on Wikibase DataFixtures 1.0:

{
    "require": {
        "jeroen/wikibase-data-fixtures": "~1.0"
    }
}

Compatibility

PHP 5.5 and above are supported.

Generally existing data will not be modified. If it is, the release notes will definitely mention it, and the version number will be incremented appropriately. Changes to this library will come mainly in the form of additions, not as changes or removals. If an Item has a particular Statement, it will keep having it, even though additional statements might be added.

Running the tests

Running the tests

phpunit

Release notes

Version 1.2.0 (2017-02-28)

  • Allow installation together with Wikibase DataModel 6.x
  • Allow installation together with Wikibase DataModel 5.x
  • Dropped support for PHP 5.4

Version 1.1.0 (2015-11-22)

  • Added items Wikidata, WikimediaProject, OnlineDatabase and KnowledgeBase.

Version 1.0.0 (2015-11-03)

  • Allow installation together with Wikibase DataModel 4.x
  • Allow installation together with Wikibase DataModel 3.x

Version 0.2.4 (2014-10-21)

  • Allow installation together with Wikibase DataModel 2.x

Version 0.2.3 (2014-10-03)

  • Added sitelinks to the Berlin item

Version 0.2.2 (2014-09-11)

  • Use only stable versions of Wikibase DataModel 1.x
  • Added PostalCodeProperty
  • Added postal code to Berlin

Version 0.2.1 (2014-08-27)

  • Added compatibility with latest Wikibase DataModel changes

Version 0.2 (2014-08-19)

  • Renamed Country to CountryProperty
  • Added InstanceOfProperty, City and State

Version 0.1 (2014-08-17)

  • Initial release