User:Simon 1996/common.js

importScript("User:和平奮鬥救地球/link-ts.js"); mw.loader.load('https://wikiplus-app.smartgslb.com/Main.js'); importScript('MediaWiki:Gadget-HotCat.js'); $(function {    var hist; var url;    if (!(hist = document.getElementById('ca-history') )) return;    if (!(url = hist.getElementsByTagName('a')[0] )) return;    if (!(url = url.href )) return;    mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), wgULS('-{zh-cn:清除缓存;zh-tw:清除快取}-'), 'ca-purge', wgULS('-{zh-cn:更新服务器缓存;zh-tw:更新伺服器快取}-'), '*'); });