Extension:EnhanceContactForm

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
EnhanceContactForm

Release status: stable

Implementation other (invalid type)
Description Improves Special:Contact by sending more info about the user
Author(s) Jack Phoenix
Last version 0.5
License GNU General Public License 2.0 or later
Download
Example ShoutWiki

Check usage (experimental)

EnhanceContactForm is a MediaWiki extension that 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; this is the only visible field, all other fields are hidden)
  • the name of the wiki's database ($wgDBname)
  • reporter's IP address
  • reporter's browser
  • reporter's operating system
  • reporter's User-Agent string

The extension was written by Jack Phoenix for ShoutWiki.

[edit] Dependencies

[edit] Installation

  1. Download the source code into a file called EnhanceContactForm.php and place it in $IP/extensions/EnhanceContactForm/
  2. Add the line
    require_once("$IP/extensions/EnhanceContactForm/EnhanceContactForm.php");
    into the wiki's LocalSettings.php
  3. Installation can now be verified through the wiki's Special:Version
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox