dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea77a9
)
document getImageSize() return format
author
Antoine Musso
<hashar@users.mediawiki.org>
Wed, 4 Jan 2012 13:22:01 +0000
(13:22 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Wed, 4 Jan 2012 13:22:01 +0000
(13:22 +0000)
Return array should return the same kind of array that PHP
internal method getimagesize() returns. See upstream doc:
http://www.php.net/getimagesize
includes/media/Generic.php
patch
|
blob
|
history
diff --git
a/includes/media/Generic.php
b/includes/media/Generic.php
index
4c36720
..
5c16405
100644
(file)
--- a/
includes/media/Generic.php
+++ b/
includes/media/Generic.php
@@
-89,7
+89,7
@@
abstract class MediaHandler {
*
* @param $image File: the image object, or false if there isn't one
* @param $path String: the filename
- * @return Array
+ * @return Array
Follow the format of PHP getimagesize() internal function. See http://www.php.net/getimagesize
*/
abstract function getImageSize( $image, $path );