Extension:HoneyPot

This extension is professionally maintained by the WikiTeq team.
WikiTeq provides official support for MediaWiki LTS releases only. It may work with other MediaWiki releases.
MediaWiki extensions manual
HoneyPot
Release status: stable
Description The HoneyPot extension adds a basic honeypot to the account creation interface to help prevent automated account creation attempts.
Author(s) WikiTeq team
Maintainer(s) WikiTeq team
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.35, 1.39
License GNU General Public License 2.0 or later
Download
README
$wgHoneyPotMisleadingError
Quarterly downloads 6 (Ranked 131st)
Translate the HoneyPot extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The HoneyPot extension integrates a "honeypot" mechanism into the MediaWiki account creation interface. This approach inserts a text field hidden from users by CSS (but not of the hidden input type) and blocks account creation if a value is input into this field, aiming to deter spambots and automated account creation efforts.

Installation

edit
  • Download and move the extracted HoneyPot folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/HoneyPot
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'HoneyPot' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

edit

The extension introduces a configuration option $wgHoneyPotMisleadingError to control the error message displayed when the honey pot is triggered. By default, $wgHoneyPotMisleadingError is set to false, providing an explicit explanation. If set to true, a generic password mismatch error is shown instead