MediaWiki:Group-gwtoolset.js: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
Created page with 'Any css here will be loaded for gwtoolset users only: Importing fix for T90004#1586712: if (mw.config.get('wgCanonicalSpecialPageName') === 'UploadWi...'
(No difference)

Revision as of 16:08, 23 November 2018

/* Any css here will be loaded for gwtoolset users only */

/* Importing fix for T90004#1586712 */
if (mw.config.get('wgCanonicalSpecialPageName') === 'UploadWizard') {
  if (! (mw.config.get('wgUserGroups').indexOf('sysop') !== -1 || mw.config.get('wgUserGroups').indexOf('reviewer') !== -1)) {
    importScript('MediaWiki:Group-extended-uploader.js');
  }
}