Topic on Project:Support desk

Uploads broken after I configured short URLs?

9
Energyuser (talkcontribs)

Link to my wiki: http://www.poweruser-studios.tk/w I'm using PHP 5.5.13 cgi/fcgi. After I added the configuration listed in this article: https://www.mediawiki.org/wiki/Manual:Short_URL/Apache to my .htaccess and LocalSettings.php files, I tried to upload an image. It was uploaded without any problems but when I used to include it, it showed as a red (broken) link and redirected me to: http://www.poweruser-studios.tk/w/index.php?title=Special:Upload&wpDestFile=Image_name.jpg So: The server does not rewrite the Special:Upload URLs and also my image is in .PNG format, not JPG. How to fix this? Thanks in advance, your help is highly appreciated.

Florianschmidtwelzow (talkcontribs)
Energyuser (talkcontribs)

That's right. This is the file...

Florianschmidtwelzow (talkcontribs)

Hello :) Maybe you can answer the other question, too?

Energyuser (talkcontribs)

What do you mean by how I want the image displayed? If I understand right, when I add to my page, I want to have it displayed, not just a link to it.

Florianschmidtwelzow (talkcontribs)

Yes, if you use [[File:Spectre_armor.png]] then the image normally is shown instead of a link. Can you maybe create a testpage in your user namespace in your wiki and save the page like you want to use the image?

Energyuser (talkcontribs)

In my wiki? That's the problem I cannot link to uploaded images via [[File: in my wiki.

Florianschmidtwelzow (talkcontribs)

Ok, but was is, when you save the page? I thought the image is shown as a red link? :?

Energyuser (talkcontribs)

Yeah that's the problem. I meant if I use [[File: it appears as a red link.

Reply to "Uploads broken after I configured short URLs?"