From https://phabricator.wikimedia.org/T125822#2215088:
- Places in the code when assigning a fresh id to a new entity that expect numeric entity ids and expect methods like ItemId::newFromNumber exist for MediaInfoId
From https://phabricator.wikimedia.org/T125822#2215088:
- Places in the code when assigning a fresh id to a new entity that expect numeric entity ids and expect methods like ItemId::newFromNumber exist for MediaInfoId
Change 285905 had a related patch set uploaded (by Adrian Heine):
Temporarily support numeric entity in MediaInfo::setId
Since MediaInfo entities are currently using arbitrary, prefixed numeric entity ids, I propose to make it work with the code we already have. Depending on how we implement creation of MediaInfo entities, we won't even need to change WikibaseRepo. The code that's currently responsible for assigning fresh ids just does nothing if an entity already has an id.
Change 285905 merged by jenkins-bot:
Temporarily support numeric entity in MediaInfo::setId
Change 277582 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
Only use numeric ids on supported entity types