mediawiki-extensions-Discus.../modules/dt-ve/dt.ui.UsernameCompletionTool.js

16 lines
609 B
JavaScript
Raw Permalink Normal View History

function MWUsernameCompletionTool() {
// Parent constructor
MWUsernameCompletionTool.super.apply( this, arguments );
}
OO.inheritClass( MWUsernameCompletionTool, ve.ui.Tool );
// Static
MWUsernameCompletionTool.static.commandName = 'insertAndOpenMWUsernameCompletions';
MWUsernameCompletionTool.static.name = 'usernameCompletion';
MWUsernameCompletionTool.static.icon = 'userAdd';
MWUsernameCompletionTool.static.title = OO.ui.deferMsg( 'discussiontools-replywidget-mention-tool-title' );
MWUsernameCompletionTool.static.autoAddToCatchall = false;
ve.ui.toolFactory.register( MWUsernameCompletionTool );