Extension:SearchStats

The SearchStats extension tracks user searches that do not result in a direct hit from a page. The search saves the search term to a new table called search_query. Most recent 10 searches and top 10 searches can then be viewed on the SearchStats special page.

Future Ideas
The following are ideas of additional features that may or may not be added to this extension in the future:
 * Tracking the user's role that did the search (assumes the user was logged in)
 * Hard-code filtering out a certain role on the stats page
 * LocalSettings configuration to turn tracking on and off
 * LocalSettings configuration of which roles to ignore on the stats page
 * Add a way to export full stats to a CSV file
 * LocalSettings configuration for role access to the stats page