Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js |
— | — | @@ -44,6 +44,10 @@ |
45 | 45 | $button.append( '<div class="mw-wikilove-r-cap"></div>'); |
46 | 46 | $typeList.append( $( '<li tabindex="0"></li>' ).append( $button ) ); |
47 | 47 | } |
| 48 | + |
| 49 | + var $termsLink = $( '<a> ') |
| 50 | + .attr( 'href', mw.msg( 'wikilove-commons-url' ) ) |
| 51 | + .text( mw.msg( 'wikilove-commons-link' ) ); |
48 | 52 | |
49 | 53 | $dialog = $( '\ |
50 | 54 | <div id="mw-wikilove-dialog">\ |
— | — | @@ -92,7 +96,7 @@ |
93 | 97 | <span class="mw-wikilove-note" id="mw-wikilove-image-note"><html:msg key="wikilove-image-example"/></span>\ |
94 | 98 | <input type="text" class="text" id="mw-wikilove-image"/>\ |
95 | 99 | <div id="mw-wikilove-commons-text">\ |
96 | | - ' + mw.msg( 'wikilove-commons-text', '<a href="' + mw.msg( 'wikilove-commons-url' ) + '" target="_blank">' + mw.msg( 'wikilove-commons-link' ) +'</a>' ) + '\ |
| 100 | + ' + mw.msg( 'wikilove-commons-text', $termsLink.html() ) + '\ |
97 | 101 | </div>\ |
98 | 102 | <label for="mw-wikilove-message" id="mw-wikilove-message-label"><html:msg key="wikilove-enter-message"/></label>\ |
99 | 103 | <span class="mw-wikilove-note" id="mw-wikilove-message-note"><html:msg key="wikilove-omit-sig"/></span>\ |