< Extension:Wikibase Repository < Hooks
| 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.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.