HomePhabricator

Don't update statements that have not changed
dac084bc10e9Unpublished

Authored by matthiasmullie on Feb 18 2019, 11:47 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Don't update statements that have not changed

This is a pretty massive refactor that introduces Wikibase's
JS data models. The main reason for doing so it that it'll
bring consistency in how the data is used.
The serialized form, as we were using, is not always consistent.
E.g. { entity-type: 'item', id: 'M123' } has the same meaning
as { entity-type: 'item', numeric-id: 123, id: 'M123' }

That made it quite annoying to test if data had changed...

Bug: T216252
Change-Id: Ia353fa5a091f9f5839cc79049f83b80acc350093

Details

Committed
matthiasmullieFeb 18 2019, 6:14 PM
Parents
rEWBIafc19348f58c: Detach button before it gets deleted
Branches
Unknown
Tags
Unknown
References
refs/changes/88/491288/1
ChangeId
Ia353fa5a091f9f5839cc79049f83b80acc350093