Author: p.selitskas
Description:
Message queries
AFAIK, ResourceLoader doesn't support loading interface messages by ajax request, required messages are specified in the ResourceLoader module description and provided every time the module is loaded.
This feature would have a lot of uses, at least one can get rid of numerous arrays of messages in javascript, and load them with ResourceLoader directly to the mw.messages, thus giving more opportunities for i18n stuff.
I've written a small function that takes the given messages from the API. It's stored in the attachment.
So could you implement this feature in MediaWiki by default?
Version: unspecified
Severity: enhancement
Attached: