https://bugzilla.wikimedia.org/show_bug.cgi?id=65010

            Bug ID: 65010
           Summary: Localized brackets can break accesskey handling
           Product: MediaWiki
           Version: 1.24-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: umherirrender_de...@web.de
                CC: krinklem...@gmail.com, listenle...@gmail.com,
                    matma....@gmail.com, tpars...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Since gerrit 90892 the [] for accesskeys are used from message 'brackets', when
using other brackets (like '()') there, the regex in module
jquery.accessKeyLabel gets not matched, because the [] are hard coded. Same for
the word-seperator, when no space is used the regex will also not match:

oldTitle.replace( / \[.*?\]$/, '' )

After fix of bug 48505 there are now two accesskey hints. The default accesskey
hint and one with [] and the right buttons (like alt or ctrl), because it is
always added.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to