List of steps to reproduce (step by step, including full links if applicable):
- I tried to move https://en.wikipedia.org/wiki/File:Have_Mare_Hura_Nathu_Ghasva.jpg to File:Have Mare Hira Nathi Ghasva.jpg. (fixing a typo), using api.php.
What happens?:
[20fd00b4-3a9c-4072-b699-6e3a9bc8d792] Caught exception of type MWException
But after hitting the move button again without changing anything, the page was moved.
What should have happened instead?:
Page should have been moved the first time.
T213631 or T258321 might be related.
Failed to create null revision while moving page ID 67991059 to File:Have_Mare_Hira_Nathi_Ghasva.jpg (page ID 67991059) from /srv/mediawiki/php-1.37.0-wmf.9/includes/MovePage.php(967) #0 /srv/mediawiki/php-1.37.0-wmf.9/includes/MovePage.php(652): MovePage->moveToInternal(User, Title, string, boolean, array) #1 /srv/mediawiki/php-1.37.0-wmf.9/includes/MovePage.php(464): MovePage->moveUnsafe(User, string, boolean, array) #2 /srv/mediawiki/php-1.37.0-wmf.9/includes/api/ApiMove.php(213): MovePage->move(User, string, boolean, array) #3 /srv/mediawiki/php-1.37.0-wmf.9/includes/api/ApiMove.php(110): ApiMove->movePage(Title, Title, string, boolean, array) #4 /srv/mediawiki/php-1.37.0-wmf.9/includes/api/ApiMain.php(1714): ApiMove->execute() #5 /srv/mediawiki/php-1.37.0-wmf.9/includes/api/ApiMain.php(684): ApiMain->executeAction() #6 /srv/mediawiki/php-1.37.0-wmf.9/includes/api/ApiMain.php(655): ApiMain->executeActionWithErrorHandling() #7 /srv/mediawiki/php-1.37.0-wmf.9/api.php(90): ApiMain->execute() #8 /srv/mediawiki/php-1.37.0-wmf.9/api.php(45): wfApiMain() #9 /srv/mediawiki/w/api.php(3): require(string) #10 {main}