From: Tim Starling Date: Tue, 8 Dec 2009 00:07:37 +0000 (+0000) Subject: Clarified documentation of File::isMultipage() to avoid further mistakes like bug... X-Git-Tag: 1.31.0-rc.0~38599 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=2d8de85107e62da724150b193d488a67be9a3033;p=lhc%2Fweb%2Fwiklou.git Clarified documentation of File::isMultipage() to avoid further mistakes like bug 21523. --- diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index bb345295b1..a0a2c4216f 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -1013,8 +1013,9 @@ abstract class File { } /** - * Returns 'true' if this image is a multipage document, e.g. a DJVU - * document. + * Returns 'true' if this file is a type which supports multiple pages, + * e.g. DJVU or PDF. Note that this may be true even if the file in + * question only has a single page. * * @return Bool */