Extension:HoneyPot
From Linux Web Expert
<translate> This extension is professionally maintained by the WikiTeq team.</translate>
<translate> WikiTeq provides official support for [[<tvar name=1>Special:MyLanguage/Version lifecycle</tvar>|MediaWiki LTS releases only]].</translate> <translate> It may work with other MediaWiki releases.</translate>
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.39.0 |
License | GNU General Public License 2.0 or later |
Download | README |
$wgHoneyPotMisleadingError |
|
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 HoneyPot extension if it is available at translatewiki.net |
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
- <translate> [[<tvar name=2>Special:ExtensionDistributor/HoneyPot</tvar>|Download]] and move the extracted <tvar name=name>
HoneyPot
</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/HoneyPot - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'HoneyPot' );
- 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>
Configuration parameters
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
Categories:
- Pages with script errors
- Pages with broken file links
- Extensions by WikiTeq
- Stable extensions
- Extensions without an image
- Extensions with invalid or missing type
- Extensions with long-term support release branches compatibility policy
- GPL licensed extensions
- Extensions in Wikimedia version control
- AuthChangeFormFields extensions
- All extensions
- Spam management extensions