HomePhabricator

[IMPR] Load entities when necessary

Description

[IMPR] Load entities when necessary

Wikibase entities are now loaded when their data attributes
are accessed. Calling WikibaseEntity.get isn't necessary
anymore (analogous to BasePage.get and BasePage.text).

New empty entities have special handling. Expand tests accordingly.

Bug: T245809
Change-Id: I45202d0c4fd882b5bff3c66e8dd69e36ee303f3f

Details

Provenance
matej_suchanekAuthored on Sep 11 2020, 10:45 AM
Parents
rPWBC64351fe110c8: Update git submodules
Branches
Unknown
Tags
Unknown
ChangeId
I45202d0c4fd882b5bff3c66e8dd69e36ee303f3f