Jeroen De Dauw has uploaded a new change for review.

Change subject: Improved serialization for Claim and Statement and the objects 
they are composed of
......................................................................

Improved serialization for Claim and Statement and the objects they are 
composed of

* Completely removed relying on Serializable interface in EntityObject toArray
* Improved serialization robustness and size

string(212) 
"O:20:"Wikibase\ClaimObject":3:{s:11:"\000*\000mainSnak";C:30:"Wikibase\PropertySomeValueSnak":5:{i:42;}s:13:"\000*\000qualifiers";C:17:"Wikibase\SnakList":47:{a:2:{s:4:"data";a:1:{i:0;r:2;}s:5:"index";i:0;}}s:7:"\000*\000guid";N;}"

string(88) 
"{"m":["somevalue",42],"q":[["somevalue",42]],"g":"CB631B2E-7C9F-4F98-AEF6-918AD75DD0F1"}"

Change-Id: I9b621f77766df807c8a7ef7f0eeece8d4b8d166a
---
M lib/includes/claim/Claim.php
M lib/includes/claim/ClaimObject.php
M lib/includes/reference/Reference.php
M lib/includes/reference/ReferenceList.php
M lib/includes/reference/References.php
M lib/includes/snak/PropertyValueSnak.php
M lib/includes/snak/Snak.php
M lib/includes/snak/SnakList.php
M lib/includes/snak/SnakObject.php
M lib/includes/snak/Snaks.php
M lib/includes/statement/StatementObject.php
M lib/tests/phpunit/snak/SnakTest.php
12 files changed, 156 insertions(+), 39 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/98/34298/1
--
To view, visit https://gerrit.wikimedia.org/r/34298
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b621f77766df807c8a7ef7f0eeece8d4b8d166a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to