Skip to content

Commit

Permalink
fix: dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelyCARDINAL committed Aug 7, 2023
1 parent bd6a828 commit 392ef96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gadgets/edit/MediaWiki:Gadget-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ $(() => {

// 非维护组、技术组成员提出方针编辑请求时提醒需要走提案
if (
new URLSearchParams(location.search).get("preload").startsWith("Template:编辑请求/") &&
new URLSearchParams(location.search).get("preloadtitle").startsWith("编辑请求") &&
mw.config.get("wgNamespaceNumber") === 5 &&
mw.config.get("wgAction") === "edit" &&
!mw.config.get("wgUserGroups").some((value) => ["patroller", "sysop", "techeditor", "scripteditor", "interface-admin", "staff"].includes(value))
Expand Down
3 changes: 2 additions & 1 deletion src/gadgets/edit/definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ rights:

peers: []

dependencies: []
dependencies:
- ext.gadget.libOOUIDialog

_sites:
- zh
Expand Down

0 comments on commit 392ef96

Please sign in to comment.