「File:Ashikokism cover.png」與「MediaWiki:Gadget-FlowthreadTOC.js」:頁面間的差異
(頁面間的差異)
跳至導覽
跳至搜尋
imported>=海豚= 小 (文本替换 - 替换“Category:转移自萌娘共享的文件”为“”) |
imported>=海豚= 無編輯摘要 |
||
行 1: | 行 1: | ||
$(function() { | |||
if ($('#toc')[0] && mw.config.exists('wgFlowThreadConfig')) { //同时存在Flowthread评论栏和目录的页 面 ,在目录添加Flowthread评论栏链接 | |||
$('#toc li.toclevel-1:last').after('<li class="toclevel-1"><a href="#flowthread"><span class="tocnumber">' + (parseInt($('#toc li.toclevel-1 span.tocnumber:last').text()) + 1) + '</span> <span class="toctext">评论栏</span></a></li>'); | |||
} | |||
}); |
於 2021年5月14日 (五) 20:47 的最新修訂
$(function() {
if ($('#toc')[0] && mw.config.exists('wgFlowThreadConfig')) { //同时存在Flowthread评论栏和目录的页面,在目录添加Flowthread评论栏链接
$('#toc li.toclevel-1:last').after('<li class="toclevel-1"><a href="#flowthread"><span class="tocnumber">' + (parseInt($('#toc li.toclevel-1 span.tocnumber:last').text()) + 1) + '</span> <span class="toctext">评论栏</span></a></li>');
}
});
檔案歷史
點選日期/時間以檢視該時間的檔案版本。
日期/時間 | 縮圖 | 尺寸 | 使用者 | 備註 | |
---|---|---|---|---|---|
目前 | 2022年11月20日 (日) 09:12 | 2,092 × 3,000(4.9 MB) | Maintenance script(留言 | 貢獻) | == 摘要 == Importing file |
無法覆蓋此檔案。
檔案用途
下列頁面有用到此檔案: