Extension:SearchLog

Adds a new special page called Special:SearchLog which allows you to select a period to generate a table of search phrases and their usage count. See OrganicDesign:Special:SearchLog for a working example.

Installation
First create a directory called SearchLog in your wiki's extensions directory. Then, copy the searchlog source code from OrganicDesign:Extension:SearchLog.php and save it as a file called SearchLog.php into the newly created directory.

Add an include statement into your LocalSettings.php file to include the downloaded SearchLog.php file as usual, for example:

Configuration settings
Here are some global variables which affect the operation of the extension. These should be set in your LocalSettings file after the include of the SearchLog.php script.

Sortable Tables
I'll add some info about using sortable tables soon, until then see the talk page.

Bugs

 * Fatal error: Call to a member function getID on a non-object in SkinTemplate.php on 1.6.x and 1.7.x (the object in question is $wgArticle, tried setting it to an article if not already set, but that didn't work)

Change log

 * Version 0.0.6 (2007-12-09): fixed "no such index" bug
 * Version 0.0.3: made compatible with improved search-form used in Extension:Simple Forms example