Skip to content

Commit

Permalink
New UserMessages templates (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
SAOUTAX authored Jan 4, 2025
1 parent bab578c commit a21050d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ BearBin <[email protected]>
Func <[email protected]>
云霞 <[email protected]>
Dreammu <[email protected]>
SaoMikoto <[email protected]>
3 changes: 3 additions & 0 deletions src/gadgets/UserMessages/MediaWiki:Gadget-UserMessages.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,9 @@
["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/ReplyNoIndentation", "ReplyNoIndentation", "回复他人发言未缩进(1=页面名,2=被回复人)", umsg.umFlagP2 + umsg.umFlagP3, "关于您在讨论区的发言"],
["UserMessages/OverSpeedEdit", "OverSpeedEdit", "超速编辑", umsg.umFlagUM, "关于您近期的编辑"],
];
const placeholderTemplate = ["", "请选择一个模板(本选项不可使用)", "给你的新留言~", 0];
Object.defineProperties(umsg, {
Expand Down

0 comments on commit a21050d

Please sign in to comment.