Index: trunk/phase3/includes/media/Bitmap.php |
— | — | @@ -1,10 +1,14 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Generic handler for bitmap images |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Media |
6 | 8 | */ |
7 | 9 | |
8 | 10 | /** |
| 11 | + * Generic handler for bitmap images |
| 12 | + * |
9 | 13 | * @ingroup Media |
10 | 14 | */ |
11 | 15 | class BitmapHandler extends ImageHandler { |
Index: trunk/phase3/includes/media/Bitmap_ClientOnly.php |
— | — | @@ -1,5 +1,19 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Handler for bitmap images that will be resized by clients |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Media |
| 8 | + */ |
3 | 9 | |
| 10 | +/** |
| 11 | + * Handler for bitmap images that will be resized by clients. |
| 12 | + * |
| 13 | + * This is not used by default but can be assigned to some image types |
| 14 | + * using $wgMediaHandlers. |
| 15 | + * |
| 16 | + * @ingroup Media |
| 17 | + */ |
4 | 18 | class BitmapHandler_ClientOnly extends BitmapHandler { |
5 | 19 | function normaliseParams( $image, &$params ) { |
6 | 20 | return parent::normaliseParams( $image, $params ); |
Index: trunk/phase3/includes/media/Generic.php |
— | — | @@ -1,6 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | 4 | * Media-handling base classes and generic functionality |
| 5 | + * |
5 | 6 | * @file |
6 | 7 | * @ingroup Media |
7 | 8 | */ |
Index: trunk/phase3/includes/media/MediaTransformOutput.php |
— | — | @@ -1,5 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Base class for the output of file transformation methods. |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Media |
6 | 8 | */ |
Index: trunk/phase3/includes/media/BMP.php |
— | — | @@ -1,5 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Handler for Microsoft's bitmap format |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Media |
6 | 8 | */ |
Index: trunk/phase3/includes/media/SVG.php |
— | — | @@ -1,10 +1,14 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Handler for SVG images. |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Media |
6 | 8 | */ |
7 | 9 | |
8 | 10 | /** |
| 11 | + * Handler for SVG images. |
| 12 | + * |
9 | 13 | * @ingroup Media |
10 | 14 | */ |
11 | 15 | class SvgHandler extends ImageHandler { |
Index: trunk/phase3/includes/media/PNGMetadataExtractor.php |
— | — | @@ -1,11 +1,19 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * PNG frame counter. |
5 | | - * Slightly derived from GIFMetadataExtractor.php |
6 | | - * Deliberately not using MWExceptions to avoid external dependencies, encouraging |
7 | | - * redistribution. |
8 | | - */ |
| 4 | + * PNG frame counter. |
| 5 | + * Slightly derived from GIFMetadataExtractor.php |
| 6 | + * Deliberately not using MWExceptions to avoid external dependencies, encouraging |
| 7 | + * redistribution. |
| 8 | + * |
| 9 | + * @file |
| 10 | + * @ingroup Media |
| 11 | + */ |
9 | 12 | |
| 13 | +/** |
| 14 | + * PNG frame counter. |
| 15 | + * |
| 16 | + * @ingroup Media |
| 17 | + */ |
10 | 18 | class PNGMetadataExtractor { |
11 | 19 | static $png_sig; |
12 | 20 | static $CRC_size; |
Index: trunk/phase3/includes/media/GIFMetadataExtractor.php |
— | — | @@ -1,12 +1,21 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * GIF frame counter. |
5 | | - * Originally written in Perl by Steve Sanbeg. |
6 | | - * Ported to PHP by Andrew Garrett |
7 | | - * Deliberately not using MWExceptions to avoid external dependencies, encouraging |
8 | | - * redistribution. |
9 | | - */ |
| 4 | + * GIF frame counter. |
| 5 | + * |
| 6 | + * Originally written in Perl by Steve Sanbeg. |
| 7 | + * Ported to PHP by Andrew Garrett |
| 8 | + * Deliberately not using MWExceptions to avoid external dependencies, encouraging |
| 9 | + * redistribution. |
| 10 | + * |
| 11 | + * @file |
| 12 | + * @ingroup Media |
| 13 | + */ |
10 | 14 | |
| 15 | +/** |
| 16 | + * GIF frame counter. |
| 17 | + * |
| 18 | + * @ingroup Media |
| 19 | + */ |
11 | 20 | class GIFMetadataExtractor { |
12 | 21 | static $gif_frame_sep; |
13 | 22 | static $gif_extension_sep; |
Index: trunk/phase3/includes/media/PNG.php |
— | — | @@ -1,5 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Handler for PNG images. |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Media |
6 | 8 | */ |
Index: trunk/phase3/includes/media/GIF.php |
— | — | @@ -1,5 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Handler for GIF images. |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Media |
6 | 8 | */ |
Index: trunk/phase3/includes/media/DjVu.php |
— | — | @@ -1,10 +1,14 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Handler for DjVu images |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Media |
6 | 8 | */ |
7 | 9 | |
8 | 10 | /** |
| 11 | + * Handler for DjVu images |
| 12 | + * |
9 | 13 | * @ingroup Media |
10 | 14 | */ |
11 | 15 | class DjVuHandler extends ImageHandler { |
Index: trunk/phase3/includes/media/Tiff.php |
— | — | @@ -1,10 +1,14 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Handler for Tiff images. |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Media |
6 | 8 | */ |
7 | 9 | |
8 | 10 | /** |
| 11 | + * Handler for Tiff images. |
| 12 | + * |
9 | 13 | * @ingroup Media |
10 | 14 | */ |
11 | 15 | class TiffHandler extends BitmapHandler { |