Last modified: 2014-05-31 14:02:17 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.
(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.
I would just keep it simple. People know how to cut and paste
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