|
Wikibase
MediaWiki Wikibase extension
|
This is a hook handler interface, see docs/Hooks.md in MediaWiki core. More...
Inheritance diagram for Wikibase\Repo\Hooks\WikibaseRepoDataTypesHook:Public Member Functions | |
| onWikibaseRepoDataTypes (array &$dataTypeDefinitions) | |
Called when constructing the top-level WikibaseRepo factory May be used to define additional data types. | |
This is a hook handler interface, see docs/Hooks.md in MediaWiki core.
Use the hook name "WikibaseRepoDataTypes" to register handlers implementing this interface.
| Wikibase\Repo\Hooks\WikibaseRepoDataTypesHook::onWikibaseRepoDataTypes | ( | array & | $dataTypeDefinitions | ) |
Called when constructing the top-level WikibaseRepo factory May be used to define additional data types.
See also WikibaseClientDataTypesHook.
Hook handlers may add additional definitions. See datatypes documentation for details.
| array[] | &$dataTypeDefinitions | the array of data type definitions, as defined by WikibaseRepo.datatypes.php. |
Implemented in Wikibase\Repo\Hooks\WikibaseRepoHookRunner.