aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/filerepo/file/File.php6
-rw-r--r--includes/media/MediaHandler.php10
2 files changed, 8 insertions, 8 deletions
diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php
index 6cb4d8018da0..d088b87fc001 100644
--- a/includes/filerepo/file/File.php
+++ b/includes/filerepo/file/File.php
@@ -2465,7 +2465,7 @@ abstract class File implements MediaHandlerState {
}
/**
- * @return string
+ * @return string HTML
*/
public function getLongDesc() {
$handler = $this->getHandler();
@@ -2477,7 +2477,7 @@ abstract class File implements MediaHandlerState {
}
/**
- * @return string
+ * @return string HTML
*/
public function getShortDesc() {
$handler = $this->getHandler();
@@ -2489,7 +2489,7 @@ abstract class File implements MediaHandlerState {
}
/**
- * @return string
+ * @return string plain text
*/
public function getDimensionsString() {
$handler = $this->getHandler();
diff --git a/includes/media/MediaHandler.php b/includes/media/MediaHandler.php
index c5ec3c403c8b..cc7a092e3341 100644
--- a/includes/media/MediaHandler.php
+++ b/includes/media/MediaHandler.php
@@ -818,7 +818,7 @@ abstract class MediaHandler {
* @stable to override
*
* @param File $file
- * @return string
+ * @return string HTML
*/
public function getShortDesc( $file ) {
return self::getGeneralShortDesc( $file );
@@ -830,7 +830,7 @@ abstract class MediaHandler {
* @stable to override
*
* @param File $file
- * @return string
+ * @return string HTML
*/
public function getLongDesc( $file ) {
return self::getGeneralLongDesc( $file );
@@ -840,7 +840,7 @@ abstract class MediaHandler {
* Used instead of getShortDesc if there is no handler registered for file.
*
* @param File $file
- * @return string
+ * @return string HTML
*/
public static function getGeneralShortDesc( $file ) {
global $wgLang;
@@ -852,7 +852,7 @@ abstract class MediaHandler {
* Used instead of getLongDesc if there is no handler registered for file.
*
* @param File $file
- * @return string
+ * @return string HTML
*/
public static function getGeneralLongDesc( $file ) {
return wfMessage( 'file-info' )->sizeParams( $file->getSize() )
@@ -882,7 +882,7 @@ abstract class MediaHandler {
* @stable to override
*
* @param File $file
- * @return string Dimensions
+ * @return string Dimensions (plain text)
*/
public function getDimensionsString( $file ) {
return '';