- Allow phrase matching with content from plugins
- Does phrase matching with the wiki text
$event->data is passed the following array:
[ 'id' => $id, // string, page id 'phrase' => $phrase, //string, phrase to match with the content 'text' => rawWiki($id) //string, raw content of the wiki article ];
If the phrase matches the content, then
$evt->result must be set to
true. If already true, no further processing is needed.
devel/event/fulltext_phrase_match.txt · Last modified: 2022-09-17 01:30 by Klap-in