Jump to content

User:Tanbiruzzaman/global.js

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
if (['bnwiki', 'enwiki'].indexOf(mw.config.get('wgDBname')) === -1) {
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/Restorer.js&action=raw&ctype=text/javascript');
}

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal/load.js&action=raw&ctype=text/javascript');
mw.loader.load('//vi.wikipedia.org/w/index.php?title=User:Plantaest/TwinkleGlobalMobile.js&action=raw&ctype=text/javascript');

// This tool can tag pages with a few clicks (which is much faster than editing the whole page per Hand).
// by [[m:user:Hoo man]] <https://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Tagger>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');
// XReport - fast reporting - [[User:TenWhile6/XReport]]
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:TenWhile6/XReport.js&action=raw&ctype=text/javascript');

mw.loader.using( [ 'mediawiki.util' ], function() {
	"use strict";
	mw.util.addPortletLink(
	'p-tb',
	'//swviewer.toolforge.org/',
	'SWViewer',
	't-swviewer',
	'Launch SWViewer',
	'v',
	'#t-info'
);
});

mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');

// Provides several useful functions for rollback (custom edit summary, mark as bot edits and mass revert)
// by [[m:user:Hoo man]] <https://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');
if(typeof(smartRollbackConfig) === 'undefined') smartRollbackConfig = {};
smartRollbackConfig.enableMarkbotedits = true;

// Shows the number of active (one log entry in the last 7 days, or as configured) sysops, uses data from the toolserver
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Active_sysops>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js&action=raw&ctype=text/javascript');

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:AramilFeraxa/QD.js&action=raw&ctype=text/javascript');

mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Syunsyunminmin/massdelete.js&action=raw&ctype=text/javascript");

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/all-in-one.js&action=raw&ctype=text/javascript');

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Tanbiruzzaman/gsa.js&action=raw&ctype=text/javascript');

if (typeof(p4js_all_in_one) === 'undefined') p4js_all_in_one = {};
p4js_all_in_one.reasons = {
    block: ["Long-term abuse", "Vandalism-only account", "Spam-only account", "Open proxy", "Vandalism"],
    pagedelete: ["Vandalism", "Spam"],
    revisiondelete: ["Blatant offensive materials", "Private information"],
}

p4js_all_in_one.suffixes = ["", " ([[m:Special:MyLanguage/GS|global sysop]] action)"];