Sorry if the title is unclear. Basically when you are moving pages as an admin often you will be moving to a target title that already exists. When you do this, the move interface page will reload with a helpful note saying "The destination page "[X]" already exists. Do you want to delete it to make way for the move? (Check the edit history.)" In the new interface if you go to check the edit history and then go back to the move interface page the new title field becomes blank (the reason field and which boxes you've ticked stay as they are though). Considering this did not happen with the old interface and that other fields are able to retain the information that's been entered, I assume this is a problem with the new OOUI move interface and not on my end.
|Resolved||matmarex||T114134 Special:MovePage interface loses what it had in the new title field if you go to a new page and then come back to it|
|Resolved||matmarex||T114408 Infusing a widget should be able to reuse existing DOM rather than recreate from scratch|
I'll experiment with it.
It seems my initial guess was wrong, I tried changing the code to avoid that and it did not help.
Then I realized that we use the autocomplete=off attribute on the text field (to disable browser's autocompletion, because we have our own), and that has the additional effect of preventing "form caching" when you navigate to other pages and hit "Back".
Further digging showed that actually both of these things are problematic, and uncovered a separate bug that also blocks fixing this.
Thanks for filing this bug, I think this work will really make the OOjs UI library more robust and I probably wouldn't have worked on it otherwise.
This issue has been fixed and the fix should be deployed to Wikimedia wikis next week (10-12 November) with MediaWiki 1.27.0-wmf.6, as per https://www.mediawiki.org/wiki/MediaWiki_1.27/Roadmap. You can test it now at http://en.wikipedia.beta.wmflabs.org/.