Wikibase
MediaWiki Wikibase extension
|
Variables | |
if(!defined( 'MEDIAWIKI')) global | $wgHooks |
Example showing how the search index behavior for Wikibase entities can be controlled using the WikibaseTextForSearchIndex hook. More... | |
$wgHooks ['WikibaseTextForSearchIndex'][] | |
if (!defined('MEDIAWIKI')) global $wgHooks |
Example showing how the search index behavior for Wikibase entities can be controlled using the WikibaseTextForSearchIndex hook.
If this config file is included, the search index will include all string and text values present in the main snak of any statement associated with an item.
$wgHooks[ 'WikibaseTextForSearchIndex'][] |