Skip to content

Commit

Permalink
feature T232956: Add href to “Check uploads on Wikimedia Commons” button
Browse files Browse the repository at this point in the history
  • Loading branch information
0x010C committed Feb 10, 2020
1 parent d41d063 commit 3ce4d1d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/ui/mw.recordWizard.ui.Publish.js
Expand Up @@ -97,10 +97,9 @@
label: mw.msg( 'mwe-recwiz-publish-commonsfilelist' ),
framed: false,
flags: [ 'progressive' ],
icon: 'logoWikimediaCommons'
} );
this.commonsFileListButton.on( 'click', function () {
window.open( 'https://commons.wikimedia.org/wiki/Special:ListFiles/' + mw.config.get( 'wgUserName' ), '_blank' );
icon: 'logoWikimediaCommons',
href: 'https://commons.wikimedia.org/wiki/Special:ListFiles/' + mw.config.get( 'wgUserName' ),
target: '_blank'
} );
this.commonsFileListButton.$element.insertBefore( this.nextButton.$element );

Expand Down

0 comments on commit 3ce4d1d

Please sign in to comment.