Extension:CompanyDirectory

What can this extension do?
This extension was created because we had a need to get an automatically generated list of employees to populate our Company Directory. Without wanting to have to mess with a lot of formatting and still have a nice table displayed, I put together this script to take care of it.

Usage
When installed, CompanyDirectory will show up under the Users heading on the Special Pages list. On this page you will find a wiki formatted table with all the information of the users from the user group you specify. Simply copy and paste this table into a page, and repeat this process when the directory has been updated.

Download instructions
The fileset is downloadable from here for now. I want to transfer the file to MediaWiki, but I guess you can't upload zips?

Installation
To install this extension, copy the CompanyDirectory folder to /extensions/ and add the following to LocalSettings.php:

Configuration parameters
Edit CD_config.inc.php to fit your system and change the CSS options to get the table to fit your wiki's style. Here is a sample for the ficticious company PretendSite:

Example Page
Click here to see a sample output and displayed table form that output.

TODO

 * Configuration options for fields output from active directory.
 * Automated display on page of choice instead of copy/paste.

Special Thanks
The LDAP php class included with this extension was obtained from: http://adldap.sourceforge.net/ I have found this class to be incredibly helpful and have used it on many internal projects requiring LDAP interfacing. I modified this class file slightly to allow for a single config file for the extension.

User rights
This extension is set to be accessible only by admins from SpecialPages.