注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
?_=1
来访问最新页面。https://zh.moegirl.org.cn/User:Ant1597/common.full.js?_=1
mw.loader.load("https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js"); window.InPageEdit = window.InPageEdit || {}; InPageEdit.myPreference = {"outSideClose":true,"editMinor":true,"editSummary":"$section$oldid // via InPageEdit","redLinkQuickEdit":false}; setTimeout(function(){ mw.hook("InPageEdit").add(function(){ $("a.in-page-edit-article-link").text("QEd"); // Change the Quick Edit text to QEd (taught by Dragon-Fish on "https://zh.moegirl.org/萌娘百科_talk:讨论版/提问求助/存档/2020年05月#InPageEdit在模板上的快速编辑的显示问题") }); }, 3000); // start: from https://zh.moegirl.org/User:Ktmsobs/common.js mw.loader.load("https://zh.moegirl.org/index.php?title=User:AnnAngela/js/Music163Lrc.js&action=raw&ctype=text/javascript"); mw.loader.load("https://zh.moegirl.org/index.php?title=User:AnnAngela/js/MarkAsResolved.js&action=raw&ctype=text/javascript"); mw.loader.load("https://meta.wikimedia.org/wiki/MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript"); // end // start: from https://zh.moegirl.org/User:星海子/common.js mw.loader.load("https://zh.moegirl.org/index.php?title=User:星海子/js/usergroup.js&action=raw&ctype=text/javascript"); // end // mw.loader.load("https://zh.moegirl.org/load.php?modules=ext./gadget.HotCat,Navigation_popups,Purgecache,shortlink"); // mw.loader.load("https://zh.moegirl.org/index.php?title=MediaWiki:Gadget-popups-startup.js&action=raw&ctype=text/javascript"); // mw.loader.load("https://zh.moegirl.org/index.php?title=MediaWiki:Gadget-popups-main.js&action=raw&ctype=text/javascript"); const colorLink = function(tgt, c) { var cls = document.getElementsByClassName(tgt); var i; for (i = 0; i < cls.length; i++) { cls[i].style.color = c; } }; colorLink("mw-disambig", "#F80"); // Orange disambiguition page colorLink("mw-redirect", "#90A"); // Purple redirect page var styleIPE = document.createElement("style"); styleIPE.innerHTML = ".navbar > .in-page-edit-article-link-group { position: absolute; }"; document.head.appendChild(styleIPE); // Adjust navbox IPE quick-edit style to no line break var styleLink = document.createElement("style"); styleLink.innerHTML = ".mw-disambig { color: #F80 !important; } .mw-redirect { color: #90A !important; }"; document.head.appendChild(styleLink); // Add CSS to special link color // document.appendChild(document.createElement("style").appendChild(".mw-disambig { text-decoration: underline; }"));