MediaWiki Extension – WhosOnline

This extension is the popular “Whos Online extension” of ChekMate Security Group( This extension is modified version in order to make it work with MediaWiki version 1.8.2 and above. In order to work it with previous versions earlier than 1.8.2 , please visit their site to download the code.


here are the steps that you have to perform to make this extension work.

1. Add one new table in your database, named online. If database uses a prefix, then add the prefix before the table name. Here is the SQL code for creating the table:


userid int(5) NOT NULL default ‘0’,

username varchar(255) NOT NULL default ”,

timestamp varchar(255) NOT NULL default ”


2. Download the code below and Save the following in your ./extensions/ directory

3. Add the following to the end of LocalSettings.php:

4. Add the following code in your wiki page:

<b>Users Online</b>: <whosonline></whosonline>


Now save the page and view it in browser. You are done.

My First Book….

Today I received the cover page of my first book “MediaWiki Administrators’ Tutorial Guide” from Packt Publishing. I knew it is going to publish at the end of February or early march and was expecting to see the cover of the book beforehand. Adding to my surprise I was invited by Nikhil to discuss the cover page of my book. I am an amateur photographer and I was willing to contribute to the cover image of the book. Akshara (my technical editor) and Nikhil, both remembered the word ‘photographer’ from me and they wanted to have my thoughts on the cover image. I sent them one of my taken pictures and was not sure it will make any impact on the book cover. Next morning I woke up from bed and read the mail from Nikhil that my picture had been chosen for my book. It was really a surprising moment for me as I relish my biggest success as a photographer. I hope others like the picture too as well as the book. Now I am counting the days when I will received the email from Packt with the confirmation that the book has been published.