I'm copying pages from another wiki, and this happens
I'm running the latest mediawiki with php5-fpm, using cache=accel
to reproduce:
1 - open the page the file will eventually be at in the browser
like: wiki.example.com/index.php?title=File:myimage.jpg
2 - upload the image with the maintenance script
www-data@myserver$ php maintenance/importImages.php /path/to/images/directory
The image is not visible on the website. Instead, I only see the text
"
No file by this name exists.
Importing file
"
running the purge script
php purgeList.php --purge --all
does not correct the problem, though visiting the purge page does
wiki.example.com/index.php?title=File:myimage.jpg&action=purge
Restarting php5-fpm also corrects the issue.