-/*global OO */
( function ( mw, $ ) {
/**
* Factory for MessagePoster objects. This provides a pluggable to way to script the action
* @param {mw.Title} title Title being posted to
* @param {mw.Api} api mw.Api instance that the instance should use
* @return {mw.messagePoster.MessagePoster}
- *
*/
MessagePosterFactory.prototype.createForContentModel = function ( contentModel, title, api ) {
return new this.contentModelToClass[ contentModel ]( title, api );