Wikibase
MediaWiki Wikibase extension
|
SnakDeserializer
, like EntityIdValueParser
does.AliasGroupListDeserializer
and TermListDeserializer
misbehaving when confronted with language codes exclusively made of digits.SnakDeserializer
possibly accessing non-existing array elements.SerializerFactory::newEntitySerializer
as well as DeserializerFactory::newEntityDeserializer
.SnakDeserializer
constructor changed, but since it's declared package private, this shouldn't affect anyone.SerializerFactory
options OPTION_SERIALIZE_MAIN_SNAKS_WITHOUT_HASH
, OPTION_SERIALIZE_QUALIFIER_SNAKS_WITHOUT_HASH
and OPTION_SERIALIZE_REFERENCE_SNAKS_WITHOUT_HASH
.SerializerFactory::OPTION_SERIALIZE_SNAKS_WITHOUT_HASH
.StatementDeserializer
as well as other deserializersnewItemSerializer
and newPropertySerializer
to SerializerFactory
newItemDeserializer
and newPropertyDeserializer
to DeserializerFactory
newClaimSerializer
, newClaimsSerializer
and newSnaksSerializer
from SerializerFactory
newClaimDeserializer
, newClaimsDeserializer
and newSnaksDeserializer
from DeserializerFactory
SerializerFactory
option OPTION_SERIALIZE_MAIN_SNAKS_WITHOUT_HASH
SerializerFactory
option OPTION_SERIALIZE_QUALIFIER_SNAKS_WITHOUT_HASH
SerializerFactory
option OPTION_SERIALIZE_REFERENCE_SNAKS_WITHOUT_HASH
$serializeSnaksWithHash
parameter to newSnakListSerializer
, the default is b/c$serializeWithHash
parameter to newSnakSerializer
, the default is b/c$serializeWithHash
parameter to newTypedSnakSerializer
, the default is b/cnewAliasGroupSerializer
to SerializerFactory
newTermSerializer
to SerializerFactory
newTermListSerializer
to SerializerFactory
newAliasGroupListSerializer
to SerializerFactory
newTermDeserializer
to DeserializerFactory
newTermListDeserializer
to DeserializerFactory
newAliasGroupListDeserializer
to DeserializerFactory
SerializerFactory::newClaimsSerializer
in favour of SerializerFactory::newStatementListSerializer
DeserializerFactory::newClaimsDeserializer
in favour of DeserializerFactory::newStatementListDeserializer
SerializerFactory::newClaimSerializer
to SerializerFactory::newStatementSerializer
, leaving a b/c aliasSerializerFactory::newSnaksSerializer
to SerializerFactory::newSnakListSerializer
, leaving a b/c aliasDeserializerFactory::newClaimDeserializer
to DeserializerFactory::newStatementDeserializer
, leaving a b/c aliasDeserializerFactory::newSnaksDeserializer
to DeserializerFactory::newSnakListDeserializer
, leaving a b/c aliasSerializerFactory::newStatementListSerializer
DeserializerFactory::newStatementListDeserializer
FingerprintSerializer
now supports serializing AliasGroupFallback
s and TermFallback
sEntityDeserializer
now fails if the given serialization contains a term or alias that was either the result of a fallback or transliterationnewTypedSnakSerializer
to SerializerFactory
snaks-order
support to ReferenceSerializer
and ReferenceDeserializer
qualifiers-order
support to ClaimDeserializer
TypedSnakSerializer
Initial release with these features: