Merge "Revert "mw.action.edit: Restore modifier keys for accesskey in tooltip for...
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 1 Aug 2017 22:13:15 +0000 (22:13 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 1 Aug 2017 22:13:15 +0000 (22:13 +0000)
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 35b1b80..68d6cbb 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.