模組討論: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代碼臨時修復一下,後續我看看怎麼修補(這段代碼另外還增加了手動掛橫幅的頁面隱藏指示器圖標的功能):稍後重提EP。--Dabao qian℡ 2026年8月29日 (六) 10:28 (UTC)
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; }
- 目前已知問題是在連鎖保護的頁面會卡出雙重圖標,先用這段CSS代碼臨時修復一下,後續我看看怎麼修補(這段代碼另外還增加了手動掛橫幅的頁面隱藏指示器圖標的功能):
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)