User "NeilK" posted a comment on MediaWiki.r87359.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/87359#c16533
Commit summary:

new subheader messages

Comment:

you can do it like this -- pass in a jQuery object instead of a string URL. 
Magic. :)

.msg( 
    'mwe-upwiz-subhead-bugs',
    $j( '<a></a>' ).attr( { href: mw.UploadWizard.config['bugList'], target: 
'_blank' } )
);

or, find the <a>'s after you do all .msg() and use jquery to add a target attr 
to them all 

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to