Manual talk:$wgUseInstantCommons

$wgUseInstantCommons
Is it possible to keep cached images undefinitly unless manual flushing? Greudin 21:47, 3 January 2010 (UTC)

Problem with diacritics
Hi, I have some strange problem with diacritics in Commons file names when I try to use Images from Wikimedia Commons in my Enviwiki - http://www.enviwiki.cz.

What I had observed is following - when I use file, without diacritics, everything is OK. For example:





Everything works fine.

But - when the file hase diacritics in name - use of file without other parameters is also OK, but when I try to use parameters, as thumb or 300 px image disappears. Example:



works.

But

does not work.

My database MySQL is utf-8 coded and I have no other problems with interwiki links with diacritics, e.g. Černý most works fine.

Demonstration of the problem can be found at: http://www.enviwiki.cz/wiki/Enviwiki:P%C3%ADskovi%C5%A1t%C4%9B


 * There is a long term bug on Windows installation https://bugzilla.wikimedia.org/show_bug.cgi?id=1780 - we had moved to linux and everything is fine.

--Jirka Dl 04:55, 9 May 2011 (UTC)

Seems to be broken somehow
Hi after upgrading to 1.16.4 InstantCommons seems to be broken somehow. The quality of the inserted files is substancially reduced and in case I click on them I get a error 403 access denied even though the chmod of the image directory is 777. I suspect that the protection against bug 28235 may have caused this. Removing the newly added .htaccess file does not help the cause. Is there anybody out there observing the same. Cheers --&#91;&#91;kgh&#93;&#93; 21:04, 14 April 2011 (UTC)

Why would anyone want to use the commons instead of wikipedia?
I would think you would get the commons, and more, by setting If you use that, then you can import articles from enwiki and know that you have all the images you need. Of course, German users can use dewiki, etc.

Also, 12 hours sounds like a kinda short period for caching. Leucosticte (talk) 05:26, 1 August 2012 (UTC)
 * by using commons you are quite sure about licensing: at least CC-BY-SA. enwiki also allows 'fair use' images whis might be inappropriate for other wikis. - Arent (talk) 11:19, 18 January 2013 (UTC)

Timeout
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\mediawiki\includes\HttpFunctions.p hp on line 879

I got HttpFunctions.php timeout when I turn it on. After I turn it off, it went back to normal. Bennylin (talk) 17:51, 31 August 2012 (UTC)

Fatal exception of type MWException
When using pictures from common ($wgUseInstantCommons=true)I get
 * [307994f4] 2013-01-18 11:14:30: Fatal exception of type MWException and an otherwise blank page.
 * MediaWiki 	1.20.2
 * PHP 	5.3.16 (apache2handler)
 * MySQL 	5.1.63-cll

Disabling $wgUseInstantCommons will get me rid of the error (but shows no commons-pictures anymore). - Arent (talk) 11:19, 18 January 2013 (UTC)


 * Hello, please grep your logs for the code 307994f4 (or the new one you're provided next time), or set $wgShowExceptionDetails to true, and file a bug with the full stacktrace. Thanks, Nemo 18:24, 18 January 2013 (UTC)
 * On accessing the history list for a page referencing some pictures on commons

Error setting curl options. Backtrace:
 * 1) 0 ../includes/filerepo/ForeignAPIRepo.php(403): CurlHttpRequest->execute
 * 2) 1 ../includes/filerepo/ForeignAPIRepo.php(164): ForeignAPIRepo::httpGet('http://commons....')
 * 3) 2 ../includes/filerepo/file/ForeignAPIFile.php(61): ForeignAPIRepo->fetchImageQuery(Array)
 * 4) 3 [internal function]: ForeignAPIFile::newFromTitle(Object(Title), Object(ForeignAPIRepo))
 * 5) 4 ../includes/filerepo/FileRepo.php(325): call_user_func(Array, Object(Title), Object(ForeignAPIRepo))
 * 6) 5 ../includes/filerepo/ForeignAPIRepo.php(95): FileRepo->newFile(Object(Title), false)
 * 7) 6 ../includes/filerepo/FileRepo.php(354): ForeignAPIRepo->newFile(Object(Title))
 * 8) 7 ../includes/filerepo/RepoGroup.php(151): FileRepo->findFile(Object(Title), Array)
 * 9) 8 ../includes/GlobalFunctions.php(3472): RepoGroup->findFile(Object(Title), Array)
 * 10) 9 ../includes/Title.php(4228): wfFindFile(Object(Title))
 * 11) 10 ../includes/Title.php(4255): Title->isAlwaysKnown
 * 12) 11 ../includes/Linker.php(224): Title->isKnown
 * 13) 12 ../includes/Linker.php(1403): Linker::link(Object(Title), 'Klassieke terra...')
 * 14) 13 [internal function]: Linker::formatLinksInCommentCallback(Array)
 * 15) 14 ../includes/Linker.php(1337): preg_replace_callback('/?????\[\[?????...', Array, 'Nieuwe pagina a...')
 * 16) 15 ../includes/Linker.php(1213): Linker::formatLinksInComment('Nieuwe pagina a...', Object(Title), false)
 * 17) 16 ../includes/Linker.php(1509): Linker::formatComment('Nieuwe pagina a...', Object(Title), false)
 * 18) 17 ../includes/Linker.php(1532): Linker::commentBlock('Nieuwe pagina a...', Object(Title), false)
 * 19) 18 ../includes/actions/HistoryAction.php(610): Linker::revComment(Object(Revision), false, true)
 * 20) 19 ../includes/actions/HistoryAction.php(491): HistoryPager->historyLine(Object(stdClass), NULL, false, false, false)
 * 21) 20 ../includes/Pager.php(428): HistoryPager->getEndBody
 * 22) 21 ../includes/actions/HistoryAction.php(188): IndexPager->getBody
 * 23) 22 ../includes/Action.php(541): HistoryAction->onView
 * 24) 23 ../includes/Wiki.php(427): FormlessAction->show
 * 25) 24 ../includes/Wiki.php(304): MediaWiki->performAction(Object(Article))
 * 26) 25 ../includes/Wiki.php(536): MediaWiki->performRequest
 * 27) 26 ../includes/Wiki.php(446): MediaWiki->main
 * 28) 27 ../index.php(59): MediaWiki->run
 * 29) 28 {main}
 * - Arent (talk) 21:53, 18 January 2013 (UTC)