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

mdowdell <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from mdowdell <[email protected]> ---
For anyone interested, you can workaround this until this is fixed:

mw.loader.using( 'mediawiki.jqueryMsg', function () {

    mw.messages.set( {
        foo: '[[$1]]'
    } );

    var msg = mw.message( 'foo', 'bar' ).plain();
    // [[bar]]

    mw.messages.set( {
        'some-random-message': msg
    } );

    msg = mw.message( 'some-random-message' ).parse();
    // <a title="bar" href="/wiki/bar">bar</a>

    console.log( msg );

} );

-- 
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