Jump to content

Extension:Wikibase Repository/Hooks/WikibaseRepoDataTypes

From mediawiki.org
WikibaseRepoDataTypes
Available from version ??? (Gerrit change 228854)

Define function:
public static function onWikibaseRepoDataTypes( array &$dataTypeDefinitions ) { ... }
Attach hook:
$wgHooks['WikibaseRepoDataTypes'][] = 'MyExtensionHooks::onWikibaseRepoDataTypes';
Called from:File(s): Wikibase Repository / repo/includes/WikibaseRepo.php

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:WikibaseRepoDataTypes extensions.