Page MenuHomePhabricator

CPB: Use of "tooltipAccessKeyRegexp" is deprecated. Use jquery.accessKeyLabel instead.
Closed, ResolvedPublic

Description

Accessing
https://pt.wikipedia.org/wiki/Special:BlankPage?debug=1
causes this warning: "Use of "tooltipAccessKeyRegexp" is deprecated. Use jquery.accessKeyLabel instead."


Version: unspecified
Severity: normal

Details

Reference
bz65438

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:19 AM
bzimport set Reference to bz65438.
bzimport added a subscriber: Unknown Object (MLST).

The code
https://github.com/wikimedia/mediawiki-extensions-VectorBeta/blob/master/resources/compactPersonalBar/compactPersonalBar.js#L91-L98
from module 'skins.vector.compactPersonalBar' was copied from mediawiki.util before the update
https://gerrit.wikimedia.org/r/#/c/125426/10/resources/src/mediawiki/mediawiki.util.js
and was not updated after that. It should have 'jquery.accessKeyLabel' as a dependency, and use this new plugin instead of the old method.

See
https://github.com/wikimedia/mediawiki-core/commit/2edfe7c80e052ea352881c772ce62639ece2e34a#diff-02729df1bac7fd5397ed7504c453c63c
for an example.

Change 146351 had a related patch set uploaded by Alex Monk:
Fix use of mw.util.tooltipAccessKeyRegexp

https://gerrit.wikimedia.org/r/146351

Change 146351 merged by jenkins-bot:
Fix use of mw.util.tooltipAccessKeyRegexp

https://gerrit.wikimedia.org/r/146351