Extension:Wikibase Repository/Hooks/WikibaseTextForSearchIndex

From mediawiki.org
WikibaseTextForSearchIndex
Available from version ??? (Gerrit change 160655)

Define function:
public static function onWikibaseTextForSearchIndex( EntityContent $caller, &$text ) { ... }
Attach hook:
$wgHooks['WikibaseTextForSearchIndex'][] = 'MyExtensionHooks::onWikibaseTextForSearchIndex';
Called from:File(s): Wikibase Repository / repo/includes/Content/EntityContent.php, repo/includes/Content/ItemContent.php

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

WikibaseTextForSearchIndex
Available from version ??? (Gerrit change 276219)

Define function:
public static function onWikibaseTextForSearchIndex( EntityContent $caller, &$text ) { ... }
Attach hook:
$wgHooks['WikibaseTextForSearchIndex'][] = 'MyExtensionHooks::onWikibaseTextForSearchIndex';
Called from:File(s): WikibaseMediaInfo / src/Content/MediaInfoContent.php

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