User:GettingMemoriesPerson/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:SeeMoreActivityButton/code.js',    ] }); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassCategorization/code.js',    ] }); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:UCXSearchBar.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:CodeQuickLinks/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ThemeToggler.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MobilePreview.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:QuickBarPageTools.js',    ] });

$('.wiki-tools .wds-button[data-tracking="recent-changes"][href]').each(function {   var clone = this.cloneNode(true);    clone.href = mw.config.get('wgArticlePath').replace('$1', 'Special:NewFiles');    clone.title = 'Image Activity';    clone.setAttribute('data-tracking', 'new-files');    clone.removeAttribute('accesskey');    clone.innerHTML = '' +        '  ';    this.insertAdjacentElement('afterend', clone); });

if (!$('.wiki-tools .wds-button.wiki-tools__add-new-page').length) { $('.wiki-tools .wds-button[data-tracking="recent-changes"][href]').each(function {       var clone = this.cloneNode(true);        clone.href = '#';        clone.title = 'Add new page';        clone.setAttribute('data-tracking', 'add-new-page');        clone.removeAttribute('accesskey');        clone.classList.add('wiki-tools__add-new-page');        clone.innerHTML = '' +            '  ';        this.insertAdjacentElement('afterend', clone);    }); }