Last modified: 2012-11-23 11:24:19 UTC
In for example the Translate extension translation editor, new elements are created when a translation unit is loaded. The IME does not attach to these elements. Steps to reproduce: 1. Go to https://translatewiki.net/wiki/Special:Translate/out-eol-0-all?language=nl while logged in and with translator rights. 2. Double click the first line. Translation editor will open. 3. Place cursor in edit area. Expected: IME icon will appear. Observed: No IME icon appears, and IME cannot be made active.
I saw this when I initially added support for ULS IME in Translate. You need to click twice (click somewhere else in between) and then it appears.
Correction, I added support for Narayam, not ULS IME: var textarea = form.find( '.mw-translate-edit-area' ); textarea.css( 'display', 'block' ); textarea.autoResize( { maxHeight: 200 } ); textarea.focus(); // Optional Narayam integration // @todo: update to ULS when applicable if ( $.narayam ) { $.narayam.addInputs( form.find( 'textarea, input' ) ); }
Fixed in gerrit I0023aeb6, but fix was for Translate extension.