X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FcleanupImages.php;h=4e7b937dbf0cddcb3db6a5fa1b5a2eb426b3707c;hb=fcdf2518605954fe1bcf88598fc14bd95d525882;hp=687a95ce569ae17d868f5a1c95c99234586df96a;hpb=ec299eabb6e944b6a2b5db1c3530508d30d53046;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupImages.php b/maintenance/cleanupImages.php index 687a95ce56..4e7b937dbf 100644 --- a/maintenance/cleanupImages.php +++ b/maintenance/cleanupImages.php @@ -1,12 +1,12 @@ + * Copyright © 2005-2006 Brion Vibber * http://www.mediawiki.org/ * * This program is free software; you can redistribute it and/or modify @@ -29,8 +29,13 @@ * @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',