Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -666,13 +666,13 @@ |
667 | 667 | ); |
668 | 668 | $j( '#contentSub' ).append( feedbackLink ); |
669 | 669 | } |
670 | | - if ( mw.UploadWizard.config['bugList'] !== '' ) { |
| 670 | + if ( mw.isDefined( mw.UploadWizard.config['bugList'] ) && mw.UploadWizard.config['bugList'] !== '' ) { |
671 | 671 | $j( '#contentSub' ).append( $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-subhead-bugs', mw.UploadWizard.config['bugList'] ) ); |
672 | 672 | } |
673 | | - if ( mw.UploadWizard.config['translateHelp'] !== '' ) { |
| 673 | + if ( mw.isDefined( mw.UploadWizard.config['translateHelp'] ) && mw.UploadWizard.config['translateHelp'] !== '' ) { |
674 | 674 | $j( '#contentSub' ).append( $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-subhead-translate', mw.UploadWizard.config['translateHelp'] ) ); |
675 | 675 | } |
676 | | - if ( mw.UploadWizard.config['altUploadForm'] !== '' ) { |
| 676 | + if ( mw.isDefined( mw.UploadWizard.config['altUploadForm'] ) && mw.UploadWizard.config['altUploadForm'] !== '' ) { |
677 | 677 | $j( '#contentSub' ).append( $j( '<span class="contentSubLink"></span>' ).msg( 'mwe-upwiz-subhead-alt-upload', mw.UploadWizard.config['altUploadForm'] ) ); |
678 | 678 | } |
679 | 679 | $j( '#contentSub .contentSubLink:not(:last)' ).after( ' · ' ); |