User:Cmodo98/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AutoCreateUserPages.js',        'u:dev:MediaWiki:AvatarLink.js',        'u:dev:MediaWiki:ModalLogs.js',        'u:dev:MediaWiki:PatrolPanel.js',        'u:dev:MediaWiki:MoreDropdown/code.js',        'u:dev:MediaWiki:SOAPReport.js',        'u:dev:MediaWiki:UploadMultipleFiles.js',        'u:dev:MediaWiki:RevealAnonIP.js',        'u:dev:MediaWiki:Placement.js',    ] });

//make inactive user page when i edit on a wiki window.AutoCreateUserPagesConfig = { content: { 2: ''   },    summary: 'Creating my user page', notify: 'User page created!' };

//add to mytools menu mw.hook('dev.placement').add(function (placement) {   placement.util({ script: 'ToolsMenuLink', element: 'tools', type: 'prepend', content: $('').append(           $('', { text: 'Global JS', href: 'https://community.fandom.com/wiki/User:Cmodo98/global.js' })       )    });    placement.util({ script: 'ToolsMenuLink', element: 'tools', type: 'prepend', content: $('').append(           $('', { text: 'PatrolPanel', href: '/wiki/Special:PatrolPanel' })       )    }); });