User:Vanished user 1929210/common.js

// Wikiplus（https://zh.wikipedia.org/wiki/User:镜音铃/Wikiplus） from zh.moegirl.org // meta //mw.loader.load('https://wikiplus-app.smartgslb.com/Main.js'); //localStorage.Wikiplus_SendStatistics = 'False'; //localStorage.Wikiplus_Settings = '{"defaultSummary": " via W+"}';

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

// EditDraft from zh.moegirl.org //mw.loader.load("//zh.moegirl.org/index.php?title=MediaWiki:Gadget-EditDraft.js&action=raw&ctype=text/javascript");

// Link Translator importScript('User:逆襲的天邪鬼/link-ts.js');

// Real-time Recent Changes //mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');

// Mark user rights window.markUserRights = true; importScript('User:逆襲的天邪鬼/MarkUserRights.js');

// Follow Redirects mw.loader.load('//zh.wikipedia.org/w/index.php?title=User:逆襲的天邪鬼/js/followredirect.js&action=raw&ctype=text/javascript');

// Checklinks mw.util.addPortletLink(   'p-cactions',    "https://dispenser.homenet.org/~dispenser/cgi-bin/dab_solver.py/" + mw.config.get('wgContentLanguage') + ":" + mw.config.get('wgPageName'),    'FixDisambig' ).childNodes[0].target = '_blank'; mw.util.addPortletLink(   'p-cactions',    "http://dispenser.homenet.org/~dispenser/cgi-bin/webchecklinks.py?page=" + mw.config.get('wgContentLanguage') + ":" + mw.config.get('wgPageName'),    'CHECKLINKS' ).childNodes[0].target = '_blank';

// 測試個人代碼 (function {    var node = mw.util.addPortletLink('p-cactions', '#', 'Load test.js');    $(node).click(function (e) { e.preventDefault; if (confirm('Load test.js?')) { importScript('User:逆襲的天邪鬼/test.js'); }   });

var isTest = function { return localStorage.testMyCode !== undefined && localStorage.testMyCode !== 'false'; }; var label = function { return isTest ? '[√] test.js' : '[　] test.js'; };

node = mw.util.addPortletLink('p-cactions', '#', label); $(node).click(function (e) {       e.preventDefault;        localStorage.testMyCode = !isTest;        $('a', this).text(label);    });

if (isTest) { importScript('User:逆襲的天邪鬼/test.js'); } });