Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelyCARDINAL committed Nov 6, 2023
1 parent 4dcf9f5 commit 1c365d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/groups/zh/checkuser/MediaWiki:Group-checkuser.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@
mw.loader.using(["mediawiki.Uri"]),
]);
const wgArticleId = mw.config.get("wgArticleId");
const wgIsArticle = mw.config.get("wgIsArticle");
// 一键复制用户名
if (wgArticleId === 325714) {
if (wgArticleId === 325714 && wgIsArticle) {
copyUsername();
copyUserlist();
}
Expand Down

0 comments on commit 1c365d0

Please sign in to comment.