[Mediawiki-l] Allow PDF uploads?
Con Rodi
conrodi at vt.edu
Tue Sep 27 15:08:39 UTC 2005
Not so. You need to change $wgFileExtensions in your
localSettings.php to something like this...
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'doc',
'pdf', 'txt', 'mov', 'wav' );
That will allow you to upload pdfs. You will need to refer to them
as images, though.
[[Image:something.pdf]] will try to inline the pdf file. This may
not work well in some browsers, and may slow down page loading in all
browsers.
[[:Image:something.pdf]] will create a link to the image page that
actually holds the pdf. From there any browser can download the pdf.
Similar details apply for word documents or others.
Con
On Sep 27, 2005, at 10:47 AM, Rob Church wrote:
> PDF is a document, not an image format. As far as I know, there is
> also no server-side control which would allow display of PDF files, so
> I have a nasty feeling the answer to both your questions is, "no".
>
>
> Rob Church
>
> On 27/09/05, Bass, Joshua L <joshua.l.bass at lmco.com> wrote:
>
>> I would like to allow PDF image uploads and for these to display as
>> images.
>> Is this possible? Is there a setting that controls this?
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at Wikimedia.org
>> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>
>>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
More information about the MediaWiki-l
mailing list