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 StubManager lowers transaction times which speeds up MediaWiki sites.

This extension is meant for 'extension writers'.

Features

 * 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

Installation

 * Download StubManager from SVN
 * Place the entire folder into /extensions/StubManager, do not move or remove any of the contents of the folder.
 * Add the following to :

Creating a stub
To create a stub, create a php file called StubManager.php: or, for example:

Save StubManager.php in the extensions folder.

in  at the top, after the require line add:

Examples
See Email Log extension.

Required extensions
None.

Installation with PEAR

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

History

 * Added one more parameter to '__call' method to accomodate hooks such as ArticleSave.
 * Added registration functionality for:
 * 'tag' handlers (XML style section)
 * 'mg' (i.e. parser functions)
 * 'MW' (i.e. parser Magic Words)
 * fixed annoying warning about undefined offset.
 * added namespace triggering functionality
 * Only load an extension when the extension's target namespace(s) are in focus.
 * Added support for non-BizzWiki environments
 * Added automatic linking to page on MediaWiki.org for each extension
 * Added 'isExtensionRegistered' method
 * Added 'configureExtension' method
 * Added 'version' method
 * Moved to MediaWiki project on GoogleCode
 * Added to PEAR channel
 * Added 'auto-discovery' of Extension:ExtensionManager
 * Added 'getRevision' method.