Extension:SearchStats
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> <translate> If you are interested in taking on the task of developing and maintaining this extension, [[<tvar name=request>Special:MyLanguage/Gerrit/Privilege policy#Requesting Gerrit privileges</tvar>|you can request repository ownership]].</translate> <translate> As a courtesy, you may want to contact the author.</translate> <translate> You should also remove this template and list yourself as maintaining the extension in the page's <tvar name=extension>{{Extension }}</tvar> infobox.</translate> |
SearchStats Release status: unmaintained |
|
---|---|
Implementation | Search |
Description | Tracks searches users perform so that they can be analyzed for pages users are looking for on the wiki |
Author(s) | Steven Orvis (Sorvistalk) |
Latest version | 0.1.0 (2016-04-16) |
MediaWiki | 1.25+ |
PHP | 5.3+ |
Database changes | Yes |
Tables | SEARCH_QUERY |
License | GNU General Public License 2.0 or later |
Download | README |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Translate the SearchStats extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
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.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/SearchStats</tvar>|Download]] and move the extracted <tvar name=name>
SearchStats
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SearchStats - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'SearchStats' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
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
- Better tracking of all searches such as tracking direct hits
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions
- Extensions without an image
- Search extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- LoadExtensionSchemaUpdates extensions
- SpecialSearchCreateLink extensions
- SpecialSearchNogomatch extensions
- All extensions