Page MenuHomePhabricator

importImages.php Problem
Closed, InvalidPublic

Description

Author: zorg

Description:
I downloaded all the images from one MediaWiki, put them in a folder on my CentOS server and used the maintenance script importImages.php to import them. This worked fine for the most part. I used the overwrite option so images already in my wiki were replaced, however. We had some articles in place already that had Image: Deadlinks in them.

For example one article had a deadlink to Image:Book1.png, after all my images were uploaded any image that had previously been deadlinked would not function. Book1.png for example showed up in Special:ImageList, and when you clicked (file) it would load the image itself. So it had both a perfect database entry and file, but when you navigated to Image:Book1.png or any other article linked to it.... or you clicked the link in Special:Imagelist it would come up with an error saying the file was not found and giving you the option to upload it.

Almost like there was still some record somewhere that importImages.php didn't fix saying the image was deadlinked.


Version: 1.13.x
Severity: normal
OS: Linux

Details

Reference
bz17351

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:26 PM
bzimport set Reference to bz17351.
bzimport added a subscriber: Unknown Object (MLST).

Closing the bug: Since the error was not confirmed, and since a likely explanation is the browser cache still active on the wiki page if not signed it (which would still be readlink and point to upload unless refreshed).