Extension:Wikibase Repository/Hooks/WikibaseContentModelMapping

From MediaWiki.org
Jump to navigation Jump to search
WikibaseContentModelMapping
Available from version ??? (Gerrit change 120857)

Define function:
public static function onWikibaseContentModelMapping( &$map ) { ... }
Attach hook:
$wgHooks['WikibaseContentModelMapping'][] = 'MyExtensionHooks::onWikibaseContentModelMapping';
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:WikibaseContentModelMapping extensions.