RevealAnonIP

RevealAnonIP unmasks "A Wikia contributor" so that their actual IP address can be seen. This works on article/blog comments and on the Special:WikiActivity page. You can also set special permissions so that this tool is only available to, for example, site administrators.

Installation

 * ''See also: Help:JavaScript and CSS Cheatsheet

To install this script for just yourself on all wikis, you can put the following code in your global.js.

If you are an admin who would like to install this script on your entire wiki, you would put the code in your MediaWiki:Common.js page. Please read the configuration options below.

Configuration
When installing this on an entire wiki, you can restrict this script so that it only works for privileged users. This may be useful if your wiki has admins or other privileged users who frequently patrol article comments or Special:WikiActivity, but you don't want *everyone* on your wiki to have this feature.

You can explicitly define which user groups have permission to use this script by setting permission levels before the script runs. A couple examples are given below, but you can add any valid user groups to the array. If you do not define permissions, this script will run for all users (even logged-out) by default.

All logged-in users
This configuration allows the script to work for logged-in users, but it will not run for people who are logged-out.

Rollbacks, Admins and Bureaucrats only
This configuration only allows the script to work for users who belong to one of the following user groups:

Running this script with together with AjaxRC
If you are using AjaxRC on Special:WikiActivity, you need to make sure that the window.RevealAnonIP.reveal method gets called again when the Ajax refresh occurs. The instructions at AjaxRC tell you how to do this, just add window.RevealAnonIP.reveal to the ajaxCallAgain array:

Updates

 * 6 August 2012
 * Mathmagician: Added functionality: can optionally restrict this tool to privileged users


 * 2 August 2012‎
 * Mathmagician: Integrated some bug fixes / additional functionality
 * Can work together with AjaxRC on Special:WikiActivity
 * Works even on wikis that have changed "A Wikia contributor" to say something else
 * Works when clicking pagination links on article/blog comments thanks to Pecoes


 * A long time ago, in a galaxy far, far, away
 * Rappy 4187, Monchoman45 et. al. first created this script.