Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js |
— | — | @@ -47,12 +47,14 @@ |
48 | 48 | |
49 | 49 | var commonsLink = $( '<a>' ) |
50 | 50 | .attr( 'href', mw.msg( 'wikilove-commons-url' ) ) |
| 51 | + .attr( 'target', '_blank' ) |
51 | 52 | .text( mw.msg( 'wikilove-commons-link' ) ) |
52 | 53 | .wrap( '<div>' ) // or .html() will only return the link text |
53 | 54 | .parent() |
54 | 55 | .html(); |
55 | 56 | termsLink = $( '<a> ') |
56 | 57 | .attr( 'href', mw.msg( 'wikilove-terms-url' ) ) |
| 58 | + .attr( 'target', '_blank' ) |
57 | 59 | .text( mw.msg( 'wikilove-terms-link' ) ) |
58 | 60 | .wrap( '<div>' ) |
59 | 61 | .parent() |