Last modified: 2010-05-15 14:36:12 UTC
It would be useful for the old title of a page to appear in the "To new title:" box by default. This would save time when moving multiple pages across namespaces or when moving a page to a similar title. I've made and tested a patch, and it appears to work as intended.
Created attachment 110 [details] Patch for SpecialMovepage.php to make the new title default to the old title
Slight problem with the patch: normally if you put in a title that is rejected (because it is invalid, or the page exists, or whathaveyou), the form comes back with an error message and the box is still filled with the text you gave. Thus, if you mistyped you can fix it; or you can go remove the target and then come back and hit submit. This patch overwrites that with the source title every time, so you should probably check that it's not actually set first.
Created attachment 113 [details] Fixed patch
I've applied this to 1.4 CVS with a slight modification: empty() will return true for the string "0" so I changed it to == "" instead, so folks can rename pages to [[0]].