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
Fix ORMRow::insert() on PostgreSQL.
[lhc/web/wiklou.git]
/
maintenance
/
cleanupImages.php
diff --git
a/maintenance/cleanupImages.php
b/maintenance/cleanupImages.php
index
687a95c
..
4e7b937
100644
(file)
--- a/
maintenance/cleanupImages.php
+++ b/
maintenance/cleanupImages.php
@@
-1,12
+1,12
@@
<?php
/**
<?php
/**
- *
Script to c
lean up broken, unparseable upload filenames.
+ *
C
lean up broken, unparseable upload filenames.
*
* Usage: php cleanupImages.php [--fix]
* Options:
* --fix Actually clean up titles; otherwise just checks for them
*
*
* Usage: php cleanupImages.php [--fix]
* Options:
* --fix Actually clean up titles; otherwise just checks for them
*
- * Copyright
(C)
2005-2006 Brion Vibber <brion@pobox.com>
+ * Copyright
©
2005-2006 Brion Vibber <brion@pobox.com>
* http://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* http://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
@@
-29,8
+29,13
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-require_once(
dirname( __FILE__ )
. '/cleanupTable.inc' );
+require_once(
__DIR__
. '/cleanupTable.inc' );
+/**
+ * Maintenance script to clean up broken, unparseable upload filenames.
+ *
+ * @ingroup Maintenance
+ */
class ImageCleanup extends TableCleanup {
protected $defaultParams = array(
'table' => 'image',
class ImageCleanup extends TableCleanup {
protected $defaultParams = array(
'table' => 'image',