jquery.accessKeyLabel: Replace hardcoded brackets and space
authorFomafix <fomafix@googlemail.com>
Tue, 13 May 2014 18:23:05 +0000 (18:23 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Tue, 13 May 2014 18:23:05 +0000 (18:23 +0000)
commit416ec6298a9118d19aaec75f176207a89055d28c
tree78b0b8382fc3553e5c86cf3c0d57a589d4daab1a
parent2e50b896f1a55667ced32502caa9681c36df7587
jquery.accessKeyLabel: Replace hardcoded brackets and space

Since If914e26f2af23f04c46f011ad8a276a9d3190583 the brackets of the
accesskey are localized, so do it also on the client side.

Also added a comment to match php and js.
Adjust tests to work on wikis with changed messages.

Bug: 65010
Change-Id: Id9908b9efcb923f0b740e2c8fd77d1ef676b489f
includes/Linker.php
resources/Resources.php
resources/src/jquery/jquery.accessKeyLabel.js
tests/qunit/suites/resources/jquery/jquery.accessKeyLabel.test.js
tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js