On Wed, 2 Oct 2019 at 03:17, Jeroen De Dauw <[email protected]> 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-text

https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Message-method-parse

https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw-method-msg
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to