Under 1.18.1 I fail to get an image import running where for each image there is also a corresponding meta-data text file. The shell command looks like:
sudo -u www-data php ./maintenance/importImages.php --conf ./LocalSettings.php --comment-ext=".meta" --user="X Y" --sleep=2 /var/www/v-species/o/atmp2 >> /var/www/v-species/o/XXX.log
The import works ok, log is: ----------------- Import Images
Importing 01 01.ppt...done. Importing 01 01.png...done.
Found: 2 Added: 2 -----------
However, the file 01 01.meta - which does exists - is simply ignored.
Has anyone recently used the comment-ext option successfully? I wonder whether this is a bug in mediawiki or in my script or application of the comment-ext.
thanks a lot in advance,
Gregor
On 25/01/12 00:10, Gregor Hagedorn wrote:
Under 1.18.1 I fail to get an image import running where for each image there is also a corresponding meta-data text file. The shell command looks like:
sudo -u www-data php ./maintenance/importImages.php --conf ./LocalSettings.php --comment-ext=".meta" --user="X Y" --sleep=2 /var/www/v-species/o/atmp2>> /var/www/v-species/o/XXX.log
It should have worked. Maybe "01 01.meta" wasn't readable for www-data ? There was a bug where a failure to read the comment file wouldn't be reported. You can manually apply to 1.18 https://www.mediawiki.org/wiki/Special:Code/MediaWiki/110168
mediawiki-l@lists.wikimedia.org