Last modified: 2012-11-23 11:24:19 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 T43676, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41676 - IME not attached to new DOM text field
IME not attached to new DOM text field
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Santhosh Thottingal
https://translatewiki.net/w/i.php?tit...
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-02 08:15 UTC by Siebrand Mazeland
Modified: 2012-11-23 11:24 UTC (History)
7 users (show)

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


Attachments

Description Siebrand Mazeland 2012-11-02 08:15:36 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.
Comment 1 Niklas Laxström 2012-11-02 08:24:21 UTC
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.
Comment 2 Niklas Laxström 2012-11-02 08:26:54 UTC
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' ) );
		}
Comment 3 Santhosh Thottingal 2012-11-23 11:24:19 UTC
Fixed in gerrit I0023aeb6, but fix was for Translate extension.

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


Navigation
Links