[Mediawiki-l] Change upload path for pdf files

Tech Geek techgeek12345 at gmail.com
Wed Sep 29 18:10:33 UTC 2010


So I have enabled uploading pdf files on my mediawiki 1.12 installation on
Linux machine. By default, all the uploads goes into the "images" directory
which is fine.

My question:
Is it possible to change the upload path just for pdf files? For example, I
would like that all my pdf files are uploading to:
$mediawikiroot/myuploads/pdfs
i.e. /var/lib/mediawiki/myuploads/pdfs

Thanks.


More information about the MediaWiki-l mailing list