diff --git a/modules/dt-ve/dt.ui.UsernameCompletionAction.js b/modules/dt-ve/dt.ui.UsernameCompletionAction.js index 8431406ea..5da108eb1 100644 --- a/modules/dt-ve/dt.ui.UsernameCompletionAction.js +++ b/modules/dt-ve/dt.ui.UsernameCompletionAction.js @@ -36,7 +36,11 @@ function MWUsernameCompletionAction( surface ) { action.localUsers.push( user ); } } ); - if ( relevantUserName && this.localUsers.indexOf( relevantUserName ) === -1 ) { + if ( + relevantUserName && + relevantUserName !== mw.user.getName() && + this.localUsers.indexOf( relevantUserName ) === -1 + ) { this.localUsers.push( relevantUserName ); this.localUsers.sort(); }