2020-06-11 14:56:17 +00:00
|
|
|
function MWUsernameCompletionTool() {
|
|
|
|
// Parent constructor
|
|
|
|
MWUsernameCompletionTool.super.apply( this, arguments );
|
|
|
|
}
|
|
|
|
|
|
|
|
OO.inheritClass( MWUsernameCompletionTool, ve.ui.Tool );
|
|
|
|
|
|
|
|
// Static
|
|
|
|
MWUsernameCompletionTool.static.commandName = 'insertAndOpenMWUsernameCompletions';
|
|
|
|
MWUsernameCompletionTool.static.name = 'usernameCompletion';
|
2020-06-24 11:27:56 +00:00
|
|
|
MWUsernameCompletionTool.static.icon = 'userAdd';
|
2020-06-11 14:56:17 +00:00
|
|
|
MWUsernameCompletionTool.static.title = OO.ui.deferMsg( 'discussiontools-replywidget-mention-tool-title' );
|
2020-07-28 19:42:33 +00:00
|
|
|
MWUsernameCompletionTool.static.autoAddToCatchall = false;
|
2020-06-11 14:56:17 +00:00
|
|
|
|
|
|
|
ve.ui.toolFactory.register( MWUsernameCompletionTool );
|