User:Fitindia/common.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
The accompanying .css page for this skin can be added at User:Fitindia/common.css. |
// Provides several useful functions for rollback (custom edit summary, mark as bot edits and mass revert)
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Smart_rollback>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
importScript("MediaWiki:Gadget-QICvote.js");
//<nowiki>
//catALot///////////////////////////////////////
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"disambig_category":"Disambiguation","redir_category":"Category redirects","watchlist":"nochange","minor":true,"editpages":false,"docleanup":false,"subcatcount":50,"uncat":true,"button":true};
////////////////////////////////////catALotEnd//
//</nowiki>
/**
* Add useful information about requests at the top of the page.
* [[nl:User:Basvb]] (https://nl.wikipedia.org/w/index.php?title=Gebruiker:Basvb/nuwegscript.js&oldid=33744897);
* Derivative work: [[User:Steinsplitter]];
* Improved by [[:de:Benutzer:Gorlingor]]
*/
mw.loader.using( 'mediawiki.api', $( document ).ready( function () {
'use strict';
var api = new mw.Api();
api.post( {
action: 'purge',
titles: 'User:~riley/adminwatch.js/raw'
} );
api.get( {
action: 'parse',
page: 'User:~riley/adminwatch.js/raw'
} ).done( function ( data ) {
$( '<li></li>' )
.html( data.parse.text[ '*' ] )
.insertBefore( $( '#p-personal > div > ul > li:first' ) );
} );
} ) );
importScript('MediaWiki:Gadget-UploadWizard.js');
importScript('User:Majora/LicenseReview.js');
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:ZooFari/licensereviewer.js&action=raw&ctype=text/javascript');