Jump to content

User:Hide on Rosé/global.js: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
No edit summary
7000 edits in Meta-Wiki
 
Line 1: Line 1:
// Enable caching for resource loads, see [[User:SD0001/Making_user_scripts_load_faster]], @revision 6
if(!/\bnocache=\b/.test(location.href)){let e=(e,t,n)=>(e=e.replace(/special:mypage/i,"User:"+mw.config.get("wgUserName")),$.get("https://"+t+"/w/api.php?titles="+e+"&origin=*&format=json&formatversion=2&uselang=content&maxage=86400&smaxage=86400&action=query&prop=revisions|info&rvprop=content&rvlimit=1").then((r=>{let o=r.query.pages[0];if(o.missing)return;let a=o.revisions[0].content;if(n&&"text/javascript"!==n||"javascript"!==o.contentmodel){if("text/css"!==n||"css"!==o.contentmodel)return $.Deferred().reject('Refused to load "'+e+'"@'+t+": content type mismatch");mw.loader.addStyleTag(a)}else{let e=document.createElement("script");e.innerHTML=a,document.head.appendChild(e)}}))),t=e=>{let t=/^(?:(?:https:)?\/\/(.*))?\/w\/index.php/.exec(e),n=/\btitle=([^=?&]*)/.exec(e);return t&&n&&/\baction=raw\b/.test(e)&&/\bctype=/.test(e)?[n[1],t[1]||mw.config.get("wgServerName")]:null};window.importScript=t=>{e(encodeURIComponent(t),mw.config.get("wgServerName"),"text/javascript")},window.importStyleSheet=t=>{e(encodeURIComponent(t),mw.config.get("wgServerName"),"text/css")};let n=mw.loader.load;mw.loader.load=function(r,o){let a=t(r);a?e(a[0],a[1],o):n.apply(mw.loader,[...arguments])};let r=mw.loader.getScript;mw.loader.getScript=function(n){let o=t(n);return o?e(o[0],o[1],"text/javascript"):r.apply(mw.loader,[...arguments])}}
// Thêm chỉ mục vào các khu điều hướng trên trang, chỉ hoạt động ở các wiki dùng tiếng Anh.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/PortletLinks.js&action=raw&ctype=text/javascript');
// LINKS
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl('Special:BlankPage/Zinnia'),
'Zinnia',
'pt-script',
'Zinnia',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl('m:Special:MyPage/global.js'),
'global.js',
'pt-script',
'View your global.js',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-navigation',
mw.util.getUrl('m:Special:MyPage/global.css'),
'global.css',
'pt-script',
'View your global.css',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl('Special:MyPage/common.js'),
'common.js',
'pt-script',
'View your common.js',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-navigation',
mw.util.getUrl('Special:MyPage/common.css'),
'common.css',
'pt-pagecuration',
'View your common.css',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-navigation',
mw.util.getUrl('Special:MyPage/vector.js'),
'vector.js',
'pt-script',
'View your vector.js',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-navigation',
mw.util.getUrl('Special:MyPage/vector.css'),
'vector.css',
'pt-script',
'View your vector.css',
null,
'#pt-preferences'
);
});
mw.loader.load('https://meta.wikimedia.org/wiki/User:Plantaest/Zinnia/.js?action=raw&ctype=text/javascript');
// -----------------------GENERAL VIEWING & STATISTIC TOOLS-----------------------
// -----------------------GENERAL VIEWING & STATISTIC TOOLS-----------------------
// MoreMenu.
// MoreMenu.
Line 103: Line 32:
// Quickly blank the page.
// Quickly blank the page.
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NhacNy2412/BlankedThePage.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NhacNy2412/BlankedThePage.js&action=raw&ctype=text/javascript');

// Thêm chỉ mục vào các khu điều hướng trên trang, chỉ hoạt động ở các wiki dùng tiếng Anh.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/PortletLinks.js&action=raw&ctype=text/javascript');


// -----------------------EDIT TOOLS/USER SCRIPTS-----------------------
// -----------------------EDIT TOOLS/USER SCRIPTS-----------------------
Line 130: Line 62:
}
}


// -----------------------ANTI-VANDALISM TOOLS/USER SCRIPTS-----------------------
// Zinnia by [[User:Plantaest]]
mw.loader.load('https://meta.wikimedia.org/wiki/User:Plantaest/Zinnia/.js?action=raw&ctype=text/javascript'); // Backlink: [[User:Plantaest/Zinnia/.js]]



// -----------------------ANTI-VANDALISM TOOLS/USER SCRIPTS-----------------------
// TwinkleGlobal. My config: [[User:Hide on Rosé/twinkleoptions.js]]
// TwinkleGlobal. My config: [[User:Hide on Rosé/twinkleoptions.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal/load.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');
Line 155: Line 88:
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/more-block-info.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/more-block-info.js&action=raw&ctype=text/javascript');


// [[User:WhitePhosphorus/active sysops]] Hiển thị xem wiki có thuộc diện global sysop không, và số BQV hoạt động trong khoảng thời gian
// 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');
// [[User:WhitePhosphorus/active sysops]]
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/active_sysops.js&action=raw&ctype=text/javascript');
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/active_sysops.js&action=raw&ctype=text/javascript');


// Mark (B)Locked Global [[User:Dragoniez/Mark BLocked Global.js]]
// Mark (B)Locked Global [[User:Dragoniez/Mark BLocked Global.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Dragoniez/Mark BLocked Global.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Dragoniez/Mark BLocked Global.js&action=raw&ctype=text/javascript');

// remove spam link
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Mike.lifeguard/removeSpam.js&action=raw&ctype=text/javascript');

// Add a "Mark as patrolled" link to the Recent Changes page and next to new edits in diff view.
// mw.loader.load('//wikidata.org/w/index.php?title=MediaWiki:Gadget-Mark_as_patrolled.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/Mark_as_patrolled.js&action=raw&ctype=text/javascript');

// Thêm nút đánh dấu tuần tra trong lịch sử trang và trang Đặc biệt:Đóng góp
mw.loader.load("//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-patrolRevisions.js&action=raw&ctype=text/javascript");

// Very useful links?...
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Vermont/sidebar.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Vermont/sidebar.js]]


// Bộ công cụ JavaScript hữu ích trong việc tuần tra bởi [[:m:User:Krinkle]].
// Bộ công cụ JavaScript hữu ích trong việc tuần tra bởi [[:m:User:Krinkle]].
Line 184: Line 101:
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:DannyS712/AutoRollbackGlobal 2.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:DannyS712/AutoRollbackGlobal 2.js&action=raw&ctype=text/javascript');


// Smart rollback by [[User:Hoo man]].
// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
// // config for smart rollback <nowiki>
// if(typeof(smartRollbackConfig) === 'undefined') smartRollbackConfig = {};
// smartRollbackConfig.editSummaries = {};
// smartRollbackConfig.editSummaries[0] = 'Reverted vandalism by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man/smart_rollback.js|SR]])';
// smartRollbackConfig.editSummaries[1] = 'Reverted disruptive edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[2] = 'Reverted LTAs. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[3] = 'Reverted spam edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[4] = 'Reverted spam edit(s). ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[5] = 'Reverted advertising edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[6] = 'Reverted nonsense by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[7] = 'Reverted cross-wiki abuse by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[8] = 'Reverted cross-wiki abuse. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.enableMarkbotedits = true;
// </nowiki>
// Selective Rollback ([[User:Dragoniez/Selective_Rollback.js]])
// 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');
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'] = 'Reverted long-term abuse.';
selectiveRollbackConfig.editSummaries['LIENWIKI'] = 'Đã lùi lại sửa đổi không có ích (liên wiki).';
selectiveRollbackConfig.editSummaries['SPAM'] = 'Reverted spam';
selectiveRollbackConfig.editSummaries['CONROI'] = 'Đã lùi lại sửa đổi của [[WP:SOCK|tài khoản con rối]].';
//</nowiki>


// ScoredRevision.
// ScoredRevision.
Line 227: Line 136:
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/QuickFunction.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/QuickFunction.js&action=raw&ctype=text/javascript');

// -----------------------OTHER-----------------------
// -----------------------OTHER-----------------------
// Confirm logout
// Confirm logout
Line 235: Line 145:
// Improved diff
// Improved diff
mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/diff.js&action=raw&ctype=text/javascript');
mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/diff.js&action=raw&ctype=text/javascript');
// Interwiki link for userscript
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Dixtosa/userscriptInterwikiLink.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Dixtosa/userscriptInterwikiLink.js]]

// UNINSTALLED
// Smart rollback by [[User:Hoo man]].
// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
// // config for smart rollback <nowiki>
// if(typeof(smartRollbackConfig) === 'undefined') smartRollbackConfig = {};
// smartRollbackConfig.editSummaries = {};
// smartRollbackConfig.editSummaries[0] = 'Reverted vandalism by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man/smart_rollback.js|SR]])';
// smartRollbackConfig.editSummaries[1] = 'Reverted disruptive edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[2] = 'Reverted LTAs. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[3] = 'Reverted spam edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[4] = 'Reverted spam edit(s). ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[5] = 'Reverted advertising edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[6] = 'Reverted nonsense by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[7] = 'Reverted cross-wiki abuse by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[8] = 'Reverted cross-wiki abuse. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.enableMarkbotedits = true;
// </nowiki>
// Very useful links?...
// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Vermont/sidebar.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Vermont/sidebar.js]]
// remove spam link. Lý do: ít hữu dụng
// mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Mike.lifeguard/removeSpam.js&action=raw&ctype=text/javascript');

Latest revision as of 04:01, 24 May 2024

// -----------------------GENERAL VIEWING & STATISTIC TOOLS-----------------------
// MoreMenu.
mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:MoreMenu.import.js');

// Show the number of user edits
mw.loader.load("//www.wikidata.org/w/index.php?title=MediaWiki:Gadget-quickeditcounter.js&action=raw&ctype=text/javascript"); //[[:wikidata:MediaWiki:Gadget-quickeditcounter.js]]

// Show page information. Data from XTools!
mw.loader.load('//www.mediawiki.org/w/index.php?title=XTools/ArticleInfo.js&action=raw&ctype=text/javascript');

// Show Wikidata item of a page.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");

// QuickDiff by [[User:NguoiDungKhongDinhDanh]].
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/QuickDiff.js&action=raw&ctype=text/javascript');

// AjaxLoader by [[User:NguoiDungKhongDinhDanh]].
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/AjaxLoader.js&action=raw&ctype=text/javascript');

// Automatically sort wikis in Special:CentralAuth by edit number (descending).
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/SortCentralAuthByEditCount.js&action=raw&ctype=text/javascript');

// Show version ID.
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/ShowRevisionID.js&action=raw&ctype=text/javascript');

// Sort a user's contributions by page
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/ContribsByPage.js&action=raw&ctype=text/javascript');

// Increasing limit of 1000 edits in Special:Contributions
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/ExpandHistory.js&action=raw&ctype=text/javascript');

// Quickly blank the page.
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NhacNy2412/BlankedThePage.js&action=raw&ctype=text/javascript');

// Thêm chỉ mục vào các khu điều hướng trên trang, chỉ hoạt động ở các wiki dùng tiếng Anh.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/PortletLinks.js&action=raw&ctype=text/javascript');

// -----------------------EDIT TOOLS/USER SCRIPTS-----------------------
// Syntax highlighting
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript');

// FER
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/FormattedEditRequest.js&action=raw&ctype=text/javascript');

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

// [[m:User:Jon Harald Søby/diffedit.js]]
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Jon_Harald_Søby/diffedit.js&action=raw&ctype=text/javascript' );

// mobile undo (Work on Minerva)
if (
	[
		'viwiki', 'viwiktionary', 'viwikibooks', 'viwikiquote', 'viwikisource',
	].includes(
		mw.config.get('wgDBname')
	)
) {
	mw.loader.load('//vi.wikipedia.org/w/index.php?title=User:NgocAnMaster/undo.js&action=raw&ctype=text/javascript');
} else {
	mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:FR30799386/undo.js&action=raw&ctype=text/javascript');
}

// -----------------------ANTI-VANDALISM TOOLS/USER SCRIPTS-----------------------
// Zinnia by [[User:Plantaest]]
mw.loader.load('https://meta.wikimedia.org/wiki/User:Plantaest/Zinnia/.js?action=raw&ctype=text/javascript'); // Backlink: [[User:Plantaest/Zinnia/.js]]

// TwinkleGlobal. My config: [[User:Hide on Rosé/twinkleoptions.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal/load.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/twinkleglobal.css&action=raw&ctype=text/css', 'text/css');

// TwinkleGlobal for Minerva. Thanks [[User:Plantaest]] for this cool user script
mw.loader.load('https://vi.wikipedia.org/w/index.php?title=Th%C3%A0nh_vi%C3%AAn:Plantaest/TwinkleGlobalMobile.js&action=raw&ctype=text/javascript');

// Add a black round button to the upper right corner, with the function of displaying the number of undo edits in 24 hours in the currently viewed page and changing color according to the number of undo edits.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/EditWarChecker.js&action=raw&ctype=text/javascript');

// Script that adds a "CentralAuth" or "GlobalBlock/Proxy check/WHOIS" link on the top of [[Special:Contributions]] and in the Sidebar.
mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Tks4Fish/CAWhoisProxy.js&oldid=21996566&action=raw&ctype=text/javascript");

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

// Add a sidebar when viewing IP contributions.
mw.loader.load('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Danski454/WhoisSidebar.js');

// Displays range block log information on the contributions page for IPs in that range and lock logs for the user account.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/more-block-info.js&action=raw&ctype=text/javascript');

// [[User:WhitePhosphorus/active sysops]] Hiển thị xem wiki có thuộc diện global sysop không, và số BQV hoạt động trong khoảng thời gian
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/active_sysops.js&action=raw&ctype=text/javascript');

// Mark (B)Locked Global [[User:Dragoniez/Mark BLocked Global.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Dragoniez/Mark BLocked Global.js&action=raw&ctype=text/javascript');

// Bộ công cụ JavaScript hữu ích trong việc tuần tra bởi [[:m:User:Krinkle]].
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/Countervandalism.js&action=raw&ctype=text/javascript');


// AutoRollbackGlobal by [[User:DannyS712]]. Please be careful when using this script.
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:DannyS712/AutoRollbackGlobal 2.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'] = 'Reverted long-term abuse.';
selectiveRollbackConfig.editSummaries['LIENWIKI'] = 'Đã lùi lại sửa đổi không có ích (liên wiki).';
selectiveRollbackConfig.editSummaries['SPAM'] = 'Reverted spam';
selectiveRollbackConfig.editSummaries['CONROI'] = 'Đã lùi lại sửa đổi của [[WP:SOCK|tài khoản con rối]].';
//</nowiki>

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

// -----------------------USER SCRIPTS FOR MAINTAINCE WORK-----------------------
// General cleanup and [[Special:LintErrors|fix lint]].
mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/complete.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:WOSlinker/fontlinks.js&action=raw&ctype=text/javascript');

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

// Mark a talk page section as resolved
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/EasyResolve.js&action=raw&ctype=text/javascript');

// -----------------------ADVANCED USER SCRIPTS-----------------------
// Script installer. global.js is not supported
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:MusikAnimal/scriptManager.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/script-installer.js&action=raw&ctype=text/javascript');
	window.sciNoConfirm = true;

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

// -----------------------OTHER-----------------------
// Confirm logout
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Guywan/Scripts/ConfirmLogout.js&action=raw&ctype=text/javascript');

// UTC clock with purging functionality
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');
// Improved diff
mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/diff.js&action=raw&ctype=text/javascript');
// Interwiki link for userscript
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Dixtosa/userscriptInterwikiLink.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Dixtosa/userscriptInterwikiLink.js]]

// UNINSTALLED 
// Smart rollback by [[User:Hoo man]]. 
// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
// // config for smart rollback <nowiki>
// if(typeof(smartRollbackConfig) === 'undefined') smartRollbackConfig = {};
// smartRollbackConfig.editSummaries = {};
// smartRollbackConfig.editSummaries[0] = 'Reverted vandalism by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man/smart_rollback.js|SR]])';
// smartRollbackConfig.editSummaries[1] = 'Reverted disruptive edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[2] = 'Reverted LTAs. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[3] = 'Reverted spam edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[4] = 'Reverted spam edit(s). ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[5] = 'Reverted advertising edit(s) by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[6] = 'Reverted nonsense by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[7] = 'Reverted cross-wiki abuse by [[Special:Contribs/$1|$1]]. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.editSummaries[8] = 'Reverted cross-wiki abuse. ([[:m:User:Hoo_man|SR]])';
// smartRollbackConfig.enableMarkbotedits = true;
// </nowiki>
// Very useful links?...
// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Vermont/sidebar.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Vermont/sidebar.js]]
// remove spam link. Lý do: ít hữu dụng
// mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Mike.lifeguard/removeSpam.js&action=raw&ctype=text/javascript');