注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
?_=1
来访问最新页面。https://zh.moegirl.org.cn/User:NozomiKat/common.js?_=1
// <pre> mw.loader.load('https://zh.moegirl.org/index.php?title=User:AnnAngela/js/watchlist-toggle.js&action=raw&ctype=text/javascript'); mw.loader.load('https://zh.moegirl.org/index.php?title=User:AnnAngela/js/upload-log-toggle.js&action=raw&ctype=text/javascript'); mw.loader.load('https://zh.moegirl.org/index.php?title=User:AnnAngela/js/watchlist-log.js&action=raw&ctype=text/javascript'); mw.loader.load('https://zh.moegirl.org/index.php?title=User:AnnAngela/js/quick-save.js&action=raw&ctype=text/javascript'); (function(mw) { mw.loader.implement('AnnToolsPersonalLabel', function($, jQuery) { $('#pt-watchlist').after('<li id="pt-backlog"><a href="//zh.moegirl.org/分类:积压工作">积压工作</a></li><li id="pt-sandbox"><a href="//zh.moegirl.org/User:' + mw.config.values.wgUserName + '/Sandbox">我的沙盒</a></li><li id="pt-personlog"><a href="//zh.moegirl.org/Special:log/' + mw.config.values.wgUserName + '">我的日志</a></li>'); }); })(mediaWiki); //Explanations for this javaScript code in http://zh.moegirl.org/User:AnnAngela/js (function(mw) { mw.loader.implement('AnnToolsMWPanel', function($, jQuery) { $('#t-upload').after('<li id="t-expandtemplates"><a href="//zh.moegirl.org/index.php?title=Special:%E5%B1%95%E5%BC%80%E6%A8%A1%E6%9D%BF&wpRemoveComments=1&wpInput={{' + mw.config.values.wgPageName + '}}">展开模板</a></li><li id="t-Prefixindex"><a href="https://zh.moegirl.org/index.php?title=Special%3A前缀索引&prefix=' + mw.config.values.wgTitle + '&namespace=' + mw.config.values.wgNamespaceNumber + '">前缀页面</a></li><li id="t-pagelog"><a href="//zh.moegirl.org/index.php?title=Special:%E6%97%A5%E5%BF%97&page=' + mw.config.values.wgPageName + '">页面日志</a></li><li id="t-replacetext" class="sysop-show"><a href="/Special:替换文本">替换文本</a></li>'); $('#n-recentchanges').after('<li id="n-log"><a href="/Special:log" title="所有日志">所有日志</a></li><li id="n-ListDuplicatedFiles"><a href="/Special:ListDuplicatedFiles" title="重复文件">重复文件</a></li><style>/* 配合左栏 */#t-expandtemplates, #t-userlog, .ns-2 #t-pagelog, .ns-3 #t-pagelog, .ns--1 #t-pagelog {display:none;}.ns-10 #t-expandtemplates, .ns-2 #t-userlog, .ns-3 #t-userlog {display:list-item!important;}'); $('#t-log a').text("用户日志"); }); }); // </pre>