JeroenDeDauw added a comment. We could just bolt the whole pile of extension points on top of the WikibaseRepo class. Then extensions to Wikibase Repository could do something like
$wikibaseRepo->registerEntityIdParser( $myNewEntityIdParser ); This will add a lot of state to WikibaseRepo, which already has quite some state (though all state with a different purpose). Adding a distinct service that is then used by WikibaseRepo is probably better. Looking into this more before actually making changes is advised, since changing it later will be difficult. TASK DETAIL https://phabricator.wikimedia.org/T76021 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. To: JeroenDeDauw Cc: wikidata-bugs, thiemowmde, hoo, Lydia_Pintscher, daniel, GPHemsley, aude, JeroenDeDauw, Wikidata-bugs _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs