Extension:EnhanceContactForm
From MediaWiki.org
|
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 |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes |
| 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
- ContactPage extension, r60638 or newer
- MyInfo extension (for the browser/operating system/skin name/user agent detection)
[edit] Installation
- Download the source code into a file called EnhanceContactForm.php and place it in $IP/extensions/EnhanceContactForm/
- Add the line
into the wiki's LocalSettings.phprequire_once("$IP/extensions/EnhanceContactForm/EnhanceContactForm.php");
- Installation can now be verified through the wiki's Special:Version
