mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 18:21:50 +00:00
03665de09e
Change-Id: I4fba23e83d9ace833b55e67d1c3ef8b8da5ed19f
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 );
|