User:NhacNy2412/common.js

//mw.loader.load('//vi.wikipedia.org/w/index.php?title=Thành_viên:NhacNy2412/FileLink.js&action=raw&ctype=text/javascript'); //mw.loader.load('//vi.wikipedia.org/w/index.php?title=Thành_viên:NhacNy2412/MetaFileLinks.js&action=raw&ctype=text/javascript'); mw.loader.load('//vi.wikipedia.org/w/index.php?title=Thành_viên:NhacNy2412/massdelete.js&action=raw&ctype=text/javascript'); //importScript( 'User:Volker_E._(WMF)/dark-mode.js' ); //importScript( 'User:DannyS712/Cat links.js' );// User:DannyS712/Cat links.js importScript( 'User:DannyS712/TagsManager.js' );// User:DannyS712/TagsManager.js importScript( 'User:DannyS712/copyvio-check.js' );// User:DannyS712/copyvio-check.js importScript('User:Ais523/catwatch.js'); mw.loader.using(['mediawiki.util', 'mediawiki.api'], function {	mw.loader.load('https://en.wikipedia.org/w/?title=MediaWiki:Gadget-MoreMenu.enwiki.js&action=raw&ctype=text/javascript'); }); /*mw.hook('moremenu.ready').add(function (config) {   var api = new mw.Api;

// Keys are pages to check, values are the message key. var rfxs = { 'Wikipedia:Requests for adminship': 'rfa', 'Wikipedia:Requests for bureaucratship': 'rfb', 'Wikipedia:Arbitration/Requests/Case': 'rfarb', 'Wikipedia:Sockpuppet investigations': 'spi', };   // This defines the name for each link. Object.assign(MoreMenu.messages, {       rfa: 'RfAs',        rfb: 'RfBs',        rfarb: 'RfArbs',        spi: 'SPIs',    });

var links = {};

// Query for the presence of each of the pages. api.get({       titles: Object.keys(rfxs)            .map(function (rfx) { // Append the username to the title. return rfx + '/' + config.targetUser.name })       .join('|'),        formatversion: 2,    }).done(function (data) {        data.query.pages.forEach(function (page) { if (!page.missing) { var key = rfxs[page.title.replace('/' + config.targetUser.name, '')]; links[key] = { url: mw.util.getUrl('Special:PrefixIndex/' + page.title), };           }        });

// Add a 'RfXs' submenu if there are any links to show. if (Object.keys(links).length) { MoreMenu.addSubmenu('user', 'RfXs', links, 'analysis'); }   }); });*/ importScript('User:Timotheus Canens/massedit.js'); // Backlink: User:Timotheus Canens/massedit.js