mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 10:00:18 +00:00
Support shared DB version of Commons definition
Supporting production is Hard Work (tm) Change-Id: I57b1ea945711f6fe76697927641bf4e805be15cf
This commit is contained in:
parent
1db51f25ab
commit
ff527cd0f3
|
@ -344,7 +344,8 @@
|
|||
'original-title': descPagePopupMessage // needed by jquery.tipsy
|
||||
} );
|
||||
|
||||
if ( imageInfo.repo === 'wikimediacommons' ) {
|
||||
if ( imageInfo.repo === 'wikimediacommons' || (
|
||||
imageInfo.repo === 'shared' && repoInfo.displayName === 'Wikimedia Commons' ) ) {
|
||||
this.buttons.$descriptionPage.addClass( 'mw-mmv-stripe-button-commons' );
|
||||
} else {
|
||||
this.buttons.$descriptionPage.addClass( 'mw-mmv-stripe-button-dynamic' );
|
||||
|
|
Loading…
Reference in a new issue