Re: [Wikitech-l] PLURAL in mw.msg

2019-10-01 Thread Krinkle
On Wed, 2 Oct 2019 at 03:17, Jeroen De Dauw 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

Re: [Wikitech-l] PLURAL in mw.msg

2019-10-01 Thread Jeroen De Dauw
Hey Bawolff, 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. Cheers -- Jeroen De Dauw | www.EntropyWins.wtf | www.Profession

Re: [Wikitech-l] PLURAL in mw.msg

2019-09-29 Thread Brian Wolff
I think you need to load mediawiki.jqueryMsg module otherwise these interfaces do totally different things. Personally im not really a fan of this as i dont like the idea that methods randomly change meaning based on what modules are loaded, but it is what it is. -- Bawolff On Sunday, September

[Wikitech-l] PLURAL in mw.msg

2019-09-29 Thread Jeroen De Dauw
Hey, I have this message: Removed $1 {{PLURAL:$1|shape|shapes}} This message is used in JavaScript via mw.msg() to create an edit summary. Unfortunately this summary is showing up without the PLURAL function being rendered: https://user-images.githubusercontent.com/146040/65845180-6cd43b80-e339-1