aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/mime/MimeAnalyzer.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/libs/mime/MimeAnalyzer.php')
-rw-r--r--includes/libs/mime/MimeAnalyzer.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/includes/libs/mime/MimeAnalyzer.php b/includes/libs/mime/MimeAnalyzer.php
index 8d27ce34e7a4..72855cf54bd0 100644
--- a/includes/libs/mime/MimeAnalyzer.php
+++ b/includes/libs/mime/MimeAnalyzer.php
@@ -1,7 +1,5 @@
<?php
/**
- * Module defining helper functions for detecting and dealing with MIME types.
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -27,9 +25,16 @@ use Wikimedia\Mime\MimeMap;
use Wikimedia\Mime\MimeMapMinimal;
/**
- * Implements functions related to MIME types such as detection and mapping to file extension
+ * @defgroup Mime Mime
+ *
+ * @ingroup Media
+ */
+
+/**
+ * Detect MIME types of a file by mapping file extensions or parsing file contents.
*
* @since 1.28
+ * @ingroup Mime
*/
class MimeAnalyzer implements LoggerAwareInterface {
/** @var string */