Markus-Rost / mediawiki-extensions-SearchDigest

Displays the most popular failed wiki searches in a special page, Special:SearchDigest.

Repository from Github https://github.comMarkus-Rost/mediawiki-extensions-SearchDigestRepository from Github https://github.comMarkus-Rost/mediawiki-extensions-SearchDigest

SearchDigest

MediaWiki extension which tracks failed searches on your wiki and displays them on a dedicated special page. This was originally a feature on Wikia wikis.

Live demo: https://runescape.wiki

Requirements

Please use the appropriate release branch for your MediaWiki version.

Installation

  1. Clone this repository to your MediaWiki installation's extensions folder
  2. Run the maintenance/update.php update script to add the necessary tables to your database
  3. Modify your LocalSettings.php file and add:
// Load the extension
wfLoadExtension( 'SearchDigest' );

Configuration

Variable Type Description Default
$wgSearchDigestStrikeValidPages bool Whether to strike out valid pages (pages that exist) on the special page true
$wgSearchDigestCreateRedirect bool Whether to show a button for quickly creating redirects on Special:SearchDigest (requires JS in browser) true
$wgSearchDigestMinimumMisses int Number of misses for a query before they should show up on Special:SearchDigest 10

Translation

This extension can be translated through the messages in the ì18n folder if you're a developer. As a wiki administrator, you may find it a better option to edit the messages on-site in the MediaWiki namespace.

License

This extension is licensed under GNU GPLv3, see here for more information.

About

Displays the most popular failed wiki searches in a special page, Special:SearchDigest.

License:GNU General Public License v3.0


Languages

Language:PHP 69.5%Language:JavaScript 29.6%Language:CSS 0.9%