Skip to content

Commit 56ec215

Browse files
JeroenDeDauwaddshore
authored andcommitted
Make DataModel usable in Wikibase again
This by reverting the ClearableEntity change which is causing the problems. See https://phabricator.wikimedia.org/T206325
1 parent adf5a5d commit 56ec215

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ the git repository and take care of loading yourself.
2929
To add this package as a local, per-project dependency to your project, simply add a
3030
dependency on `wikibase/data-model` to your project's `composer.json` file.
3131
Here is a minimal example of a `composer.json` file that just defines a dependency on
32-
Wikibase DataModel 8.x:
32+
Wikibase DataModel 9.x:
3333

3434
```js
3535
{
3636
"require": {
37-
"wikibase/data-model": "~8.0"
37+
"wikibase/data-model": "~9.0"
3838
}
3939
}
4040
```

RELEASE-NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Wikibase DataModel release notes
22

3-
## Version 8.1.0 (dev)
3+
## Version 9.0.0 (dev)
44

5+
* Breaking change: `EntityDocument` no longer extends `ClearableEntity` (8.0.0 revert)
56
* The `TermList` constructor now takes any `iterable` instead of just `array`
67
* Added `TermList::addAll`
78

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"extra": {
5151
"branch-alias": {
52-
"dev-master": "8.1.x-dev"
52+
"dev-master": "9.0.x-dev"
5353
}
5454
},
5555
"scripts": {

src/Entity/EntityDocument.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
1616
* @author Bene* < benestar.wikimedia@gmail.com >
1717
*/
18-
interface EntityDocument extends Comparable, ClearableEntity {
18+
interface EntityDocument extends Comparable {
1919

2020
/**
2121
* Returns a type identifier for the entity, e.g. "item" or "property".

0 commit comments

Comments
 (0)