User:PB2008/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
mNo edit summary
Line 10: Line 10:
// Other
// Other
importScript('User:JJBullet/findInactiveSysops.js'); // Backlink: [[User:JJBullet/findInactiveSysops.js]]
importScript('User:JJBullet/findInactiveSysops.js'); // Backlink: [[User:JJBullet/findInactiveSysops.js]]
mw.loader.load('//zh.wikipedia.org/w/index.php?title=MediaWiki:Gadget-edit-count.js&action=raw&ctype=text/javascript' );
importScript('User:PB2008/batchdelete.js'); // Backlink: [[User:PB2008/batchdelete.js]]
importScript('User:PB2008/batchdelete.js'); // Backlink: [[User:PB2008/batchdelete.js]]
importScript('User:PB2008/OnlineAdmins.js'); // Backlink: [[User:PB2008/OnlineAdmins.js]]
importScript('User:PB2008/OnlineAdmins.js'); // Backlink: [[User:PB2008/OnlineAdmins.js]]
//importScript('User:PB2008/MediaWiki:Gadget-MarkRights.js'); // Backlink: [[User:PB2008/MediaWiki:Gadget-MarkRights.js]]
//importScript('User:PB2008/MediaWiki:Gadget-MarkRights.js'); // Backlink: [[User:PB2008/MediaWiki:Gadget-MarkRights.js]]
//importScript('User:PB2008/UserRightsManager.js'); // Backlink: [[User:PB2008/UserRightsManager.js]]
//importScript('User:PB2008/UserRightsManager.js'); // Backlink: [[User:PB2008/UserRightsManager.js]]

// Editcount from [https://zh.wikipedia.org/w/index.php?title=MediaWiki%3AGadget-edit-count.js&diff=66671837&oldid=49925631]
// Written by [[w:zh:User:AnYiLin]]
(function(editCount) {
if (editCount !== null) mw.loader.addStyleTag('#pt-mycontris>a::after, .menu__item--userContributions>span>span::after, #mw-mf-page-left .menu__item--userContributions>span::after {content: " (' + editCount + ')"}')
})(mw.config.get('wgUserEditCount'));

Revision as of 10:17, 28 January 2024

// Undo / Rollback
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/AutoUndo.js&action=raw&ctype=text/javascript' );
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:FR30799386/undo.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/Restorer.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Gracenotes/rollback.js&action=raw&ctype=text/javascript');
// Mass js
mw.loader.load('//fr.wikipedia.org/w/index.php?title=MediaWiki:Gadget-Smart_patrol.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Timotheus_Canens/massblock.js&action=raw&ctype=text/javascript');
mw.loader.load('//it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-Massblock.js&action=raw&ctype=text/javascript');
// Other
importScript('User:JJBullet/findInactiveSysops.js'); // Backlink: [[User:JJBullet/findInactiveSysops.js]]
importScript('User:PB2008/batchdelete.js'); // Backlink: [[User:PB2008/batchdelete.js]]
importScript('User:PB2008/OnlineAdmins.js'); // Backlink: [[User:PB2008/OnlineAdmins.js]]
//importScript('User:PB2008/MediaWiki:Gadget-MarkRights.js'); // Backlink: [[User:PB2008/MediaWiki:Gadget-MarkRights.js]]
//importScript('User:PB2008/UserRightsManager.js'); // Backlink: [[User:PB2008/UserRightsManager.js]]

// Editcount from [https://zh.wikipedia.org/w/index.php?title=MediaWiki%3AGadget-edit-count.js&diff=66671837&oldid=49925631]
// Written by [[w:zh:User:AnYiLin]]
(function(editCount) {
	if (editCount !== null) mw.loader.addStyleTag('#pt-mycontris>a::after, .menu__item--userContributions>span>span::after, #mw-mf-page-left .menu__item--userContributions>span::after {content: " (' + editCount + ')"}')
})(mw.config.get('wgUserEditCount'));