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

       Web browser: ---
             Bug #: 38280
           Summary: Gettings messages via JavaScript
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: JavaScript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10837
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10837
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?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to