Page MenuHomePhabricator

the picture are not locate on the same server where all the php are uploaded
Closed, InvalidPublic


Author: MichaelMellinger

i want upload my picture on this server for storage.
but my wiki is locate on this free hoster:

in wich php (localsettings.php per example) have i to change the settings?

Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:49 PM
bzimport set Reference to bz3416.
bzimport added a subscriber: Unknown Object (MLST).

(Not a bug, resolving INVALID.)

Set $wgUploadPath to include a full URL with hostname to use a different
hostname for images. Note that this still requires local filesystem access.

MichaelMellinger wrote:

if i do this the wiki-software will create the following url:
it doesent match.

You can also set $wgAllowExternalImages = true;
and use the full url of the images to link to them. You cannot upload images to
the other domain via mediawiki then, though, you would have to do it via FTP or
some such. Also, this would allow users to include images from *anywhere*.