"Raymond" posted a comment on MediaWiki.r106752.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/106752#c28052

Commit summary for MediaWiki.r106752:

Merged FileBackend branch. Manually avoiding merging the many prop-only changes 
SVN likes to sprinkle in (easy to spot from the change list). Did not add 
SwiftFileBackend.php as it still is in development.

Raymond's comment:

from my LocalSettings.php:

<source lang=php>
$wgForeignFileRepos[] = array(
        'class'                  => 'ForeignAPIRepo',
        'name'                   => 'shared',
        'apibase'                => 'http://translatewiki.net/w/api.php',
        'fetchDescription'       => true, // Optional
        'descriptionCacheExpiry' => 3600,
);

$wgForeignFileRepos[] = array(
        'class'                  => 'ForeignAPIRepo',
        'name'                   => 'shared',
        'apibase'                => 'http://commons.wikimedia.org/w/api.php',
        'fetchDescription'       => true, // Optional
        'descriptionCacheExpiry' => 3600,
);
</source>

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to