User:梦夕琳/common.js
外观
< User:梦夕琳
(重定向自User:孟天皓/common.js)注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
//适用于新版vector皮肤
//快捷方式
mw.loader.using('mediawiki.util').then(function() {
$(function() {
mw.util.addCSS('.mw-ui-icon-wikimedia-articleRedirect:before {background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cg%20fill%3D%22%23000%22%3E%3Cpath%20d%3D%22M5%201a2%202%200%2000-2%202v1c0%205%202%208%207%208V9l5%204-5%204v-3c-3.18%200-5.51-.85-7-2.68V17a2%202%200%20002%202h10a2%202%200%20002-2V3a2%202%200%2000-2-2z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)}');
mw.util.addPortletLink('p-personal', '/wiki/User:孟天皓/快捷方式', null, 'pt-diy', '您的快捷方式', null, null);
$('#pt-diy>a').html('<span>快捷方式</span>').addClass('mw-ui-icon mw-ui-icon-before mw-ui-icon-wikimedia-articleRedirect')
})
})
//刷新缓存
mw.loader.using('mediawiki.util').then(function() {
$(function() {
mw.util.addCSS('.mw-sidebar-button:before {background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org/2000/svg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%20%3Ctitle%3E%20menu%20%3C/title%3E%20%3Cpath%20d%3D%22M1%203v2h18V3zm0%208h18V9H1zm0%206h18v-2H1z%22/%3E%20%3C/svg%3E)}');
mw.util.addPortletLink('p-personal', '?action=purge', null, 'pt-dit', '刷新缓存', null,null);
$('#pt-dit>a').html('<span>刷新缓存</span>').addClass('mw-ui-icon mw-ui-icon-before mw-sidebar-button')
})
})
importScript("User:Vozhuo/Tool/Reference Organizer.js"); //参考文献整理器
mw.loader.load('https://zh.wikipedia.org/w/index.php?title=User:Vozhuo/Tool/MOSNUM dates.js&action=raw&ctype=text/javascript');//ISO 日期格式转换
importScript('User:小躍/Vote-Template/Vote.js'); //半自動投票模板
importScript("User:CHih-See Hsie/Gadget-text-spacing.js"); //对字距优化小工具的改进
importScript("User:Bluedeck/serve/blib-link.js"); /*藍桌圖書館快線*/
importScript("User:Bluedeck/serve/edit-conflict.js"); /*實時編輯衝突提示*/
importScript("user:Bluedeck/serve/blib.js"); /*貢獻藍桌圖書館*/
importScript("User:Bluedeck/serve/ar-auto-t.js"); /*已刪除內容查詢插件*/
importScript("user:bluedeck/serve/blib-inverse.js"); /* 蓝桌图书馆获取源码(推荐,非必需) */