Yes, the path is in http://www.mediawiki.org/wiki/Manual:$wgUploadDirectory

On Fri, Feb 24, 2012 at 3:42 PM, Johannes Weberhofer <
[email protected]> wrote:

> Sorry, my request was a bit unclear,
>
> I want to find the file's path in the file system. I know the URL, like
> http://test.com/wiki/images/**test.png<http://test.com/wiki/images/test.png>, 
> and I like to know, the path which could be /var/www/domains/
> test.com/**wiki/images/test.png <http://test.com/wiki/images/test.png> .
> Is there a way to determine this path, even when the image folder is
> outside the servers doc-root for example?
>
> Johannes
>
> Am 24.02.12 15:13, schrieb Petr Bena:
>
>> hello I have made an utility which give you all absolute URL's for a give
>> list / category of files on commons, in case you were interested in that,
>> I
>> could send you a source code, however it just download a wiki page for
>> each
>> file and parse the url from the source
>>
>> On Fri, Feb 24, 2012 at 3:09 PM, Johannes Weberhofer<
>> [email protected]>  wrote:
>>
>>  Hi,
>>>
>>> can someone give me an idea, how I can determine a uploaded file's real
>>> path, when I only have the filename? I have written some code but there
>>> could also be a API call available.
>>>
>>> Best regards,
>>> Johannes
>>> --
>>> Johannes Weberhofer
>>> Weberhofer GmbH, Austria, Vienna
>>>
>>> ______________________________****_________________
>>> Wikitech-l mailing list
>>> [email protected]
>>> https://lists.wikimedia.org/****mailman/listinfo/wikitech-l<https://lists.wikimedia.org/**mailman/listinfo/wikitech-l>
>>> <ht**tps://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.wikimedia.org/mailman/listinfo/wikitech-l>
>>> >
>>>
>>> ______________________________**_________________
>> Wikitech-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.wikimedia.org/mailman/listinfo/wikitech-l>
>>
>
> --
> Johannes Weberhofer
> Weberhofer GmbH, Austria, Vienna
>
> ______________________________**_________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.wikimedia.org/mailman/listinfo/wikitech-l>
>
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to