Manual talk:$wgForeignFileRepos

From MediaWiki.org

Jump to: navigation, search

apiThumbCacheExpiry - How is the value interpreted? In minutes, seconds, milliseconds??? --G.Hagedorn 17:43, 17 November 2008 (UTC)

Setting $wgHTTPTimeout higher can sometimes help with timeout problems. --Tgr 19:26, 20 November 2008 (UTC)

apiThumbCacheDir doesn't seem to have any effect, thumbs will be cached in images/thumb regardless of what it's set --Tgr 19:40, 20 November 2008 (UTC)

Contents

[edit] Using files from Wikimedia Commons

I followed Manual:$wgForeignFileRepos#Using files from Wikimedia Commons but the wiki goes blank when I hit preview or submit with an image tag that doesn't exist in the wiki (and presumably the wiki will attempt to find for it on commons). I am using MediaWiki 1.13.3. Example: (removed) Why would this be? --Yonghokim 17:59, 20 January 2009 (UTC)

As stated on the page, it requires PHP 5.2.0 or greater, you seem to have only PHP 5.1.6. iAlex 19:44, 20 January 2009 (UTC)
I upgraded to PHP 5.2 and it works. Thank you! --Yonghokim 00:58, 21 January 2009 (UTC)

[edit] Using files from a local folder : FSRepo

I followed the instruction on the page and I am using Php 5.2. I digged a bit into the code and it seems that GroupRepo does not see the foreign repository. Any idea what is going wrong here? 08:09, 10 June 2009 (UTC) Andreas

[edit] EXIF errors

We're running MediaWiki 1.14.0 and PHP 5.2 and everything works just fine except when viewing the images. PHP Warnings are generated: http://pastebin.vanonymous.org/pastebin.php?show=8 The page loads fine, however when attempting to view the metadata table the info doesn't exist. Forgott3n 09:25, 2 March 2009 (UTC)

[edit] Similar error

@ http://wikademia.org/File:Coffee_at_King's_Road_Café.jpg I get the error:

"Warning: preg_match() expects parameter 2 to be string, array given in..."

This only appears on some images. For example:

http://wikademia.org/File:Haeckel_Florideae_Chondrus_crispus.png

That image does not display the error.

Any help would be appreciated. Thank you.

I get the same error here but not here. Is this problem related to the PNGs or does somebody experience it for other image formats ? --PiRK 02:43, 25 May 2009 (UTC)

[edit] Inline display of commons-Media

Hi,

I am Lars one of the administrators of the german PflegeWiki. In our Wiki the question for displaying images from the commons inline in our articles. I found the $wgForeignFileRepos as you see and now I have a question before defining the variable. Will the variable override the def's for images (we have a pool for sharing images with the english NursingWiki)? How will the System decide wich repo to use? Is there a different tag? We're using Bild: and/or Image:. We would be very happy if someone would takt care of our problems... Greets and thanks in advance, --Bruder Lars 06:46, 25 August 2009 (UTC)