首页
历史
最近更改
特殊页面
社群首页
设置
关于Vocawiki
免责声明
Vocawiki
搜索
用户菜单
创建账号
登录
查看“︁MediaWiki:Gadget-mwPanel.js”︁的源代码
←
MediaWiki:Gadget-mwPanel.js
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此JavaScript页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/** * ------------------------------------------------------------------------- * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!! * ------------------------------------------------------------------------- */ var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/mwPanel/Gadget-mwPanel.js|user=[[U:LJL]]|co-authors=|longId=0f6845a5dc35c99ed4cb0477be0e168291329c91|shortId=0f6845a5|summary=fix:修复“扩充侧边栏”样式问题 (#674)}}'; /* <pre> */ "use strict";$(()=>{const e=mw.config.get("wgRelevantPageName"),t={"#t-upload":{"t-expandtemplates":`<li id="t-expandtemplates" class="mw-list-item"><a href="/Special:展开模板?wpRemoveComments=1&wpInput={{${e}}}">${wgULS("展开模板","展開模板")}</a></li>`,"t-prefixindex":`<li id="t-prefixindex" class="mw-list-item"><a href="/Special:前缀索引?prefix=${e}">${wgULS("前缀页面","按詞頭查詢頁面")}</a></li>`,"t-pagelog":`<li id="t-pagelog" class="mw-list-item"><a href="/Special:日志?page=${e}">${wgULS("页面日志","頁面日誌")}</a></li>`,"t-replacetext":`<li id="t-replacetext" class="sysop-show mw-list-item"><a href="/Special:替换文本">${wgULS("替换文本","取代文字")}</a></li>`},"#n-recentchanges":{"n-log":`<li id="n-log" class="mw-list-item"><a href="/Special:日志" title="所有日志">${wgULS("所有日志","所有日誌")}</a></li>`}};for(const e in t){const l=$(e);for(const a in t[e])document.getElementById(a)||l.after(t[e][a])}mw.loader.addStyleTag("#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(wgULS("用户日志","使用者日誌",null,null,"用戶日誌"))}); /* </pre> */
该页面使用的模板:
Template:GHIACode
(
查看源代码
)
Template:Info
(
查看源代码
)
Template:TemplateCate
(
查看源代码
)
Module:SafeCate
(
查看源代码
)
返回
MediaWiki:Gadget-mwPanel.js
。