Extension:Whois

From Linux Web Expert

MediaWiki extensions manual
Whois
Release status: stable
File: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
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
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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

Installation

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>Whois</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'Whois' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Usage

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

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

License

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.