Last modified: 2009-09-03 14:24:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9327 - Some DjVu files do not display within Commons while others do
Some DjVu files do not display within Commons while others do
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-03-18 21:16 UTC by Andreas Praefcke
Modified: 2009-09-03 14:24 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Andreas Praefcke 2007-03-18 21:16:31 UTC
While the implementation of the DjVu viewer on Commons is a good thing in the
first place, it doesn't really work well. This is how it should work:

And this is how other DjVus are not displayed correctly:

These three files were compiled with the same software, and the actual stored
files are perfectly fine when viewed with the browser plugin. But they cannot be
viewed correctly within Commons, since the graphics just don't show up.

Another user has the same problem with the same files, in Firefox 1.5 and IE 6.0
(as discussed at ), and since I
could not find any documentation at all about DjVu and Commons (not how it's
supposed to works, no FAQ as to preferable file sizes or file names, none
whatsoever), I am posting it here.
Comment 1 Tim Starling 2007-04-30 10:57:33 UTC
Fixed, as per my workaround on the upstream issue:

Try action=purge on the image description page before reopening or re-reporting
this bug. 
Comment 2 Hesperian 2009-06-04 00:39:09 UTC
Reopening. In the past two weeks I have come across numerous examples of DjVu files for which MediaWiki is failing to display at least ''some'' pages. Purging doesn't solve the problem, nor does waiting a while.

On Commons, affected files include
* [[Commons:File:Studies in the Scriptures - Series I - The Plan of the Ages (1909).djvu]]
* [[Commons:File:Speeches And Writings MKGandhi.djvu]]
* [[Commons:File:Post-Mediaeval Preachers.djvu]]
* [[Commons:File:JPS1917-The Writings.djvu
* [[Commons:File:Armistice Day.djvu
* [[Commons:File:A complete index volumes 1-25 of Poet Lore.djvu

On the English Wikisource, affected files include:
* [[en:Wikisource:File:Romain Rolland Handel.djvu]]
* [[en:Wikisource:File:Oxford Book of English Verse 1250-1918.djvu
Comment 3 Hesperian 2009-06-29 03:13:38 UTC
Latest example is
* [[Commons:File:Voyage in search of La Perouse (Stockdale).djvu]]
Purging doesn't fix this. Nor does re-uploading.

This bug is blocking several transcription projects on Wikisource. A workaround or solutions would be much appreciated.
Comment 4 ThomasV 2009-09-03 14:24:46 UTC
This comes from invalid UTF8 returned by djvutxt when parsing the djvu text layer.
It should be fixed in revision 55768.

Note You need to log in before you can comment on or make changes to this bug.