Extension:WikiUserInfo

=What does this extension do?= This extension adds parser functions that allows to show info and options of wiki user specified by name.

This extension was created with following usages in mind:
 * Template for local wiki user that shows all necessary info about - user name, real name, email, link to entry in corporate address book.
 * Template for category of pages supported by some user.
 * Template that allows to link to user page, but adds user contribution (number of edits) in superscript.

=Download instructions= Please cut and paste the code found below and place it in $IP/extensions/WikiUserInfo/WikiUserInfo.php. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

=Installation= To install this extension, add the following to LocalSettings.php:

=Code= =Documentation=

Rationale
There are standard function ) that allow access to one of user options. This extension adds functions to access another options for completeness.

Declared functions
All of these functions get's user name as their first argument.
 * Displays '' field from user properties.
 * Displays '' field from user properties.


 * Displays '' field from user properties.
 * Displays '' field from user properties.


 * Displays '' field from user properties.
 * Displays '' field from user properties.


 * Displays '' field from user properties.
 * Displays '' field from user properties.


 * Displays '' field from user properties.
 * Displays '' field from user properties.

Dangerous functions

 * Displays '' field from user properties.This may be dangerous, so this function is protected by special & 'showuseremail'  right.
 * Displays selected field from user options.This may be dangerous, so this function is protected by special & 'showuseroption'  right, excluding options mentioned in  array, which defaults to 'date', 'gender', 'language', 'nickname', 'skin' and 'timecorrection'.