[Mediawiki-l] Upload PDFs, Visios?

Jim Hu jimhu at tamu.edu
Mon Jun 23 22:19:12 UTC 2008


Let's start with the obvious...can you upload other file types?  In  
localsettings.

$wgEnableUploads       = true;

set permissions so apache can write to the images directory.


JH

On Jun 23, 2008, at 4:43 PM, Peter Laws wrote:

> Y'all were so fast and helpful with my upgrade issue, that I'm  
> coming right back to the well.
>
> The reason I upgraded was because I went to modify my group wiki to  
> allow uploading of PDF and Visio diagrams.  I've looked at the  
> relevant docs and tried the several ways to add types, namely:
>
> (mind the wrap)
>
> $wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'xls',  
> 'mpp', 'pdf');
>
> and
>
> $wgFileExtensions[] = 'doc';
> $wgFileExtensions[] = 'xls';
> $wgFileExtensions[] = 'pdf';
> $wgFileExtensions[] = 'mpp';
>
>
> (these are right from http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads 
>  - I've adjusted mine for just pdf and vsd).
>
> Neither seem to work.
>
> I tried restarting httpd, but realized that really has nothing to do  
> with it and it's a php thing, surely.  I did go into /etc/php.ini  
> and update my allowable upload size as well.
>
>
> Clearly, I'm missing something ...
>
> MediaWiki 	1.12.0
> PHP 	5.1.6 (apache2handler)
> MySQL 	5.0.45
>
> All on RHEL 5.2.
>
> -- 
> Peter Laws / N5UWY
> National Weather Center / Network Operations Center
> University of Oklahoma Information Technology
> plaws at ou.edu
> -----------------------------------------------------------------------
> Feedback? Contact my director, Craig Cochell, craigc at ou.edu. Thank  
> you!
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054




More information about the MediaWiki-l mailing list