Extension:Whois

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Whois
Release status: stable
Extension Whois.png
Implementation Special page
Description Adds a special page to obtain basic information about an IP address from the WHOIS registries.
Author(s) Slepitalk
Latest version 1.0.1 (2019-05-10)
Compatibility policy master
MediaWiki 1.29+
License Creative Commons Zero v1.0 Universal
Download Download master snapshot

Bitbucket:

Translate the Whois extension if it is available at translatewiki.net
Check usage and version matrix.

The Whois extension adds a special page to obtain basic information about an IP address from the WHOIS registries.

Installation[edit]

  • Download and place the file(s) in a directory called Whois in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'Whois' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

The Whois extension adds special page Special:Whois to a wiki. At this special page you are able to obtain basic information about an IP address from the WHOIS registries (including abuse contact and common geographical information). However, to access this page you need to be a registered and logged-in user on the wiki.

Note that this extension is not listed in Special:Specialpages and it requires an IP address as a subpage argument (i.e. Special:Whois/xxx.xxx.xxx.xxx).

You can find link to this tool at Special:Contributions/<ipaddress> among the other tools just under the first heading.

You may also want to add a link to this special page to MediaWiki:Anontalkpagetext:

[[Special:Whois/{{PAGENAMEE}} | Get info about this IP]]

Or you may want to add the same link to MediaWiki:Checkuser-toollinks on your wiki.

This extension is under development, so there will be probably more features in the future (like a basic form, adding a menu item etc.).

User rights[edit]

To prevent abuse of this tool, you need to be a logged-in user on your wiki to access the Special:Whois page.

License[edit]

Created by Petr Kajzar, 1st Faculty of Medicine, Charles Univesity, for WikiSkripta medical wiki. Released under Creative Commons Zero v1.0 Universal license.

To the extent possible under law, I have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.