Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -63,7 +63,9 @@ |
64 | 64 | if ( mw.UploadWizard.config['feedbackPage'] !== undefined && mw.UploadWizard.config['feedbackPage'] !== '' ) { |
65 | 65 | var feedback = new mw.Feedback( { |
66 | 66 | 'title': new mw.Title( mw.UploadWizard.config['feedbackPage'] ), |
67 | | - 'dialogTitleMessageKey': 'mwe-upwiz-feedback-title' |
| 67 | + 'dialogTitleMessageKey': 'mwe-upwiz-feedback-title', |
| 68 | + 'bugsLink': new mw.Uri( '//bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=UploadWizard' ), |
| 69 | + 'bugsListLink': new mw.Uri( mw.UploadWizard.config['bugList'] ) |
68 | 70 | } ); |
69 | 71 | var feedbackLink = $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-feedback-prompt', |
70 | 72 | function() { |
— | — | @@ -74,9 +76,6 @@ |
75 | 77 | $j( '#contentSub' ).append( feedbackLink ); |
76 | 78 | } |
77 | 79 | |
78 | | - if ( mw.UploadWizard.config['bugList'] !== undefined && mw.UploadWizard.config['bugList'] !== '' ) { |
79 | | - $j( '#contentSub' ).append( $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-subhead-bugs', $j( '<a></a>' ).attr( { href: mw.UploadWizard.config['bugList'], target: '_blank' } ) ) ); |
80 | | - } |
81 | 80 | if ( mw.UploadWizard.config['translateHelp'] !== undefined && mw.UploadWizard.config['translateHelp'] !== '' ) { |
82 | 81 | $j( '#contentSub' ).append( $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-subhead-translate', $j( '<a></a>' ).attr( { href: mw.UploadWizard.config['translateHelp'], target: '_blank' } ) ) ); |
83 | 82 | } |