mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-29 02:25:44 +00:00
15 lines
583 B
JavaScript
15 lines
583 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 = 'userAvatar'; // TODO: should be 'userAdd';
|
||
|
MWUsernameCompletionTool.static.title = OO.ui.deferMsg( 'discussiontools-replywidget-mention-tool-title' );
|
||
|
|
||
|
ve.ui.toolFactory.register( MWUsernameCompletionTool );
|