diff --git a/src/gadgets/ModerationStatus/definition.yaml b/src/gadgets/ModerationStatus/definition.yaml index 4745ec5b..9289e8c0 100644 --- a/src/gadgets/ModerationStatus/definition.yaml +++ b/src/gadgets/ModerationStatus/definition.yaml @@ -17,7 +17,7 @@ type: general package: false rights: - - edit + - disabled peers: [] diff --git a/src/gadgets/UserMessages/MediaWiki:Gadget-UserMessages.js b/src/gadgets/UserMessages/MediaWiki:Gadget-UserMessages.js index 99ce6533..423d5e02 100644 --- a/src/gadgets/UserMessages/MediaWiki:Gadget-UserMessages.js +++ b/src/gadgets/UserMessages/MediaWiki:Gadget-UserMessages.js @@ -855,7 +855,7 @@ ["UserMessages/EditWar2", "EditWar", "提醒即将构成编辑战(1=页面名)", umsg.umFlagP2, "编辑战提醒"], ["UserMessages/EditWar3", "EditWar", "警告编辑战用户(1=页面名,2=选填原因)", umsg.umFlagP2 + umsg.umFlagP3, "编辑战警告"], ["UserMessages/FinalWarning", "FinalWarning", "忍耐是有限的(1/2=选填原因,推荐在额外信息填写)", umsg.umFlagP2 + umsg.umFlagP3, "警告:忍耐是有限的"], - ["UserMessages/NavSort", "NavSort", "大家族模板排序错误(1-页面名)", umsg.umFlagP2, "关于大家族模板的排序"], + ["UserMessages/NavSort", "NavSort", "大家族模板排序错误(1=页面名)", umsg.umFlagP2, "关于大家族模板的排序"], ["UserMessages/ReplyNoIndentation", "ReplyNoIndentation", "回复他人发言未缩进(1=页面名,2=被回复人)", umsg.umFlagP2 + umsg.umFlagP3, "关于您在讨论区的发言"], ["UserMessages/OverSpeedEdit", "OverSpeedEdit", "超速编辑", umsg.umFlagUM, "关于您近期的编辑"], ]; diff --git a/src/gadgets/moveToUserSubpage/MediaWiki:Gadget-moveToUserSubpage.js b/src/gadgets/moveToUserSubpage/MediaWiki:Gadget-moveToUserSubpage.js index 4de4d72d..0348bbe0 100644 --- a/src/gadgets/moveToUserSubpage/MediaWiki:Gadget-moveToUserSubpage.js +++ b/src/gadgets/moveToUserSubpage/MediaWiki:Gadget-moveToUserSubpage.js @@ -216,7 +216,7 @@ $(() => { to: page, movetalk: moveTalk, movesubpages: true, - reason: `${reason} //noredirect`, + reason, noredirect: true, watchlist: watchAfter, tags: "Automation tool", diff --git a/src/groups/zh/sysop/MediaWiki:Group-sysop.css b/src/groups/zh/sysop/MediaWiki:Group-sysop.css index 90210de5..2248827e 100644 --- a/src/groups/zh/sysop/MediaWiki:Group-sysop.css +++ b/src/groups/zh/sysop/MediaWiki:Group-sysop.css @@ -84,6 +84,6 @@ body[class*="page-萌娘百科_talk_讨论版_"] .userlink .userlink-menu { display: none; } -#pagehistory [data-mw-rev-approved="false"] input[type="radio"] { +li.mw-moderation-line:not(.mw-moderation-approved) input[type="radio"] { visibility: unset; }