Extension:Log Searches

At the moment, this one is just a dirty hack in order to log your search results into a comma separated file, which can be analyzed manually. This originally was a response to Project:Extension_requests and is far from complete. In order to turn this into a "real" extension a new hook would have to added into Special:Search. --Flominator 09:21, 25 October 2007 (UTC)

Installation
Place this code in /extensions/LogSearches.php ...

... and this one in /LocalSettings.php ...

... and modify /includes/SpecialSearch.php:

line 83: function goResult( $term ) { log_goResult($term); global $wgOut;

line 129 function showResults( $term ) { '''log_showResults($term); $fname = 'SpecialSearch::showResults';