From: Siebrand Mazeland Date: Sat, 19 Jul 2008 19:11:58 +0000 (+0000) Subject: Add descriptionCacheExpiry to configuration example to avoid 2 notices. X-Git-Tag: 1.31.0-rc.0~46441 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=6882f529a0493fd6a95b6455e251a01dd671dd17;p=lhc%2Fweb%2Fwiklou.git Add descriptionCacheExpiry to configuration example to avoid 2 notices. Notice: Undefined property: ForeignAPIRepo::$descriptionCacheExpiry in includes/filerepo/File.php on line 1071 Notice: Undefined property: ForeignAPIRepo::$descriptionCacheExpiry in includes/filerepo/File.php on line 1083 --- diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 2315253a71..0dee699fb5 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -8,10 +8,11 @@ * Example config: * * $wgForeignFileRepos[] = array( - * 'class' => 'ForeignAPIRepo', - * 'name' => 'shared', - * 'apibase' => 'http://en.wikipedia.org/w/api.php', - * 'fetchDescription' => true, // Optional + * 'class' => 'ForeignAPIRepo', + * 'name' => 'shared', + * 'apibase' => 'http://en.wikipedia.org/w/api.php', + * 'fetchDescription' => true, // Optional + * 'descriptionCacheExpiry' => 3600, * ); * * @ingroup FileRepo