Commit graph

13 commits

Author SHA1 Message Date
Sam Reed 2e90b4ecb1 Start removing/fixing calls to deprecated methods in WMF used extensions 2010-10-29 15:14:44 +00:00
Jack Phoenix 61e7480e4d PdfHandler: coding style tweaks & general cleanup 2010-10-12 13:48:00 +00:00
Siebrand Mazeland 25d4892611 Follow-up r68409 for extensions: shut up PHP Strict Standards notices about "Declaration of Blah::getThumbType() should be compatible with that of MediaHandler::getThumbType()" 2010-06-23 18:23:58 +00:00
Chad Horohoe 1eb60a2ce6 Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh. 2010-05-27 15:56:53 +00:00
Chad Horohoe ecdda8f2ff Large commit. Removed 800+ references to no-op wfLoadExtensionMessages() 2010-05-26 22:25:32 +00:00
Conrad Irwin 646ff068e7 Fix strict standards declarations 2010-05-19 23:09:12 +00:00
ThomasV a62a02638d extract text layer from pdf 2009-09-16 13:50:09 +00:00
Brion Vibber e7284509f1 Some cleanup...
* remove no longer accurate code comment
* set default values for the processor commands, otherwise it's totally confusing that not only doesn't it work, but it looks like it's just not installed
* added a comment about adding to $wgFileExtensions -- not doing it automatically since some wikis might want to *use* PDFs from a shared server without locally uploading them.... mebbe... dunno... keeping this one open for now. ;)
2008-12-25 00:29:44 +00:00
Brion Vibber fadc8e07fa Don't load extension messages until they're needed for error messages...
Direct GS and Convert errors to stdout so we can pick them up and report them
2008-02-05 00:16:54 +00:00
Brion Vibber 21e92330a0 Improve the metadata handling...
* Use a nice simple PHP array instead of constructing unnecessary XML. This removes the dependency on PHP 5.1.3 for a SimpleXML method.
* Tell pdfinfo to give us metadata encoded in UTF-8. If we start outputting title and creator info this will be nice!
* Tell pdfinfo to give us page size information for all pages (at least through page 99999 :) rather than just the first page
* Make use of that per-page size information so we can properly render pages of differing size. Without this, they get stretched or squooshed in interesting days.
* Rename the pdf_no_xml message to pdf_no_metadata (in English)
2008-02-04 07:29:29 +00:00
Brion Vibber b442152c6e whitespace fixups 2008-02-04 06:40:50 +00:00
Siebrand Mazeland bf4d2f95b9 * use wfLoadExtensionMessages
* delay message loading
* add version in extension credits
2008-01-11 17:40:39 +00:00
Raimond Spekking 971aec48af * Add function for page option ([[Image:nams.pdf|page=x]])
* Naming convention
2007-09-06 06:32:08 +00:00