While attempting to handle some "lost" File: namespace page ediths from P8677 list (T173070) I encoutered a problem with merging history of pages in File: namespace: moving a "lost" File: page (with no file associated) onto a recently deleted file generates an error:
The page could not be moved, for the following reasons: The title is the same; cannot move a page over itself. A page of that name already exists, or the name you have chosen is not valid. Please choose another name.
(The target file was actually deleted at that time.)
The problem is not related to the files listed, as an attempt to move a fresh, recently created file page gives the same result.
Tested wih the following examples (all failed):
File:T173070Ryde Tesco pedestrian walkway.JPG -> File:Ryde Tesco pedestrian walkway.JPG File:T173070Nové Dvory (Sedlec-Prčice), křižovatka u kapličky, zdola.jpg -> File:Nové Dvory (Sedlec-Prčice), křižovatka u kapličky, zdola.jpg File:Nové Dvory (Sedlec-Prčice).jpg -> File:Nové Dvory (Sedlec-Prčice), křižovatka u kapličky, zdola.jpg File:Nové Dvory (Sedlec-Prčice).jpg -> File:Aritaum 201604.jpg
Any hints how to merge wikitext revision of such pages are welcome.