From 2d8de85107e62da724150b193d488a67be9a3033 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 8 Dec 2009 00:07:37 +0000 Subject: [PATCH] Clarified documentation of File::isMultipage() to avoid further mistakes like bug 21523. --- includes/filerepo/File.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 */ -- 2.20.1