mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 17:51:09 +00:00
80c58fe356
Bug: T259039 Change-Id: I831b47d7a2192df3bc0c460eca9ef944661deb40
16 lines
609 B
JavaScript
16 lines
609 B
JavaScript
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 );
|