https://bugzilla.wikimedia.org/show_bug.cgi?id=44459

--- Comment #25 from Matthew Flaschen <[email protected]> ---
> "mw.msg is a shortcut for mw.message(...).plain()"

I was saying how mw.msg behaves now.  It is currently plain.

I think this Niklas's proposal in comment 22 is a reasonable approach.  I'm
going to start implementing it.

The main part that be people need to be be careful about is the mw.msg default.
 wfMessage (the now-recommended API on the server-side) defaults to 'parse'.

We could change it to that, but that would lead to the same short-term problems
(e.g. categorytree-collapse-bullet parsing wrong).

So I think we should go with 'text', but recommend people use the long-form
approach going forward.  This is already recommended for PHP at
https://www.mediawiki.org/wiki/Manual:Messages_API#Format ("It is recommended
to specify the output format at the end of wfMessage( 'message-key' )).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to