mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 19 Jun 2017 19:50:59 +0000 (21:50 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 19 Jun 2017 20:09:16 +0000 (20:09 +0000)
commit0269ae0fe57f5192743e99ccd67970db989b542d
tree4d2896797cf1f00ad55a53e729e6301ef729369a
parente9e47c36a473b3819a977637cef9f6f1bf44325e
mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field

.updateTooltipAccessKeys() is called automatically after the page
loads (from mediawiki.page.ready), but infusing the field blows away
these changes.

This is a poor workaround, the same issue will appear if e.g. the
buttons are infused. The functionality provided by jquery.accessKeyLabel
should be an OOjs UI feature, or we should somehow call it automatically
after infusing widgets.

Bug: T168042
Change-Id: I2b166be34b8394c296fbc7326570cd732284888f
resources/Resources.php
resources/src/mediawiki.action/mediawiki.action.edit.js