Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const getClient = (remoteHost) => new Bot({
debug: !!process.env.WIKIMEDIA_DEBUG,
username: process.env.WIKIMEDIA_USER,
password: process.env.WIKIMEDIA_SECRET,
userAgent: 'MoodleBot',
Copy link

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider including version information in the User-Agent string to help with debugging and tracking. For example: 'MoodleBot/1.0' or 'MoodleBot/1.0 (https://example.com/contact)'

Suggested change
userAgent: 'MoodleBot',
userAgent: 'MoodleBot/1.0 (https://moodle.com/contact)',

Copilot uses AI. Check for mistakes.
});

const getLogger = () => winston.createLogger({
Expand Down