wmde/WikibaseDataModel — pull request #180 by thiemowmde (2014-09-02 15:08:29+00:00)
Title: Fix Item::patchSiteLinks

The `'badges'` array key is not guaranteed to be set because of the way the diff algorithm in `EditEntity::fixEditConflict` works.

This fixes the same bug as #179 but does not invalidate the other patch. I suggest to merge both.