Skip to content

Commit 3eeb681

Browse files
committed
Update introduction
1 parent f566ff3 commit 3eeb681

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# Wikibase DataModel JavaScript
22

33
**Wikibase DataModel JavaScript** is the JavaScript implementation of the
4-
[Data Model](https://www.mediawiki.org/wiki/Wikibase/DataModel)
4+
basic [Wikibase DataModel](https://www.mediawiki.org/wiki/Wikibase/DataModel)
55
at the heart of the [Wikibase software](http://wikiba.se/).
6+
As the [PHP implementation of the DataModel](https://github.com/wmde/WikibaseDataModel), this
7+
library only implements the basic Item and Property entity types, and the components they are made
8+
of.
9+
10+
Wikibase uses this library together with the
11+
[Wikibase Serialization JavaScript library](https://github.com/wmde/WikibaseSerializationJavaScript)
12+
to deserialize API responses from serialized JSON to actual DataModel objects. These objects can
13+
then be consumed and manipulated via convenient getter and setter methods, turned back into JSON via
14+
the corresponding serializer, and send back to the API.
615

716
[![Wikibase JavaScript Data Model UML diagram](https://upload.wikimedia.org/wikipedia/commons/thumb/c/c2/Wikibase_JavaScript_Data_Model_1.0.svg/600px-Wikibase_JavaScript_Data_Model_1.0.svg.png)](https://commons.wikimedia.org/wiki/File:Wikibase_JavaScript_Data_Model_1.0.svg)
817

0 commit comments

Comments
 (0)