Semantic MediaWiki and related extensions
hook
Since: 2.2
Description: Hook to extend the magic words list that the
InTextAnnotationParser
should inspect on a given text section
Reference class:
InTextAnnotationParser.php
Signature
use Hooks;
use
SMW\SQLStore\SQLStore
;
Hooks::register(
'SMW::Parser::BeforeMagicWordsFinder'
,
function
( array &$magicWords ) {
return
true
;
} );
See also
See the
SemanticBreadcrumbLinks
extension for how the hook can be used
About
|
General disclaimer
|
Privacy policy
Generated on Sun Apr 28 2024 03:09:11 for Semantic MediaWiki and related extensions by
1.8.13