Jump to content

User:Paloi Sciurala/global.js

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Paloi Sciurala (talk | contribs) at 16:46, 30 September 2024. It may differ significantly from the current version.

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.
mw.hook('util.addPortletLink').add(function(portlet) {
	var id = portlet && portlet.id;
	if (id === 'ca-mblc' || id === 'ca-ttc') {
		portlet.remove();
	}
});
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal.js&action=raw&ctype=text/javascript'); // [[m:User:User:Xiplus/TwinkleGlobal]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/EditNoticesOnMobile.js&action=raw&ctype=text/javascript'); // [[en:User:Alexis Jazz/EditNoticesOnMobile]]
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Jon_Harald_Søby/diffedit.js&action=raw&ctype=text/javascript' ); // [[m:User:Jon Harald Søby/diffedit.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/EasySummary.js&action=raw&ctype=text/javascript'); // [[en:User:BrandonXLF/EasySummary]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/MoreDiffInfo.js&action=raw&ctype=text/javascript'); // [[en:User:BrandonXLF/MoreDiffInfo]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/WatchDoc.js&action=raw&ctype=text/javascript'); // [[en:User:BrandonXLF/WatchDoc]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/SortCentralAuthByEditCount.js&action=raw&ctype=text/javascript'); // [[en:User:Nardog/SortCentralAuthByEditCount]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Bradv/endlesscontribs.js&action=raw&ctype=text/javascript'); // Backlink: [[en:User:Bradv/endlesscontribs.js]]
/**
 * MiniEdit enables quick and simple edits without leaving the page
 * Documentation: https://www.mediawiki.org/wiki/MiniEdit
 * Source code: https://www.mediawiki.org/wiki/MediaWiki:Gadget-Global-MiniEdit.js
 */
mw.loader.load( '//www.mediawiki.org/w/load.php?modules=ext.gadget.Global-MiniEdit' );
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Evad37/livenotifications.js&action=raw&ctype=text/javascript');
// Selective Rollback ([[User:Dragoniez/Selective_Rollback.js]])
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Dragoniez/Selective_Rollback.js&action=raw&ctype=text/javascript');
//</nowiki>
window.selectiveRollbackConfig = {};
selectiveRollbackConfig.editSummaries = {};
selectiveRollbackConfig.editSummaries['LTA-ro'] = 'Abuz pe perioadă îndelungată (LTA)';
selectiveRollbackConfig.editSummaries['CROSS-ro'] = 'Abuz cross-wiki';
selectiveRollbackConfig.editSummaries['SPAM-ro'] = '[[:ro:w:WP:SPAM|Spam]]';
selectiveRollbackConfig.editSummaries['SOCK-ro'] = 'Abuz de utilizare [[WP:CLONE|clone]]';
selectiveRollbackConfig.editSummaries['LTA-en'] = 'Long-term abuse (LTA)';
selectiveRollbackConfig.editSummaries['CROSS-en'] = 'Cross-wiki abuse';
selectiveRollbackConfig.editSummaries['SPAM-en'] = '[[:en:w:WP:SPAM|Spam]]';
selectiveRollbackConfig.editSummaries['SOCK-en'] = '[[:en:w:WP:SOCK|Sockpuppetry]]';
selectiveRollbackConfig.showKeys = true;
selectiveRollbackConfig.markBot = false;
selectiveRollbackConfig.watchPage = true;
selectiveRollbackConfig.watchExpiry = 'indefinite';
//</nowiki>
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:DannyS712/PermaLinkSection.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/massRollback.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Timotheus Canens/massblock.js&action=raw&ctype=text/javascript');
SpamUserPage = {}; // Don't remove this line! It is necessary for SpamUserPage settings
SpamUserPage.presets = [
  {
    id: 'LTA-rață',
    label: 'Vandal recidivist (per testul raței)',
    deletesummary: '[[WP:CSD#G3|G3]]: [[Wikipedia:Vandalism|Vandalism]]',
    template: '{{subst:Blocat fără|Nelimitat|Vandal recidivist per [[:w:ro:WP:RAȚĂ|testul raței]] ([[Special:Contribs/NUME|NUME]])}}',
    editsummary: 'Blocat',
    blocksummary: 'Vandal recidivist per [[:w:ro:WP:RAȚĂ|testul raței]] ([[Special:Contribs/nume|nume]])',
    noemail: 'true',
    nousertalk: 'true'
  },
  {
    id: 'LTA-cu',
    label: 'Vandal recidivist (per checkuser)',
    deletesummary: '[[WP:CSD#G3|G3]]: [[Wikipedia:Vandalism|Vandalism]]',
    template: '{{subst:Blocat fără|Nelimitat|Vandal recidivist per [[:m:Steward requests/Checkuser#NUME@ro.wikipedia.org|verificare checkuser]] ([[:m:Special:Permalink/ID#NUME@ro.wikipedia.org|permalink]]) – ([[Special:Contribs/NUME|NUME]])}}',
    editsummary: 'Blocat',
    blocksummary: 'Vandal recidivist per [[:m:Steward requests/Checkuser#NUME@ro.wikipedia.org|verificare checkuser]] ([[:m:Special:Permalink/ID#NUME@ro.wikipedia.org|permalink]]) – ([[Special:Contribs/NUME|NUME]])',
    noemail: 'true',
    nousertalk: 'true'
  }
];
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Mr. Stradivarius/gadgets/SpamUserPage.js&action=raw&ctype=text/javascript'); // Linkback: [[User:Mr. Stradivarius/gadgets/SpamUserPage.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Dragoniez/MarkBLockedGlobal.js&action=raw&ctype=text/javascript');
// 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');
if(typeof(activeSysopsConfig) == 'undefined') activeSysopsConfig = {};
activeSysopsConfig.markWikisGS = true;
activeSysopsConfig.markWikisActiveSysops = true;
activeSysopsConfig.markWikisActiveSysopsLessThan = 5;
if(typeof(activeSysopsConfig) == 'undefined') activeSysopsConfig = {};
activeSysopsConfig.toolLinkMethod = 'FOO';
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Dragoniez/ToollinkTweaks.js&action=raw&ctype=text/javascript");
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Þjarkur/CleanDiffURLs.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Enterprisey/fancy-diffs.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Amorymeltzer/logSwap.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Bility/copySectionLink.js&action=raw&ctype=text/javascript'); //Linkback: [[User:Bility/copySectionLink.js]]