Hi!
How can I implement links to the files system? If this is not possible, is possible to upload pdf files. If yes what do have to modify to allow this. My MediaWiki tells me that pdf is not a supported file type.
Thanks,
Hans
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, Mar 09, 2005 at 03:37:52PM +0100, Dr. Hans M. Rupp wrote:
How can I implement links to the files system? If this is not possible, is possible to upload pdf files. If yes what do have to modify to allow this. My MediaWiki tells me that pdf is not a supported file type.
Edit $wgFileExtensions in your LocalSettings.php. See includes/DefaultSettings.php for an example of how to do it.
- -- Peter Harkins - Experienced and skilled PHP developer looking for fulltime work in Chicago. Visit http://malaprop.org/work for resume and portfolio.
Dr. Hans M. Rupp wrote:
Hi!
How can I implement links to the files system?
What do you mean by this? If you mean, file: URLs to the client computer's filesystem, this generally won't work because most browsers have disabled support for file: URLs from web pages for security reasons.
If you mean, an arbitrary http: URL pointing to the same server, you can simply paste in an http: URL. You may also be able to define an interwiki link prefix for your site if your naming syntax isn't too obscure.
If this is not possible, is possible to upload pdf files. If yes what do have to modify to allow this. My MediaWiki tells me that pdf is not a supported file type.
See the full set of configuration options in DefaultSettings.php.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org