Thiemo Mättig (WMDE) has uploaded a new change for review. https://gerrit.wikimedia.org/r/290484
Change subject: Split entity-id-builder-pair config into pattern and builder ...................................................................... Split entity-id-builder-pair config into pattern and builder Change-Id: I04119ef466ffdff31789582dda35d9ca4416363e Depends-on: I8f0b050ca0eb558016af74b8560515354792b6a7 --- M WikibaseMediaInfo.entitytypes.php 1 file changed, 4 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseMediaInfo refs/changes/84/290484/1 diff --git a/WikibaseMediaInfo.entitytypes.php b/WikibaseMediaInfo.entitytypes.php index 0c142d8..d402d75 100644 --- a/WikibaseMediaInfo.entitytypes.php +++ b/WikibaseMediaInfo.entitytypes.php @@ -83,12 +83,10 @@ $wikibaseRepo->getLanguageFallbackLabelDescriptionLookupFactory() ); }, - 'entity-id-builder-pair' => [ - MediaInfoId::PATTERN, - function( $serialization ) { - return new MediaInfoId( $serialization ); - } - ], + 'entity-id-pattern' => MediaInfoId::PATTERN, + 'entity-id-builder' => function( $serialization ) { + return new MediaInfoId( $serialization ); + }, 'entity-differ-strategy-builder' => function() { return new MediaInfoDiffer(); }, -- To view, visit https://gerrit.wikimedia.org/r/290484 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I04119ef466ffdff31789582dda35d9ca4416363e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikibaseMediaInfo Gerrit-Branch: master Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits