User:Pathoschild/Scripts/Ajax sysop
AJAX sysop dynamically loads information, modifies pages, and submits queries for quick sysoping (screenshots: deletion form, Special:Contribution, patrolling). It should be fully compatible with all skins and modernish browsers.
Features
edit&action=delete |
|
---|---|
Special:Contributions |
|
Patrolling |
|
Installation
editUser scripts
edit- Copy the following code to your global.js page (for all wikis) or your common.js page (for Meta only).
/** * Ajax sysop * @see https://meta.wikimedia.org/wiki/Ajax_sysop * @update-token [[File:Pathoschild/ajaxsysop.js]] */ mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.ajaxsysop.js');
- Refresh your browser to reload the JavaScript. (In Chrome or Firefox, press [CTRL] and [R] at the same time.)
As a gadget
editThis script can be used as a site gadget and is compatible with ResourceLoader. The MediaWiki:Gadgets-definition line should look something like this:
AjaxSysop[ResourceLoader|dependencies=mediawiki.util|rights=patrol,rollback,markbotedits,delete]|AjaxSysop.js