Extension:StubManager

Purpose
This extension is meant to address 'rare events' handling through class object 'stubs'. For infrequent events (of course this is relative!), use this extension to instantiate a 'stub object' for the required hooks. The net effect is lower transaction times thereby speeding up MediaWiki based sites.

This is extension constitutes a dependency for many other extensions developed by User:Jldupont.

Features

 * Provides extension status messages through Special:Version
 * Customizable through MediaWiki:ExtensionState page
 * Handles 'hook' registration (e.g.  etc.)
 * Handles 'parser function' registration (e.g. )
 * Handles 'parser magic word' registration
 * Handles 'parser tag' registration (e.g. )
 * Handles extensions which implement logging functionality
 * Handles 'namespace triggering' & 'namespace exclusion'
 * reduces even further the load time per transaction

Audience
This extension is meant for 'extension writers'.

Special:Version Customization
Customization of the extensions' state message can be done through the page MediaWiki:ExtensionState. The first parameter passed to the template is the state variable.

Usage
To create a stub, use: or, for example: in  after the require line

Examples
See Email Log extension.

Dependency
None.

Installation
Make sure that this extension is listed first in LocalSettings.php for other extensions depending on this one to work correctly.

PEAR

 * Install PEAR channel 'http://mediawiki.googlecode.com/svn'
 * Install extension through PEAR:
 * Modification to
 * Modification to
 * Modification to

SVN

 * Download archive: SVN
 * Place extension files in /extensions
 * Modification to