User:Ericliu1912/common.js
跳到导航
跳到搜索
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
- Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
- Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
- Opera:在“工具→首选项”中清除缓存
- 如果您已登录但该页面出现未登录状态,请尝试在地址栏的地址最后添加代码
?_=1
来访问最新页面。 - 添加代码后的本页地址如下:
-{R|https://moegirl.uk/User:Ericliu1912/common.js?_=1}-
- // Cat-a-lot
- mw.loader.using(['jquery.ui.dialog', 'jquery.ui.draggable', 'jquery.ui.resizable', 'jquery.ui.button', 'jquery.ui.progressbar', 'jquery.ui.autocomplete', 'jquery.spinner', 'mediawiki.api.messages', 'mediawiki.cookie', 'mediawiki.util'], function(){
- mw.loader.state("jquery.ui", "ready");
- mw.util.escapeRegExp = function(str){return str.replace(/([\\{}()|.?*+\-^$\[\]])/g, '\\$1')};
- mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot');
- });
- window.catALotPrefs = {"watchlist":"preferences", "minor":true, "editpages":true};