Revert "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary...
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 22 Jun 2017 19:39:49 +0000 (19:39 +0000)
committerJforrester <jforrester@wikimedia.org>
Tue, 1 Aug 2017 20:58:52 +0000 (20:58 +0000)
No longer needed after changes from T168408.

This reverts commit 0269ae0fe57f5192743e99ccd67970db989b542d.

Bug: T168408
Change-Id: I50c24a9bada19a0e7d3a009c9afec073f6ffa357

resources/Resources.php
resources/src/mediawiki.action/mediawiki.action.edit.js

index 82f285e..45a90d1 100644 (file)
@@ -1423,7 +1423,6 @@ return [
                'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
                'dependencies' => [
                        'mediawiki.action.edit.styles',
-                       'jquery.accessKeyLabel',
                        'jquery.textSelection',
                        'jquery.byteLimit',
                        'mediawiki.widgets.visibleByteLimit',
index 5b81017..5a9ed7e 100644 (file)
                        mw.loader.using( 'oojs-ui-core' ).then( function () {
                                var wpSummary = OO.ui.infuse( $( '#wpSummaryWidget' ) );
 
-                               // Restore appropriate modifier keys for the accesskey in the 'title' attribute
-                               // TODO: This should be an OOjs UI feature, or somehow happen automatically after infusing.
-                               wpSummary.$input.updateTooltipAccessKeys();
-
                                // Show a byte-counter to users with how many bytes are left for their edit summary.
                                // TODO: This looks a bit weird, as there is no unit in the UI, just numbers; showing
                                // 'bytes' confused users in testing, and showing 'chars' would be a lie. See T42035.