Jump to content

Extension:EnhanceContactForm

From mediawiki.org
MediaWiki extensions manual
EnhanceContactForm
Release status: stable
Implementation Special page
Description Improves Special:Contact by sending more info about the user
Author(s) Jack Phoenix
Latest version 0.6.2 (2016-12-17)
MediaWiki 1.39.10+
License Public domain
Download
Quarterly downloads 2 (Ranked 133rd)
Public wikis using 1,204 (Ranked 237th)
Translate the EnhanceContactForm extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The EnhanceContactForm extension hooks into Special:Contact and sends more information about the sender to the recipient of the contact emails. This information includes:

  • the URL of the wiki ($wgServer)
  • the name of the wiki's database ($wgDBname)
  • reporter's IP address (regardless of whether they checked the "Include my IP address in this message" checkbox or not)
  • reporter's browser
  • reporter's operating system
  • reporter's skin
  • reporter's User-Agent string

The extension was written by Jack Phoenix for ShoutWiki.

Dependencies

[edit]

Installation

[edit]
  • Make sure you have installed the required dependencies!
  • Download and move the extracted EnhanceContactForm 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/EnhanceContactForm
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/EnhanceContactForm/EnhanceContactForm.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.