Author: inductiveload
Description:
The function isMultiPage() sometimes returns false, even though TIFF is a multipage format. If the particular file has only one page, that doesn't change the format from being a multipage format.
From the notes in "include/filerepo/File.php", this function should return "true" for any format which support multipage, irrespective of the number of pages in that particular file:
"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."
Thus the current behaviour deviates from the documented API. As it is, it is breaking the ProofreadPage extension which uses the isMultiPage() function to test for ability of the <pagelist/> tag to support that file.
Current behaviour
- isMultiPage() sometimes returns "false", sometimes "true"
Expected behaviour
- isMultiPage() always returns "true"
Version: unspecified
Severity: normal