Last modified: 2008-03-21 22:37:02 UTC
Administrating a wiki it can be very helpful to see, what people are searching for. This can be done with an extension, which does save the search terms into a special table and also evaluates this table. This could cause a performance problem and should mainly be used on small wikis. The extension needs the searchterm, I think it is in SearchEngine.php in function goResult( $term ) The first line should be the hook then, like wfRunHooks( 'SpecialSearchTerm', array( &$term ) ); I am not sure about the exact location and if $term has to be in an array, but I am sure the programmers understand my request. Gunter
Added hooks at search result display time in r32306 which will handle this.