User:PB2008/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
mNo edit summary
m Uninstalling User:PB2008/UserRightsManager.js (script-installer)
Line 12: Line 12:
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/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]
// Editcount from [https://zh.wikipedia.org/w/index.php?title=MediaWiki%3AGadget-edit-count.js&diff=66671837&oldid=49925631]

Revision as of 13:31, 2 February 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]]

// 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'));
//
importScript('User:PB2008/script-installer.js'); // Backlink: [[User:PB2008/script-installer.js]]