Page MenuHomePhabricator

Add feature for manual splitting of translation units for Special:PageMigration
Closed, ResolvedPublic

Description

Author: pr4tiklahoti

Description:
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
  1. Perform the split on some text selection event and add a new unit after the current one in the DOM.
  1. 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.


Version: unspecified
Severity: normal

Details

Reference
bz65739

Event Timeline

bzimport raised the priority of this task from to High.
bzimport set Reference to bz65739.
bzimport created this task.May 25 2014, 6:29 AM

(In reply to Pratik Lahoti from comment #0)

  1. 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.

I would just keep it simple. People know how to cut and paste

pr4tiklahoti wrote:

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.

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

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