Last modified: 2013-11-13 06:43:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19351, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17351 - importImages.php Problem
importImages.php Problem
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.13.x
All Linux
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-04 14:18 UTC by Zorg
Modified: 2013-11-13 06:43 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Zorg 2009-02-04 14:18:22 UTC
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.
Comment 1 Gregor Hagedorn 2011-08-26 09:28:24 UTC
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).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links