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

           Summary: mediaWiki.msg.get returns non-existing message even
                    when the message exists
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://translatewiki.net/wiki/User:The_Evil_IP_address
                    /vector.js
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Noted during some testing at Translatewiki in a German interface. A code like:

var t = mediaWiki.msg.get('pagecategories', 6);
$(document).ready(function(){alert(t);});

alerts with "<pagecategories>" (same for other existing messages). It doesn't
seem to be undefined, otherwise it would have alerted me "undefined", so it
probably didn't get that the page exists
(http://translatewiki.net/wiki/MediaWiki:Pagecategories/de).

I'd love to come up with ideas, but this complete JavaScript stuff is too
difficult for me (I couldn't even locate where the mediawiki.msg object comes
from).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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