dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "'lang' attrib in #mw-content-text should be set to variant code."
[lhc/web/wiklou.git]
/
maintenance
/
rebuildImages.php
diff --git
a/maintenance/rebuildImages.php
b/maintenance/rebuildImages.php
index
fe3b35c
..
f5d06e4
100644
(file)
--- a/
maintenance/rebuildImages.php
+++ b/
maintenance/rebuildImages.php
@@
-1,6
+1,6
@@
<?php
/**
<?php
/**
- *
Script to update image metadata records
+ *
Update image metadata records.
*
* Usage: php rebuildImages.php [--missing] [--dry-run]
* Options:
*
* Usage: php rebuildImages.php [--missing] [--dry-run]
* Options:
@@
-30,8
+30,13
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-require_once(
dirname( __FILE__ )
. '/Maintenance.php' );
+require_once(
__DIR__
. '/Maintenance.php' );
+/**
+ * Maintenance script to update image metadata records.
+ *
+ * @ingroup Maintenance
+ */
class ImageBuilder extends Maintenance {
/**
class ImageBuilder extends Maintenance {
/**
@@
-189,7
+194,7
@@
class ImageBuilder extends Maintenance {
$filename = $altname;
$this->output( "Estimating transcoding... $altname\n" );
} else {
$filename = $altname;
$this->output( "Estimating transcoding... $altname\n" );
} else {
- # @FIXME: create renameFile()
+ # @
todo
FIXME: create renameFile()
$filename = $this->renameFile( $filename );
}
}
$filename = $this->renameFile( $filename );
}
}