跳转到内容

模組討論:Protection banner

页面内容不支持其他语言。
添加话题
维基百科,自由的百科全书
Hamish在话题“編輯請求 2026-08-29”中的最新留言:19天前

編輯請求 2026-08-29

[编辑]

参见Template talk:Pp-meta#編輯請求 2026-08-29,修订模板使之能直接覆盖页面状态指示器的默认图标。另外请一并将Module:Protection banner/sandbox/config覆盖到Module:Protection banner/config。--Dabao qian℡ 2026年8月29日 (六) 09:53 (UTC)回复

我大概看了一下主页面应该是这么改的,有遗漏麻烦重提ep。--Hamish one great show can change the world 2026年8月29日 (六) 10:03 (UTC)回复
目前已知问题是在连锁保护的页面会卡出双重图标,先用这段CSS代码临时修复一下,后续我看看怎么修补(这段代码另外还增加了手动挂横幅的页面隐藏指示器图标的功能):
body:has(.ambox-protection, .cmbox-protection, .imbox-protection, .ombox-protection, .tmbox-protection, #mw-indicator-protection-sysop-cascade, #mw-indicator-protection-templateeditor-cascade, #mw-indicator-protection-autoconfirmed-cascade, #mw-indicator-protection-extendedconfirmed-cascade) :is(#mw-indicator-protection-sysop, #mw-indicator-protection-templateeditor, #mw-indicator-protection-autoconfirmed, #mw-indicator-protection-extendedconfirmed) {
	display: none;
}
稍后重提EP。--Dabao qian℡ 2026年8月29日 (六) 10:28 (UTC)回复

Hamish one great show can change the world 2026年8月29日 (六) 10:03 (UTC)回复

編輯請求 2026-08-29

[编辑]
请求已处理

修复:移除级联保护页面的双重图标。--Dabao qian℡ 2026年8月29日 (六) 11:05 (UTC)回复

8.30最终修改:完成对级联保护的适配,使之直接覆盖而不是删除或出现双重图标,另外还包括对/config子页面的修订(沙盒版本位置同上)。 附@Hamish--Dabao qian℡ 2026年8月29日 (六) 18:12 (UTC)回复
--Hamish|Hopewill camelot 2026年10月17日 (六) 21:54 (UTC)回复