User:Leslie1289/global.js

//

(function {  console.log( 'https://community.fandom.com/wiki/User:Leslie1289/global.js runs' );

importArticles({   type: 'script',    articles: [      // https://dev.fandom.com/wiki/ShortCutter      'u:dev:MediaWiki:ShortCutter.js',

// https://dev.fandom.com/wiki/UploadMultipleFiles 'u:dev:MediaWiki:UploadMultipleFiles.js',

// https://dev.fandom.com/wiki/View_Raw 'u:dev:MediaWiki:View_Raw/code.js'

// https://dev.fandom.com/wiki/JWB // 'u:dev:MediaWiki:JWB/load.js', ] }).then(function  { var articlePath = mw.config.get('wgArticlePath'); window.dev.ShortCutter.add({     id: 'jwb',      title: 'Run JWB',      href: articlePath.replace('$1', 'Project:AutoWikiBrowser/Script'),      icon: '\          \          '    }); if (     /sysop|staff|helper|wiki-representative|wiki-specialist/.test( mw.config.get('wgUserGroups').join )   ) {      window.dev.ShortCutter.add({        id: 'analytics',        title: 'Analytics',        href: articlePath.replace('$1', 'Special:Analytics'),        icon: '\          \          '      }); } });

// https://en.wikipedia.org/wiki/User:Joeytje50/JWB mw.loader.load(   '//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'  ); mw.loader.load( 	'//meta.wikipedia.org/w/index.php?title=User:Lens0021/global.js/create-redirect.js&action=raw&ctype=text/javascript'  ); });

// if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'Project:AutoWikiBrowser/Script' && mw.config.get('wgAction') == 'view')