r106233 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106232‎ | r106233 | r106234 >
Date:19:25, 14 December 2011
Author:neilk
Status:ok
Tags:
Comment:
use buglist and bug reporter in feedback
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.UploadWizard.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js
@@ -63,7 +63,9 @@
6464 if ( mw.UploadWizard.config['feedbackPage'] !== undefined && mw.UploadWizard.config['feedbackPage'] !== '' ) {
6565 var feedback = new mw.Feedback( {
6666 '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'] )
6870 } );
6971 var feedbackLink = $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-feedback-prompt',
7072 function() {
@@ -74,9 +76,6 @@
7577 $j( '#contentSub' ).append( feedbackLink );
7678 }
7779
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 - }
8180 if ( mw.UploadWizard.config['translateHelp'] !== undefined && mw.UploadWizard.config['translateHelp'] !== '' ) {
8281 $j( '#contentSub' ).append( $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-subhead-translate', $j( '<a></a>' ).attr( { href: mw.UploadWizard.config['translateHelp'], target: '_blank' } ) ) );
8382 }

Status & tagging log