Last modified: 2014-05-31 14:02:17 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 T67739, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65739 - Add feature for manual splitting of translation units for Special:PageMigration
Add feature for manual splitting of translation units for Special:PageMigration
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Pratik Lahoti
:
Depends on:
Blocks: 65740
  Show dependency treegraph
 
Reported: 2014-05-25 06:29 UTC by Pratik Lahoti
Modified: 2014-05-31 14:02 UTC (History)
5 users (show)

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


Attachments

Description Pratik Lahoti 2014-05-25 06:29:02 UTC
There needs to be a feature for splitting of the right hand side blocks at Special:PageMigration. This could be accomplished in following ways -

1) Allow an option to add a new unit somewhere in between and perform manual splitting

2) Perform the split on some text selection event and add a new unit after the current one in the DOM.

3) Select the text to be retained in the current block and click the split icon. A new unit with the remaining text would be added after the current block.

Looks like 3 is a mixture of 1 and 2 and should be easy to implement. Comments welcomed.
Comment 1 Nemo 2014-05-25 07:18:00 UTC
(In reply to Pratik Lahoti from comment #0)
> 3) Select the text to be retained in the current block and click the split
> icon. A new unit with the remaining text would be added after the current
> block.

Selection + button looks ok.
Comment 2 Niklas Laxström 2014-05-25 09:01:29 UTC
I would just keep it simple. People know how to cut and paste
Comment 3 Pratik Lahoti 2014-05-26 07:55:19 UTC
Yes, keeping it simple seems the way to go. The text selection is lost on button click event and hence window.getSelection() would return an empty string.

I am now thinking of having a '+' icon along with the edit, delete and swap icons. Clicking on it will add a new unit below the current one and update the ids of corresponding units as well. User can then perform manual splitting by clicking the edit icon and doing cut-paste.
Comment 4 Gerrit Notification Bot 2014-05-26 10:34:40 UTC
Change 135415 had a related patch set uploaded by BPositive:
Feature to add a new unit to facilitate manual splitting for Special:PageMigration

https://gerrit.wikimedia.org/r/135415
Comment 5 Gerrit Notification Bot 2014-05-27 10:49:44 UTC
Change 135415 merged by jenkins-bot:
Feature to add a new unit to facilitate manual splitting for Special:PageMigration

https://gerrit.wikimedia.org/r/135415

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


Navigation
Links