User:魔琴/common.js
< User:魔琴
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/***** PRIVATE *****/
//mw.loader.load('/w/index.php?title=User:魔琴/private/wikibreak.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/private/leftPannel.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/private/Q28-stalker.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/private/gx01-stalker.js&action=raw&ctype=text/javascript')
mw.loader.load('/w/index.php?title=User:魔琴/private/Difflink.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/private/subpages1.js&action=raw&ctype=text/javascript');
/***** PUBLIC *****/
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/ILH-Greenexternal/ILH-Greenexternal.js&action=raw&ctype=text/javascript');
//mw.loader.load('/w/index.php?title=User:魔琴/gadgets/commonlinks/commonlinks.js&action=raw&ctype=text/javascript'); //Provided in global.js
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/bulletin-editor/bulletin-editor.js&action=raw&ctype=text/javascript');
//mw.loader.load('/w/index.php?title=User:魔琴/gadgets/addWSFR/index.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/chn2prc/index.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/3007-zero/index.js&action=raw&ctype=text/javascript');
//mw.loader.load('/w/index.php?title=User:魔琴/gadgets/PQR/utcpqr.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/PQR/cd.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/yik/index.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/todo/index.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/localTimeBracket/index.js&action=raw&ctype=text/javascript');
if(mw.config.get('wgPageName')==='User_talk:魔琴'){
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/TCP/tcp.js&action=raw&ctype=text/javascript');
mw.loader.load('/w/index.php?title=User:魔琴/gadgets/Re/Re.js&action=raw&ctype=text/javascript');
}
/***** OUTER *****/
/* CD */
if(mw.config.get('wgPageName')!=='Wikipedia:新条目推荐/候选'){
mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');
}
/*var cd = mw.util.addPortletLink('p-cactions', '#', '+CD', 'ca-zv-cd', 'load CD');
$(cd).click(function(event) {
mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');
});*/
/** 实时编辑冲突提示 **/
mw.loader.load('/w/index.php?title=User:Bluedeck/serve/edit-conflict.js&action=raw&ctype=text/javascript');
/** wikEdDiff **/
mw.loader.load('//en.wiki.x.io/w/index.php?title=User:Cacycle/wikEdDiff.js&action=raw&ctype=text/javascript');
/** 半自动提报RRD **/
mw.loader.load('/w/index.php?title=User:WhitePhosphorus/js/rrd.js&action=raw&ctype=text/javascript');
/** DisamAssist **/
mw.loader.load('/w/index.php?title=User:和平奮鬥救地球/DisamAssist.js&action=raw&ctype=text/javascript');// Backlink: [[User:和平奮鬥救地球/DisamAssist.js]]
/** ForkAPage **/
window.ForkAPageDiaLogHeight = 250;
mw.loader.load('/w/index.php?title=User:SunAfterRain/ForkAPage.js&action=raw&ctype=text/javascript');
/** rater **/
mw.loader.load('/w/index.php?title=User:Ericliu1912/維基專題評級工具/rater.js&action=raw&ctype=text/javascript'); // rater
/** bulletin-editor **/
//mw.loader.load('/w/index.php?title=User:Xiplus/js/bulletin-editor.js&action=raw&ctype=text/javascript'); 改用自己修改的版本
/** MoveToDraft **/
//<nowiki>
var m2d_doNotLog = true;
var m2d_notification = "您最近创建的条目[[:Draft:$1|$1]]可能仍未完成,因此,我把它移动到草稿(条目名前有一个“<code>草稿:</code>”前缀),您可以慢慢改善它。若您认为它满足[[:N:|关注度]],可以成为一篇维基百科的条目时,请点击页面顶部的“提交草稿”以待有经验的编者审核并发布。请注意,如果草稿六个月无编辑,将会视为废弃而删除。~~~~"; //</nowiki>
mw.loader.load('/w/index.php?title=User:94rain/js/MoveToDraft.js&action=raw&ctype=text/javascript');
/** Duplicate Links **/
mw.loader.load('/w/index.php?title=User:Ericliu1912/duplinks.js&action=raw&ctype=text/javascript');
/** CatUpdates **/
mw.loader.load('/w/index.php?title=User:WhitePhosphorus/js/CatUpdates.js&action=raw&ctype=text/javascript');
/** infoboxgap **/
mw.loader.load('//en.wiki.x.io/w/index.php?title=User:Frietjes/infoboxgap.js&action=raw&ctype=text/javascript');
/***** short *****/
/* W+ et IPE */
$(document).ready(function(){
$('#ca-ve-edit span').html('VE')
$('.mw-editsection-visualeditor span').html('VE')
$('#ca-history span').html('历史')
$('.minerva-icon--edit').css('background-image','none')
$('.firstHeading .minerva-icon--edit').html('').css('background-image','url(/w/load.php?modules=skins.minerva.icons.wikimedia&image=edit&format=original&lang=zh-cn&skin=minerva&version=windu)')
$('#p-views .minerva-icon--edit-base20').html('').css('background-image','url(/w/load.php?modules=skins.minerva.icons.wikimedia&image=edit&format=original&lang=zh-cn&skin=minerva&version=windu)')
})