Extension:Wikibase Repository/Hooks/WikibaseTextForSearchIndex
Appearance
From mediawiki.org
WikibaseTextForSearchIndex
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
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
Define function:
public static function onWikibaseTextForSearchIndex( EntityContent $caller, &$text ) { ... }
Attach hook:
$wgHooks['WikibaseTextForSearchIndex'][] = 'MyExtensionHooks::onWikibaseTextForSearchIndex';
Called from:
File(s): WikibaseMediaInfo / src/Content/MediaInfoContent.php
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.