Topic on Project:Support desk

[RESOLVED] Links to pdf files do not work

4
146.200.234.25 (talkcontribs)

I have successfully uploaded a number of pdf files but if I use the syntax:

[[File:FILENAME | LABEL NAME]]

the page shows the correct text (LABEL NAME), but when I click on the text I am directed to 'Special Page Upload file'.

If I use the syntax:

[[File:FILENAME.pdf | LABEL NAME]]

the text 'File:FILENAME.pdf' is shown and when I click on the text I am directed to the page 'File:FILENAME' (which shows that the file exists) rather like when one clicks on a jpg image.
In either case I am unable to download the files as one would normally expect.

Version 1.23.2 MySQL: 5.6.16 phpMyAdmin: 4.1.12

Can anyone help please?

Ciencia Al Poder (talkcontribs)

You should be able to download the file from the file description page itself.

If you want to put on a page a direct link to download the file, use [[Media:FILENAME.pdf | LABEL NAME]] instead of [[File:FILENAME.pdf | LABEL NAME]]

Edit: Fixed the typo in "Media"

Florianschmidtwelzow (talkcontribs)

Ciencia Al Poder means "Media", not "Meda", for more information about this pseudo-namespace: Help:Namespaces#Media

Reply to "[RESOLVED] Links to pdf files do not work"