mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-12 09:58:17 +00:00
8ca9da66fd
Depends-On: I6de36ca2ba279dc11d18bdff3c5d138444a13361 Change-Id: Ic09e18bf284b97bb135c3e8b0129fb9bc96cf72f
15 lines
550 B
JavaScript
15 lines
550 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' );
|
|
|
|
ve.ui.toolFactory.register( MWUsernameCompletionTool );
|