Extension:Whois

From mediawiki.org
MediaWiki extensions manual
Whois
Release status: stable
Implementation Special page
Description Adds a special page to obtain basic information about an IP address from the WHOIS registries.
Author(s) Petr Kajzar
Latest version 1.1.0 (2021-10-24)
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.32+
License Creative Commons Zero v1.0 Universal
Download
README.md
Example WikiSkripta

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 file:
    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 at 1st Faculty of Medicine, Charles Univesity, for WikiSkripta medical wiki. Released under Creative Commons Zero v1.0 Universal license.

This software is distributed without any warranty.