Steps to replicate the issue (include links if applicable):
- Go to https://commons.wikimedia.beta.wmcloud.org/wiki/File:76f2dbef4cc9_20_can_only_move_files_once_somehow.jpg (which I've already moved)
- Click "Move & Replace" (you need the file mover right, tell me what your username is on beta if you need it)
- Try to move it
What happens?:
Error while moving the page. A detailed description of the error is shown below: API request failed (imageinvalidfilename): The target filename is invalid. <i>at Sat, 20 Jun 2026 11:04:16 GMT</i> <u>served by deployment-mediawiki13</u>
What should have happened instead?:
File moving
Other information (browser name/version, screenshots, etc.):
Special:MovePage doesn't work either:
The page could not be moved, for the following reason: The target filename is invalid.
Did not test on betaenwiki etc because I have no file mover right there.
And no the filename is not invalid. I can move a "virgin" file (one that hasn't been moved recently) to the desired location. But once a file is spoiled it can't be moved again.