Last modified: 2013-05-30 13:15:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47149, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45149 - AltGr+M doesn't create a µ
AltGr+M doesn't create a µ
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Amir E. Aharoni
https://github.com/wikimedia/jquery.i...
: javascript, patch, patch-need-review, upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-19 14:19 UTC by Fomafix
Modified: 2013-05-30 13:15 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
!event.altKey (503 bytes, patch)
2013-02-20 13:36 UTC, Fomafix
Details

Description Fomafix 2013-02-19 14:19:25 UTC
On [[German keyboard layout]] [[AltGr]] + [[M]] generates [[µ]].

When Universal Language Selector is enabled this doesn't work.
Comment 1 Andre Klapper 2013-02-19 16:27:50 UTC
What are exact steps to reproduce this, and your system setup?

Switching to German keyboard layout, logging in on mediawiki.org, clicking ULS at the top to get the "Select Language" dialog, and pressing "Alt Gr+m", I get µ in the search field. 
Firefox 18.0.2 on Fedora 18.
Comment 2 Fomafix 2013-02-20 07:49:35 UTC
Setup:
* Own MediaWiki with Universal Language Selector or
* https://www.mediawiki.org/

Browser:
* Firefox
* Chrome
* Internet Explorer 8
* Opera

OS:
* Windows 7 with German keyboard layout

Input box:
* search box or
* every other input box with ULS enabled
The input box has a keyboard icon on the right bottom corner. When you open the dialog you get among other things the option: "Disable input method CTRL+M".
Comment 3 Fomafix 2013-02-20 13:36:59 UTC
Created attachment 11811 [details]
!event.altKey

Simple patch. Works for me in Firefox, Internet Explorer, Chrome and Opera on Windows 7.
Comment 4 Siebrand Mazeland 2013-05-10 08:05:06 UTC
Please provide a fix upstream in GitHub: https://github.com/Wikimedia/jquery.ime
Comment 5 Siebrand Mazeland 2013-05-10 08:07:55 UTC
Added upstream report URL
Comment 6 Praveen Singh 2013-05-10 20:51:36 UTC
Hi,

I tried to reproduce this bug on Windows 7 and Ubuntu 12.10. Pressing AltGr+M gives µ on Ubuntu 12.10 but not on windows 7.

The patch that Fomafix suggested fixes this bug on Windows 7.

I have submitted the patch in https://github.com/wikimedia/jquery.ime/pull/175
Comment 7 Amir E. Aharoni 2013-05-17 17:17:11 UTC
Now that I re-read the bug report, I think that this was already fixed in commit: https://github.com/wikimedia/jquery.ime/commit/c903a0146d0e14c6a041aab71715a88307da7261

Fomafix, can you please re-test it now at translatewiki.net?
Comment 8 Fomafix 2013-05-18 07:35:32 UTC
The bug is still present in translatewiki.net with Firefox in Windows 7. Even with 

if ( !altGr && replacement === input ) {
  return true;
}
Comment 9 Amir E. Aharoni 2013-05-18 15:59:48 UTC
OK, got it. I merged it upstream. Will be merged in Gerrit soonish. Thanks for the fix and the clarification.
Comment 10 Santhosh Thottingal 2013-05-30 12:29:50 UTC
Can you confirm whether the fix resolve the issue?
Comment 11 Fomafix 2013-05-30 13:14:57 UTC
Now it works on translatewiki with Firefox on Windows 7 with German keyboard layout.
Comment 12 Amir E. Aharoni 2013-05-30 13:15:32 UTC
Thanks for the verification, Fomafix.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links