From bb14e46abc93b8f64ac0565b623dbac5d6cf0147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E6=B5=B7?= Date: Tue, 26 Dec 2023 01:50:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E5=85=81=E8=AE=B8staff=E7=BB=95?= =?UTF-8?q?=E8=BF=87=E5=BC=BA=E5=88=B6=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gadgets/Force_preview/MediaWiki:Gadget-Force_preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gadgets/Force_preview/MediaWiki:Gadget-Force_preview.js b/src/gadgets/Force_preview/MediaWiki:Gadget-Force_preview.js index 126fc1b2..a17d2b1b 100644 --- a/src/gadgets/Force_preview/MediaWiki:Gadget-Force_preview.js +++ b/src/gadgets/Force_preview/MediaWiki:Gadget-Force_preview.js @@ -1,6 +1,6 @@ "use strict"; $(() => { - const wgPermittedGroups = ["autoconfirmed"]; //默认只允许自动确认用户绕过强制预览。 + const wgPermittedGroups = ["autoconfirmed", "staff"]; //默认只允许自动确认用户、STAFF绕过强制预览。 //检测两个数组是否有重复元素 const intersects = (arr1, arr2) => { if (!Array.isArray(arr1) || !Array.isArray(arr2)) { return false; } From 1e622c67f08c49b1a82315fab95e238ce1586e0b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 17:51:51 +0000 Subject: [PATCH 2/2] auto: commit history generated by ganerateCommitsHistory --- src/global/zh/MediaWiki:GHIAHistory.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/global/zh/MediaWiki:GHIAHistory.json b/src/global/zh/MediaWiki:GHIAHistory.json index fac1b869..88867c28 100644 --- a/src/global/zh/MediaWiki:GHIAHistory.json +++ b/src/global/zh/MediaWiki:GHIAHistory.json @@ -2150,6 +2150,11 @@ } ], "U:星海子": [ + { + "commit": "bb14e46abc93b8f64ac0565b623dbac5d6cf0147", + "datetime": "2023-12-25T17:50:23.000Z", + "changedFiles": 1 + }, { "commit": "5325f0941974e940520c3fcf26db2799b537b484", "datetime": "2023-12-25T17:42:30.000Z",