On Wed, 2 Oct 2019 at 03:17, Jeroen De Dauw jeroendedauw@gmail.com wrote:
Including mediawiki.jqueryMsg fixed the issue. Thanks a bunch!
I concur this is rather peculiar design. It'd be helpful to have some indication of this in the method docs of the mw.msg() code.
It is documented in the block for message.text() and message.parse(), with mw.msg() being a shortcut for message.text(). Could be improved to mention there directly as well!
-- Krinkle
https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Message-method-...
https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Message-method-...
https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw-method-msg