Skip to content

Commit

Permalink
fix: replace wrong method in updateLinks module
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoruaFox committed Jun 4, 2024
1 parent 21b7a7f commit 7fc8539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RollbackSummary/modules/updateLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const updateLinks = ($content: JQuery): void => {
} else {
const username: string | null = mw.util.getParamValue('from', href);
if (username) {
summary = getMessage('Rollback edits by').replace('$1', username) + summary;
summary = getMessage('Rollback edits by').replaceAll('$1', username) + summary;
} else {
summary = getMessage('Rollback edits by a hidden user') + summary;
}
Expand Down

0 comments on commit 7fc8539

Please sign in to comment.