From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
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) Petr Kajzar (e-mail)
Latest version 1.0.1 (2019-05-10)
Compatibility policy Master maintains backwards compatibility.
MediaWiki 1.29+
License Creative Commons Zero v1.0 Universal
Download Download master snapshot


Example WikiSkripta

Check usage and version matrix.

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


  • 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.


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.


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.