thiemowmde created this task.
Herald added subscribers: Zppix, Aklapper.
Herald removed a project: Patch-For-Review.

TASK DESCRIPTION
  https://github.com/wmde/WikibaseDataModel/pull/670 proposes an 
`Int32EntityId` interface as a clean way to **de**construct an EntityId into a 
number. However, this interface is optional and not blocking us since we can do 
the same via `method_exists( …, 'getNumericId' )`.
  
  What's blocking us now (see 
https://gerrit.wikimedia.org/r/#/c/290461/1/lib/includes/Store/Sql/SqlEntityInfoBuilder.php)
 is the fact that we do not have a service to **re**construct an `EntityId` 
from an entity type (or a prefix) and a number. Currently we do this with 
`LegacyIdInterpreter::newIdFromTypeAndNumber` (used 8 times in production), but 
this static method can't learn new entity types.
  
  Patches for review:
  
  [ ] …

TASK DETAIL
  https://phabricator.wikimedia.org/T136294

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: JanZerebecki, JeroenDeDauw, aude, Lydia_Pintscher, Tobi_WMDE_SW, Aklapper, 
daniel, thiemowmde, Zppix, D3r1ck01, Izno, Wikidata-bugs, Mbch331



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to