2023年政策修订增补工作正在进行中,欢迎参与!
MediaWiki:Gadget-FlowthreadTOC.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.icu/MediaWiki:Gadget-FlowthreadTOC.js?_=1}-
萌娘百科界面管理员团队提醒您
本页面由萌娘百科界面管理员团队在其 GitHub 库内进行维护,通过机器人自动生成可被 MediaWiki Gadget 扩展接受的版本并保存到此处。
如果您有任何意见或建议,建议您到技术实现版提出。
- 本页面的内容为自动生成,手动修改可能会被覆盖,源码可在此处查看;
- 最新修订由 U:AnnAngela 与 U:Bhsd、GH:github-actions[bot] 共同做出,相关 commit 为:bf83eaea - ci: use eslint flat config (#400) [展开/折叠]
Co-authored-by: Bhsd <55071315+bhsd-harry📧users.noreply.github.com>↩Co-authored-by: github-actions[bot] <41898282+github-actions[bot]📧users.noreply.github.com>
/**
* -------------------------------------------------------------------------
* !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
* -------------------------------------------------------------------------
*/
var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/FlowthreadTOC/MediaWiki:Gadget-FlowthreadTOC.js|user=[[U:AnnAngela]]|co-authors=[[U:Bhsd]]、GH:github-actions[bot]|longId=bf83eaea8eb4d94405bdf6885ec072fec997dd56|shortId=bf83eaea|summary=ci: use eslint flat config (#400)|body=<nowiki>Co-authored-by: Bhsd <55071315+bhsd-harry📧users.noreply.github.com>↩Co-authored-by: github-actions[bot] <41898282+github-actions[bot]📧users.noreply.github.com></nowiki>}}';
/* <pre> */
"use strict";
$(function () {
var toc = $("#toc, #mw-content-text > .mw-parser-output > .toc").first();
if (toc[0] && mw.config.exists("wgFlowThreadConfig")) {
toc.find("li.toclevel-1:last-child").after("<li class=\"toclevel-1\"><a href=\"#flowthread\"><span class=\"tocnumber\">".concat(+toc.find("li.toclevel-1 span.tocnumber:last-child").text() + 1, "</span> <span class=\"toctext\">").concat(wgUVS("评论区", "評論區"), "</span></a></li>"));
}
});
/* </pre> */