return this.language.convertNumber( number, isInteger );
}
};
+
// Deprecated! don't rely on gM existing.
// The window.gM ought not to be required - or if required, not required here.
// But moving it to extensions breaks it (?!)
// Need to fix plugin so it could do attributes as well, then will be okay to remove this.
- window.gM = mw.jqueryMsg.getMessageFunction();
+ // @deprecated since 1.23
+ mw.log.deprecate( window, 'gM', mw.jqueryMsg.getMessageFunction(), 'Use mw.message( ... ).parse() instead' );
/**
* @method