https://bugzilla.wikimedia.org/show_bug.cgi?id=52881
--- Comment #6 from Tomer Cohen <[email protected]> --- (In reply to comment #5) > This is a bad idea. pdf.js takes ages to load (it's simply a lot of code) and > even longer to actually render anything (even optimized JS is not fast > enough). I'm not sure what you're talking about. Here it loads quite well, and note that if Wikipedia will have better caching directives than the limited caching available on Github - you can get it loads its own resources from the local browser cache so only the first document will be delayed because of downloading the viewer code. > Not everybody in the world has access to the same technology, and what is > fine > in San Francisco might not be appropriate in Eastern Europe or Africa. Only in case they are having an old and outdated browsers, or a very limited Internet access. Also note that pdf.js should work well on mobiles, which doesn't always have native PDF viewer installed, making reading PDF documents very challenging (and Google's online PDF viewer, which they link from their own applications sucks). > (Although I admit, once it finally loaded after a few minutes I was > pleasantly > surprised by its responsivity in the demo you linked.) Please also remember that since it is HTML-based, it should be possible to manipulate with the viewer user interface, making its look and feel be in the same theme as Mediawiki. (In reply to comment #4) > Personal opinion: this might be good as a "both" type solution. PdfHandler > for > the current situation that some like (and can be incrementally improved upon, > UI-wise) in addition to a "view full PDF in-browser" or somesuch. > > Really, since I run Fx, it's all the same to me. When I click on a .pdf "the > right thing" happens (pdf.js loads it in-browser). Demo of current PDF extension implementation over Wikipedia: https://commons.wikimedia.org/w/index.php?title=File%3AMultilingual-commons.pdf The download link is located below the page image and labeled "Full resolution" instead of something more meaningful. Steps to reproduce: a. Click on the following link: https://commons.wikimedia.org/w/index.php?title=File%3AMultilingual-commons.pdf b. Try to read the few slides in the presentation. Actual result: Note that you have to load another page in order to read the next slide, which contain only few words each. Expected result: Read the whole slides content without page reloads, see it in a full screen/presentation mode for best results. Try to open the PDF file in Firefox. Make sure that Firefox is set to preview PDF files in the browser (Options/Preferences → Applications → Search: PDF → Preview in Firefox). -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
