https://bugzilla.wikimedia.org/show_bug.cgi?id=20906
Summary: rebuildImages.php --missing doesn't add found images to
wiki
Product: MediaWiki
Version: 1.16-svn
Platform: All
URL: http://www.tpederzani.com/pepper/
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Maintenance scripts
AssignedTo: [email protected]
ReportedBy: [email protected]
On my wiki I recently had to restore the database from an XML dump. The file
structure was fine -- but the dump does not, by design, include image data. To
re-integrate the images into my wiki, I ran the rebuildImages.php script with
the --missing parameter. It lists the images it finds, but it does not add
them to the database. The first time it ran, it added two images, but none on
any subsequent runs. I've also added "$wgMimeDetectorCommand= "file -bi"; #use
external mime detector (linux)" with no effect.
Product Version
MediaWiki 1.16alpha (r57042)
PHP 5.2.6-1+lenny3 (apache2handler)
PostgreSQL 8.3.7
On a second wiki that I run (that is in the same situation), no images were
added on the first run of the script.
Output of rebuildImages.php shows no errors. The last lines (and the following
command prompt are as follows:
peppermill_wiki 2009-09-30 15:01:30:
/var/www/tpederzani.com/pw/images/f/f5/DSCF2829.jpg
peppermill_wiki 2009-09-30 15:01:30:
/var/www/tpederzani.com/pw/images/f/f5/Center_fill.jpg
peppermill_wiki 2009-09-30 15:01:30:
/var/www/tpederzani.com/pw/images/f/f9/300170106983-01.jpg
peppermill_wiki 2009-09-30 15:01:30:
/var/www/tpederzani.com/pw/images/f/fd/200130142394-02.jpg
guildhouse:/var/www/tpederzani.com/pw/maintenance#
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l